diff options
| author | 2014-11-12 03:36:59 +0100 | |
|---|---|---|
| committer | 2014-11-12 05:10:40 +0100 | |
| commit | 656a999e8701c1e3d17040f051d3a080ec6c710c (patch) | |
| tree | a20af2f92a05c2ab17410be17c3b563fd6f72afb /include | |
| parent | ieee820154: add short_addr setting support (diff) | |
| download | linux-dev-656a999e8701c1e3d17040f051d3a080ec6c710c.tar.xz linux-dev-656a999e8701c1e3d17040f051d3a080ec6c710c.zip | |
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')
| -rw-r--r-- | include/net/cfg802154.h | 3 |
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 { struct wpan_dev *wpan_dev, u16 pan_id); int (*set_short_addr)(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev, u16 short_addr); + int (*set_backoff_exponent)(struct wpan_phy *wpan_phy, + struct wpan_dev *wpan_dev, u8 min_be, + u8 max_be); }; struct wpan_phy { |
