aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 28c5d514e6d5..ef633a041dab 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -277,6 +277,14 @@ struct ieee80211_if_sta {
277}; 277};
278 278
279 279
280/* flags used in struct ieee80211_sub_if_data.flags */
281#define IEEE80211_SDATA_ALLMULTI BIT(0)
282#define IEEE80211_SDATA_PROMISC BIT(1)
283#define IEEE80211_SDATA_USE_PROTECTION BIT(2) /* CTS protect ERP frames */
284/* use short preamble with IEEE 802.11b: this flag is set when the AP or beacon
285 * generator reports that there are no present stations that cannot support short
286 * preambles */
287#define IEEE80211_SDATA_SHORT_PREAMBLE BIT(3)
280struct ieee80211_sub_if_data { 288struct ieee80211_sub_if_data {
281 struct list_head list; 289 struct list_head list;
282 unsigned int type; 290 unsigned int type;
@@ -287,14 +295,8 @@ struct ieee80211_sub_if_data {
287 struct ieee80211_local *local; 295 struct ieee80211_local *local;
288 296
289 int mc_count; 297 int mc_count;
290 unsigned int allmulti:1; 298
291 unsigned int promisc:1; 299 unsigned int flags;
292 unsigned int use_protection:1; /* CTS protect ERP frames */
293
294 /* use short preamble with IEEE 802.11b: this flag is set when the AP
295 * or beacon generator reports that there are no present stations that
296 * cannot support short preambles */
297 unsigned int short_preamble:1;
298 300
299 struct net_device_stats stats; 301 struct net_device_stats stats;
300 int drop_unencrypted; 302 int drop_unencrypted;