summaryrefslogtreecommitdiffstats
path: root/include/net/cfg802154.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-11 21:37:01 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-11-11 23:10:41 -0500
commita01ba7652cda5602b248efff168450ec658640b8 (patch)
tree7996fe317a9b6fd68114fba957b547abf3c2d9c2 /include/net/cfg802154.h
parenta8d352d458bba4603abd996e541c7f206a101f26 (diff)
ieee820154: add max csma backoffs setting support
This patch add support for max csma backoffs setting 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 27e98d10fb2c..79b9ae0abb3b 100644
--- a/include/net/cfg802154.h
+++ b/include/net/cfg802154.h
@@ -45,6 +45,9 @@ struct cfg802154_ops {
45 int (*set_backoff_exponent)(struct wpan_phy *wpan_phy, 45 int (*set_backoff_exponent)(struct wpan_phy *wpan_phy,
46 struct wpan_dev *wpan_dev, u8 min_be, 46 struct wpan_dev *wpan_dev, u8 min_be,
47 u8 max_be); 47 u8 max_be);
48 int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy,
49 struct wpan_dev *wpan_dev,
50 u8 max_csma_backoffs);
48}; 51};
49 52
50struct wpan_phy { 53struct wpan_phy {