]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: Fix VHT NSS in RC
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 29 Jan 2018 03:26:37 +0000 (11:26 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:15:23 +0000 (18:15 +0200)
commit68a34682627a566fe76374d49868114884238a85
tree8027ac48081b996cde811642247fecfb46d1e0b8
parenta3abb3d5840d4a2ae7be1d3b2ada3df54b1ea457
rtlwifi: Fix VHT NSS in RC

NSS is a argument of highest rate in RC, and it occupies bit 4-7 so use
ieee80211_rate_set_vht() to fill the values. Since it got correct rate
index, we don't need to check chips to assign NSS in set function anymore.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rc.c