diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-05-27 07:42:10 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-05-27 13:29:42 -0400 |
commit | b69644c1c72e179738dd5c7e52e99d8550189472 (patch) | |
tree | d211eea2d8c51db2e8cac0c2aa00bd4b2b9d243c /include/net/cfg802154.h | |
parent | e4390592a4fc3ee10a8bc4742197fdbac3935f74 (diff) |
nl802154: add support to set cca ed level
This patch adds support for setting the current cca ed level value over
nl802154.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reviewed-by: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/cfg802154.h')
-rw-r--r-- | include/net/cfg802154.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index 2e3bb012c2ff..290a9a69af07 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h | |||
@@ -44,6 +44,7 @@ struct cfg802154_ops { | |||
44 | int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel); | 44 | int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel); |
45 | int (*set_cca_mode)(struct wpan_phy *wpan_phy, | 45 | int (*set_cca_mode)(struct wpan_phy *wpan_phy, |
46 | const struct wpan_phy_cca *cca); | 46 | const struct wpan_phy_cca *cca); |
47 | int (*set_cca_ed_level)(struct wpan_phy *wpan_phy, s32 ed_level); | ||
47 | int (*set_tx_power)(struct wpan_phy *wpan_phy, s32 power); | 48 | int (*set_tx_power)(struct wpan_phy *wpan_phy, s32 power); |
48 | int (*set_pan_id)(struct wpan_phy *wpan_phy, | 49 | int (*set_pan_id)(struct wpan_phy *wpan_phy, |
49 | struct wpan_dev *wpan_dev, __le16 pan_id); | 50 | struct wpan_dev *wpan_dev, __le16 pan_id); |