summaryrefslogtreecommitdiffstats
path: root/include/net/cfg802154.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-12 03:37:01 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-11-12 05:10:41 +0100
commita01ba7652cda5602b248efff168450ec658640b8 (patch)
tree7996fe317a9b6fd68114fba957b547abf3c2d9c2 /include/net/cfg802154.h
parenta8d352d458bba4603abd996e541c7f206a101f26 (diff)
downloadlinux-a01ba7652cda5602b248efff168450ec658640b8.tar.bz2
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 {
int (*set_backoff_exponent)(struct wpan_phy *wpan_phy,
struct wpan_dev *wpan_dev, u8 min_be,
u8 max_be);
+ int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy,
+ struct wpan_dev *wpan_dev,
+ u8 max_csma_backoffs);
};
struct wpan_phy {