diff options
author | Peng Xu <pxu@codeaurora.org> | 2017-01-30 14:57:38 -0800 |
---|---|---|
committer | Peng Xu <pxu@codeaurora.org> | 2017-02-01 15:03:43 -0800 |
commit | 6b12cd44ae43e7df40cfdd964ce3fd6a664cc0b1 (patch) | |
tree | a713ada86d74c2281af7291be16730afed546a28 /net | |
parent | 314869eb56763d34f91d5483b0d510267894fadd (diff) |
cfg80211: add bitrate for 20MHz MCS 9
Some drivers (ath10k) report MCS 9 @ 20MHz, which
technically isn't defined. To get more meaningful value
than 0 out of this however, just extrapolate a bitrate
from ratio of MCS 7 and 9 in channels where it is allowed.
Change-Id: Ia54fce85b570715e705f67bd463c4a219ff71af2
CRs-fixed: 1116687
Signed-off-by: Thomas Pedersen <twp@qca.qualcomm.com>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: greearb@candelatech.com
Cc: Thomas Pedersen <twp@qca.qualcomm.com>
Patch-mainline: linux-wireless @ 09/10/16, 23:35
Signed-off-by: Peng Xu <pxu@codeaurora.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c index ef394e8a42bc..00f5cededd38 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -1080,7 +1080,7 @@ static u32 cfg80211_calculate_bitrate_vht(struct rate_info *rate) 58500000, 65000000, 78000000, - 0, + 86500000, }, { 13500000, 27000000, |