diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 3e4ac3f30857..3468e378509a 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -58,6 +58,15 @@ struct ieee80211_local; | |||
58 | 58 | ||
59 | #define TU_TO_EXP_TIME(x) (jiffies + usecs_to_jiffies((x) * 1024)) | 59 | #define TU_TO_EXP_TIME(x) (jiffies + usecs_to_jiffies((x) * 1024)) |
60 | 60 | ||
61 | #define IEEE80211_DEFAULT_UAPSD_QUEUES \ | ||
62 | (IEEE80211_WMM_IE_STA_QOSINFO_AC_BK | \ | ||
63 | IEEE80211_WMM_IE_STA_QOSINFO_AC_BE | \ | ||
64 | IEEE80211_WMM_IE_STA_QOSINFO_AC_VI | \ | ||
65 | IEEE80211_WMM_IE_STA_QOSINFO_AC_VO) | ||
66 | |||
67 | #define IEEE80211_DEFAULT_MAX_SP_LEN \ | ||
68 | IEEE80211_WMM_IE_STA_QOSINFO_SP_ALL | ||
69 | |||
61 | struct ieee80211_fragment_entry { | 70 | struct ieee80211_fragment_entry { |
62 | unsigned long first_frag_time; | 71 | unsigned long first_frag_time; |
63 | unsigned int seq; | 72 | unsigned int seq; |
@@ -78,6 +87,7 @@ struct ieee80211_bss { | |||
78 | u8 dtim_period; | 87 | u8 dtim_period; |
79 | 88 | ||
80 | bool wmm_used; | 89 | bool wmm_used; |
90 | bool uapsd_supported; | ||
81 | 91 | ||
82 | unsigned long last_probe_resp; | 92 | unsigned long last_probe_resp; |
83 | 93 | ||
@@ -285,7 +295,7 @@ struct ieee80211_work { | |||
285 | u8 ssid[IEEE80211_MAX_SSID_LEN]; | 295 | u8 ssid[IEEE80211_MAX_SSID_LEN]; |
286 | u8 ssid_len; | 296 | u8 ssid_len; |
287 | u8 supp_rates_len; | 297 | u8 supp_rates_len; |
288 | bool wmm_used, use_11n; | 298 | bool wmm_used, use_11n, uapsd_used; |
289 | } assoc; | 299 | } assoc; |
290 | struct { | 300 | struct { |
291 | u32 duration; | 301 | u32 duration; |
@@ -306,6 +316,7 @@ enum ieee80211_sta_flags { | |||
306 | IEEE80211_STA_DISABLE_11N = BIT(4), | 316 | IEEE80211_STA_DISABLE_11N = BIT(4), |
307 | IEEE80211_STA_CSA_RECEIVED = BIT(5), | 317 | IEEE80211_STA_CSA_RECEIVED = BIT(5), |
308 | IEEE80211_STA_MFP_ENABLED = BIT(6), | 318 | IEEE80211_STA_MFP_ENABLED = BIT(6), |
319 | IEEE80211_STA_UAPSD_ENABLED = BIT(7), | ||
309 | }; | 320 | }; |
310 | 321 | ||
311 | struct ieee80211_if_managed { | 322 | struct ieee80211_if_managed { |