summaryrefslogtreecommitdiffstats
path: root/include/net/cfg802154.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-12 03:36:55 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-11-12 05:10:38 +0100
commitab0bd561724bf3c09aa80e76ca0a187c6880bc5c (patch)
tree0a76f4758dab960dbee5ab1f8577bd452adb948b /include/net/cfg802154.h
parent9d30a8cf98b2dd132d6e4503718df78ffc1b7f53 (diff)
downloadop-kernel-dev-ab0bd561724bf3c09aa80e76ca0a187c6880bc5c.zip
op-kernel-dev-ab0bd561724bf3c09aa80e76ca0a187c6880bc5c.tar.gz
ieee820154: add channel set support
This patch adds page and channel setting support to 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h
index 8a3edc5..391fdb3 100644
--- a/include/net/cfg802154.h
+++ b/include/net/cfg802154.h
@@ -37,6 +37,7 @@ struct cfg802154_ops {
int type);
void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
struct net_device *dev);
+ int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel);
};
struct wpan_phy {
OpenPOWER on IntegriCloud