diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 199d64143b41..52f36ab1ee57 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -402,11 +402,25 @@ struct ieee80211_if_mesh { | |||
402 | do { } while (0) | 402 | do { } while (0) |
403 | #endif | 403 | #endif |
404 | 404 | ||
405 | /* flags used in struct ieee80211_sub_if_data.flags */ | 405 | /** |
406 | #define IEEE80211_SDATA_ALLMULTI BIT(0) | 406 | * enum ieee80211_sub_if_data_flags - virtual interface flags |
407 | #define IEEE80211_SDATA_PROMISC BIT(1) | 407 | * |
408 | #define IEEE80211_SDATA_USERSPACE_MLME BIT(2) | 408 | * @IEEE80211_SDATA_ALLMULTI: interface wants all multicast packets |
409 | #define IEEE80211_SDATA_OPERATING_GMODE BIT(3) | 409 | * @IEEE80211_SDATA_PROMISC: interface is promisc |
410 | * @IEEE80211_SDATA_USERSPACE_MLME: userspace MLME is active | ||
411 | * @IEEE80211_SDATA_OPERATING_GMODE: operating in G-only mode | ||
412 | * @IEEE80211_SDATA_DONT_BRIDGE_PACKETS: bridge packets between | ||
413 | * associated stations and deliver multicast frames both | ||
414 | * back to wireless media and to the local net stack. | ||
415 | */ | ||
416 | enum ieee80211_sub_if_data_flags { | ||
417 | IEEE80211_SDATA_ALLMULTI = BIT(0), | ||
418 | IEEE80211_SDATA_PROMISC = BIT(1), | ||
419 | IEEE80211_SDATA_USERSPACE_MLME = BIT(2), | ||
420 | IEEE80211_SDATA_OPERATING_GMODE = BIT(3), | ||
421 | IEEE80211_SDATA_DONT_BRIDGE_PACKETS = BIT(4), | ||
422 | }; | ||
423 | |||
410 | struct ieee80211_sub_if_data { | 424 | struct ieee80211_sub_if_data { |
411 | struct list_head list; | 425 | struct list_head list; |
412 | 426 | ||
@@ -635,10 +649,6 @@ struct ieee80211_local { | |||
635 | struct crypto_blkcipher *wep_rx_tfm; | 649 | struct crypto_blkcipher *wep_rx_tfm; |
636 | u32 wep_iv; | 650 | u32 wep_iv; |
637 | 651 | ||
638 | int bridge_packets; /* bridge packets between associated stations and | ||
639 | * deliver multicast frames both back to wireless | ||
640 | * media and to the local net stack */ | ||
641 | |||
642 | struct list_head interfaces; | 652 | struct list_head interfaces; |
643 | 653 | ||
644 | /* | 654 | /* |
@@ -726,7 +736,6 @@ struct ieee80211_local { | |||
726 | struct dentry *frequency; | 736 | struct dentry *frequency; |
727 | struct dentry *antenna_sel_tx; | 737 | struct dentry *antenna_sel_tx; |
728 | struct dentry *antenna_sel_rx; | 738 | struct dentry *antenna_sel_rx; |
729 | struct dentry *bridge_packets; | ||
730 | struct dentry *rts_threshold; | 739 | struct dentry *rts_threshold; |
731 | struct dentry *fragmentation_threshold; | 740 | struct dentry *fragmentation_threshold; |
732 | struct dentry *short_retry_limit; | 741 | struct dentry *short_retry_limit; |