aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2014-10-08 02:48:36 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-10-09 05:30:08 -0400
commite9a21949b79414dda42a017855b288901c07e613 (patch)
tree0c8b19de0f1b906c4a7e0072b056c454a2238b2f /net/mac80211/ieee80211_i.h
parent2ba45384e5426b9a4aeb77656dce0bf3250ce54e (diff)
mac80211: add extended channel switching capability if the driver supports CSA
The Extended Channel Switching capability bit in the extended capabilities element must be set if the driver supports CSA on non-beaconing interfaces. Since this capability needs to be set during driver registration, the extended_capabiliities global variable needs to be moved to the local structure so that it can be modified. Signed-off-by: Luciano 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index c2aaec4dfcf0..a9cc49128980 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1307,6 +1307,9 @@ struct ieee80211_local {
1307 /* virtual monitor interface */ 1307 /* virtual monitor interface */
1308 struct ieee80211_sub_if_data __rcu *monitor_sdata; 1308 struct ieee80211_sub_if_data __rcu *monitor_sdata;
1309 struct cfg80211_chan_def monitor_chandef; 1309 struct cfg80211_chan_def monitor_chandef;
1310
1311 /* extended capabilities provided by mac80211 */
1312 u8 ext_capa[8];
1310}; 1313};
1311 1314
1312static inline struct ieee80211_sub_if_data * 1315static inline struct ieee80211_sub_if_data *