OSDN Git Service

wifi: rtw89: add H2C RA command V1 to support WiFi 7 chips
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 28 Jul 2023 07:02:47 +0000 (15:02 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 1 Aug 2023 14:44:35 +0000 (17:44 +0300)
commitc97683ff01a47d0dcd7092c5e7d39685910262a1
tree702b7aa2f9c608183e607ea9f4d549dbc61ad374
parent401b0c161b09682aa633aa7e2cf996a26a67f46c
wifi: rtw89: add H2C RA command V1 to support WiFi 7 chips

H2C RA V1 command adds two words to support WiFi 7 chips, which can
possibly support up to 4SS rates. Because current chips have only 2SS
rates, leave the fields blank for now. The main changes are to set
extended bits of EHT mode and bandwidth -- add a bit for EHT mode; add a
bit to enumerate 320MHz channel bandwidth.

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