diff options
author | Varka Bhadram <varkabhadram@gmail.com> | 2015-05-26 23:40:54 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-05-27 07:29:25 -0400 |
commit | 0f999b09f5c1b135e840501840dbcd01fad66f79 (patch) | |
tree | 1f632df3dee5995e7a0f4b39b7dc4739b54f5702 /include/net/cfg802154.h | |
parent | fc4f80524368dbf3fa2eba639c7b79bb014aea0a (diff) |
ieee802154: add set transmit power support
This patch adds transmission power setting support for IEEE-802.15.4
devices via nl802154.
Signed-off-by: Varka Bhadram <varkab@cdac.in>
Acked-by: Alexander Aring <alex.aring@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 4de59aa96173..2e3bb012c2ff 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_tx_power)(struct wpan_phy *wpan_phy, s32 power); | ||
47 | int (*set_pan_id)(struct wpan_phy *wpan_phy, | 48 | int (*set_pan_id)(struct wpan_phy *wpan_phy, |
48 | struct wpan_dev *wpan_dev, __le16 pan_id); | 49 | struct wpan_dev *wpan_dev, __le16 pan_id); |
49 | int (*set_short_addr)(struct wpan_phy *wpan_phy, | 50 | int (*set_short_addr)(struct wpan_phy *wpan_phy, |