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.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index e6cbf5b68c89..36ce2bb066bf 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -55,11 +55,14 @@ struct ieee80211_local;
55#define TU_TO_JIFFIES(x) (usecs_to_jiffies((x) * 1024)) 55#define TU_TO_JIFFIES(x) (usecs_to_jiffies((x) * 1024))
56#define TU_TO_EXP_TIME(x) (jiffies + TU_TO_JIFFIES(x)) 56#define TU_TO_EXP_TIME(x) (jiffies + TU_TO_JIFFIES(x))
57 57
58/*
59 * Some APs experience problems when working with U-APSD. Decrease the
60 * probability of that happening by using legacy mode for all ACs but VO.
61 * The AP that caused us trouble was a Cisco 4410N. It ignores our
62 * setting, and always treats non-VO ACs as legacy.
63 */
58#define IEEE80211_DEFAULT_UAPSD_QUEUES \ 64#define IEEE80211_DEFAULT_UAPSD_QUEUES \
59 (IEEE80211_WMM_IE_STA_QOSINFO_AC_BK | \ 65 IEEE80211_WMM_IE_STA_QOSINFO_AC_VO
60 IEEE80211_WMM_IE_STA_QOSINFO_AC_BE | \
61 IEEE80211_WMM_IE_STA_QOSINFO_AC_VI | \
62 IEEE80211_WMM_IE_STA_QOSINFO_AC_VO)
63 66
64#define IEEE80211_DEFAULT_MAX_SP_LEN \ 67#define IEEE80211_DEFAULT_MAX_SP_LEN \
65 IEEE80211_WMM_IE_STA_QOSINFO_SP_ALL 68 IEEE80211_WMM_IE_STA_QOSINFO_SP_ALL
@@ -508,6 +511,7 @@ struct ieee80211_if_ibss {
508 bool privacy; 511 bool privacy;
509 512
510 bool control_port; 513 bool control_port;
514 unsigned int auth_frame_registrations;
511 515
512 u8 bssid[ETH_ALEN] __aligned(2); 516 u8 bssid[ETH_ALEN] __aligned(2);
513 u8 ssid[IEEE80211_MAX_SSID_LEN]; 517 u8 ssid[IEEE80211_MAX_SSID_LEN];
@@ -677,6 +681,9 @@ struct ieee80211_sub_if_data {
677 /* TID bitmap for NoAck policy */ 681 /* TID bitmap for NoAck policy */
678 u16 noack_map; 682 u16 noack_map;
679 683
684 /* bit field of ACM bits (BIT(802.1D tag)) */
685 u8 wmm_acm;
686
680 struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS]; 687 struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];
681 struct ieee80211_key __rcu *default_unicast_key; 688 struct ieee80211_key __rcu *default_unicast_key;
682 struct ieee80211_key __rcu *default_multicast_key; 689 struct ieee80211_key __rcu *default_multicast_key;
@@ -881,6 +888,9 @@ struct ieee80211_local {
881 /* device is started */ 888 /* device is started */
882 bool started; 889 bool started;
883 890
891 /* device is during a HW reconfig */
892 bool in_reconfig;
893
884 /* wowlan is enabled -- don't reconfig on resume */ 894 /* wowlan is enabled -- don't reconfig on resume */
885 bool wowlan; 895 bool wowlan;
886 896
@@ -1019,7 +1029,6 @@ struct ieee80211_local {
1019 int total_ps_buffered; /* total number of all buffered unicast and 1029 int total_ps_buffered; /* total number of all buffered unicast and
1020 * multicast packets for power saving stations 1030 * multicast packets for power saving stations
1021 */ 1031 */
1022 unsigned int wmm_acm; /* bit field of ACM bits (BIT(802.1D tag)) */
1023 1032
1024 bool pspolling; 1033 bool pspolling;
1025 bool offchannel_ps_enabled; 1034 bool offchannel_ps_enabled;