diff options
author | Aviya Erenfeld <aviya.erenfeld@intel.com> | 2016-08-29 23:25:15 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-09-12 11:24:47 +0200 |
commit | d82121845d44334f5ec3c98906d1e4a592350beb (patch) | |
tree | ab061cce133bf16d5d85baedaaef370e5c4dd7ed /net/mac80211/ieee80211_i.h | |
parent | 5a1f044b5048e834f936fbb33a93e5d8410779ec (diff) | |
download | linux-d82121845d44334f5ec3c98906d1e4a592350beb.tar.gz linux-d82121845d44334f5ec3c98906d1e4a592350beb.tar.bz2 linux-d82121845d44334f5ec3c98906d1e4a592350beb.zip |
mac80211: refactor monitor representation in sdata
Insert the u32 monitor flags variable in a new structure
that represents a monitor interface.
This will allow to add more configuration variables to
that structure which will happen in an upcoming change.
Signed-off-by: Aviya Erenfeld <aviya.erenfeld@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index f56d342c31b8..9211cce10d3e 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -824,6 +824,10 @@ struct txq_info { struct ieee80211_txq txq; }; +struct ieee80211_if_mntr { + u32 flags; +}; + struct ieee80211_sub_if_data { struct list_head list; @@ -922,7 +926,7 @@ struct ieee80211_sub_if_data { struct ieee80211_if_ibss ibss; struct ieee80211_if_mesh mesh; struct ieee80211_if_ocb ocb; - u32 mntr_flags; + struct ieee80211_if_mntr mntr; } u; #ifdef CONFIG_MAC80211_DEBUGFS |