summaryrefslogtreecommitdiffstats
path: root/net/mac802154/ieee802154_i.h
diff options
context:
space:
mode:
authorAlexander Aring2014-11-05 20:51:20 +0100
committerMarcel Holtmann2014-11-05 21:53:04 +0100
commit7c118c1a866454cf2091fd84404d0915a27b0eef (patch)
tree1fb04fdec86c490a8f7a30e07440c1cbc16c902f /net/mac802154/ieee802154_i.h
parentmac802154: add default interface registration (diff)
downloadkernel-qcow2-linux-7c118c1a866454cf2091fd84404d0915a27b0eef.tar.gz
kernel-qcow2-linux-7c118c1a866454cf2091fd84404d0915a27b0eef.tar.xz
kernel-qcow2-linux-7c118c1a866454cf2091fd84404d0915a27b0eef.zip
mac802154: add ieee802154_vif struct
This patch adds an ieee802154_vif similar like the ieee80211_vif which holds the interface type and maybe further more attributes like the ieee80211_vif structure. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Cc: Varka Bhadram <varkabhadram@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/ieee802154_i.h')
-rw-r--r--net/mac802154/ieee802154_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac802154/ieee802154_i.h b/net/mac802154/ieee802154_i.h
index 748dc5afe367..931f8516cee6 100644
--- a/net/mac802154/ieee802154_i.h
+++ b/net/mac802154/ieee802154_i.h
@@ -79,7 +79,6 @@ struct ieee802154_sub_if_data {
struct ieee802154_local *local;
struct net_device *dev;
- int type;
unsigned long state;
char name[IFNAMSIZ];
@@ -103,6 +102,8 @@ struct ieee802154_sub_if_data {
struct mutex sec_mtx;
struct mac802154_llsec sec;
+ /* must be last, dynamically sized area in this! */
+ struct ieee802154_vif vif;
};
#define MAC802154_CHAN_NONE 0xff /* No channel is assigned */