diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-12-05 16:45:31 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-12-06 14:02:51 +0100 |
commit | 01331040e6442ad09181bfaacd8bb9687dce2389 (patch) | |
tree | d9ef780912619ddb4217b9807063bcf8e6ed03c3 /drivers/net/wireless | |
parent | 815b8092bd5242d580038213da9179a5a4f69116 (diff) | |
download | blackbird-op-linux-01331040e6442ad09181bfaacd8bb9687dce2389.tar.gz blackbird-op-linux-01331040e6442ad09181bfaacd8bb9687dce2389.zip |
wireless: fix VHT max AMPDU exponent definition
This is really a 3-bit field, not a single bit,
so declare a mask and shift. Also fix hwsim, it
advertises the maximum possible.
While at it reindent all the defines using tabs
instead of spaces.
Change-Id: I7cd81c0d72f76deb5010aba5bfa3dd312006e898
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 8a61dbd320e6..ff9085502bea 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2223,7 +2223,7 @@ static int __init init_mac80211_hwsim(void) IEEE80211_VHT_CAP_RXSTBC_2 | IEEE80211_VHT_CAP_RXSTBC_3 | IEEE80211_VHT_CAP_RXSTBC_4 | - IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT; + IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK; sband->vht_cap.vht_mcs.rx_mcs_map = cpu_to_le16(IEEE80211_VHT_MCS_SUPPORT_0_8 << 0 | IEEE80211_VHT_MCS_SUPPORT_0_8 << 2 | |