linux_dsm_epyc7002/drivers/net/wireless/realtek
Ping-Ke Shih 35a68fa5f9 rtw88: fix rate mask for 1SS chip
The rate mask is used to tell firmware the supported rate depends on
negotiation. We loop 2 times for all VHT/HT 2SS rate mask first, and then
only keep the part according to chip's NSS.

This commit fixes the logic error of '&' operations for VHT/HT rate, and
we should run this logic before adding legacy rate.

To access HT MCS map, index 0/1 represent MCS 0-7/8-15 respectively. Use
NL80211_BAND_xxx is incorrect, so fix it as well.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-01-26 17:38:05 +02:00
..
rtl8xxxu rtl8xxxu: fix interface sanity check 2019-12-18 21:06:05 +02:00
rtl818x rtlwifi: rtl8225se: remove some unused const variables 2019-11-06 19:56:32 +02:00
rtlwifi rtlwifi: rtl8192de: use generic rtl_signal_scale_mapping 2019-12-18 21:06:53 +02:00
rtw88 rtw88: fix rate mask for 1SS chip 2020-01-26 17:38:05 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00