diff options
author | Bing Zhao <bzhao@marvell.com> | 2014-02-07 16:21:00 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:36:10 -0500 |
commit | 406d702b47a23506b944d8377647352e25f68ea1 (patch) | |
tree | 78694610d8744236fa6f0d58e69d86c15ccdfb7b /drivers/net/wireless/mwifiex/cfg80211.c | |
parent | 89467d8ca21b4c62ab1acbadd09e725d2cd410be (diff) | |
download | blackbird-op-linux-406d702b47a23506b944d8377647352e25f68ea1.tar.gz blackbird-op-linux-406d702b47a23506b944d8377647352e25f68ea1.zip |
mwifiex: improve readability in 11ac mcsmap to maxrate conversion
1) rename max_mcs to mcs;
2) initialize 'i' and 'nss' as 1 instead of 0 in nss lookup;
3) use GET_VHTNSSMCS(mcs_map, nss) macro;
4) use IEEE80211_VHT_MCS_* definitions instead of hard coding
Reported-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/cfg80211.c')
0 files changed, 0 insertions, 0 deletions