rtw89: fix HE PHY bandwidth capability
authorJohannes Berg <johannes.berg@intel.com>
Tue, 1 Mar 2022 00:43:31 +0000 (08:43 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 9 Mar 2022 11:39:23 +0000 (13:39 +0200)
commit517eed92bca2f66a894a53a38902bf1a06eefeb0
treeb1fe4d37abd1598edce3bb024564b82799f07fb9
parent7bfd05ff4e805d017940e889b7a91014c7b6f9e6
rtw89: fix HE PHY bandwidth capability

Bit 2 and 3 are reserved on 5/6 GHz and bit 1 is reserved on 2.4 GHz,
so the driver should only set the non-reserved bits according
to band.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220301004331.6621-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c