]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a7126349be5bed92212555d643126a8c4ab7682
treed2af21d5fe454b913058bca26b861db4982b05e2
parent10730e2826966c1e9a6a7fe2c08732590e19d1a1
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