rtw89: read RX bandwidth from v1 type RX descriptor
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 18 Mar 2022 02:32:14 +0000 (10:32 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 6 Apr 2022 07:48:16 +0000 (10:48 +0300)
commit84fc6999f0d01920687d8555e3f1bb87625a66ed
treed2af21d5fe454b913058bca26b861db4982b05e2
parent79a6c9a4f3c4473dd508a7384ae328bf683b7382
rtw89: read RX bandwidth from v1 type RX descriptor

8852C uses different fields to represent RX bandwidth. Since other fields
are the same, I check chip_id to get bandwidth instead of creating another
v1 function.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220318023214.32411-12-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/txrx.h