summaryrefslogtreecommitdiffstats
path: root/include/net/cfg802154.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-11 21:36:59 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-11-11 23:10:40 -0500
commit656a999e8701c1e3d17040f051d3a080ec6c710c (patch)
treea20af2f92a05c2ab17410be17c3b563fd6f72afb /include/net/cfg802154.h
parent9830c62a0b3d57d9d00880989cfe987f581bc03f (diff)
ieee820154: add backoff exponent setting support
This patch adds support for setting backoff exponents via nl802154 framework. Signed-off-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h
index e8a4c2b70720..27e98d10fb2c 100644
--- a/include/net/cfg802154.h
+++ b/include/net/cfg802154.h
@@ -42,6 +42,9 @@ struct cfg802154_ops {
42 struct wpan_dev *wpan_dev, u16 pan_id); 42 struct wpan_dev *wpan_dev, u16 pan_id);
43 int (*set_short_addr)(struct wpan_phy *wpan_phy, 43 int (*set_short_addr)(struct wpan_phy *wpan_phy,
44 struct wpan_dev *wpan_dev, u16 short_addr); 44 struct wpan_dev *wpan_dev, u16 short_addr);
45 int (*set_backoff_exponent)(struct wpan_phy *wpan_phy,
46 struct wpan_dev *wpan_dev, u8 min_be,
47 u8 max_be);
45}; 48};
46 49
47struct wpan_phy { 50struct wpan_phy {