diff options
author | Alexander Bondar <alexander.bondar@intel.com> | 2013-01-22 09:52:23 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-25 09:43:05 -0400 |
commit | 219c38674c262378ec411dd8318ebfd199fbce8d (patch) | |
tree | ebe6f4a191c5ddf4286b195a35e709bf1228af7f /net/mac80211/main.c | |
parent | c3ffeab4345830aadfc78444933754330f1339e7 (diff) |
mac80211: allow drivers to set default uAPSD parameters
mac80211 currently sets uAPSD parameters to have VO AC trigger-
and delivery-enabled, with maximum service period length.
Allow drivers to change these default settings since different
uAPSD client implementations may handle errors differently and
be able to recover from some errors.
Note: some APs may not function correctly if one or all ACs are
trigger- and delivery-enabled, see
http://thread.gmane.org/gmane.linux.kernel.wireless.general/93577.
We retested with this AP and later firmware doesn't have this
bug any more.
Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index c6f81ecc36a1..b0d286821864 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -587,6 +587,8 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, | |||
587 | IEEE80211_RADIOTAP_MCS_HAVE_BW; | 587 | IEEE80211_RADIOTAP_MCS_HAVE_BW; |
588 | local->hw.radiotap_vht_details = IEEE80211_RADIOTAP_VHT_KNOWN_GI | | 588 | local->hw.radiotap_vht_details = IEEE80211_RADIOTAP_VHT_KNOWN_GI | |
589 | IEEE80211_RADIOTAP_VHT_KNOWN_BANDWIDTH; | 589 | IEEE80211_RADIOTAP_VHT_KNOWN_BANDWIDTH; |
590 | local->hw.uapsd_queues = IEEE80211_DEFAULT_UAPSD_QUEUES; | ||
591 | local->hw.uapsd_max_sp_len = IEEE80211_DEFAULT_MAX_SP_LEN; | ||
590 | local->user_power_level = IEEE80211_UNSET_POWER_LEVEL; | 592 | local->user_power_level = IEEE80211_UNSET_POWER_LEVEL; |
591 | wiphy->ht_capa_mod_mask = &mac80211_ht_capa_mod_mask; | 593 | wiphy->ht_capa_mod_mask = &mac80211_ht_capa_mod_mask; |
592 | wiphy->vht_capa_mod_mask = &mac80211_vht_capa_mod_mask; | 594 | wiphy->vht_capa_mod_mask = &mac80211_vht_capa_mod_mask; |