diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-11-09 10:36:50 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-09 21:50:28 +0300 |
commit | fcf39e6e88e9492f6688ec8ba4e1be622b904232 (patch) | |
tree | ae87d1f093f7b8baa69cc438af36d14ba1866abe /include/net/cfg802154.h | |
parent | 190ac1ca33442dc25a172ece0f34746a7e1514f3 (diff) | |
download | linux-fcf39e6e88e9492f6688ec8ba4e1be622b904232.tar.xz |
ieee802154: add wpan_dev_list
This patch adds a wpan_dev_list list into cfg802154_registered_device
struct. Also adding new wpan_dev into this list while
cfg802154_netdev_notifier_call. This behaviour is mostly grab from
wireless core.c implementation and is needed for preparing 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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/cfg802154.h b/include/net/cfg802154.h index 7e1bc21423b0..e5570e011116 100644 --- a/include/net/cfg802154.h +++ b/include/net/cfg802154.h @@ -66,6 +66,12 @@ struct wpan_dev { struct wpan_phy *wpan_phy; int iftype; + /* the remainder of this struct should be private to cfg802154 */ + struct list_head list; + struct net_device *netdev; + + u32 identifier; + /* MAC PIB */ __le16 pan_id; __le16 short_addr; |