diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-06-18 03:43:50 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-18 13:18:54 -0400 |
commit | d6a4ed6fe0a0d4790941e7f13e56630b8b9b053d (patch) | |
tree | d85c83217a1495d75fe9b5d22850c3fb62bb13f7 /net/mac80211/ieee80211_i.h | |
parent | 04800ada2acc3a9ffc754c1d73576cef326f3311 (diff) |
mac80211: set only VO as a U-APSD enabled AC
Some APs experience problems when working with U-APSD. Decrease the
probability of that happening by using legacy mode for all ACs but VO.
The AP that caused us troubles was a Cisco 4410N. It ignores our
setting, and always treats non-VO ACs as legacy.
Signed-off-by: Arik Nemtsov <arik@wizery.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.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index ddf768f6350e..34af2e5263c2 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 |