summaryrefslogtreecommitdiffstats
path: root/include/net
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
parentieee802154: cleanup cfg802154 intendation (diff)
downloadlinux-ab0bd561724bf3c09aa80e76ca0a187c6880bc5c.tar.xz
linux-ab0bd561724bf3c09aa80e76ca0a187c6880bc5c.zip
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')
-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 8a3edc5edad1..391fdb37208d 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 {