wifi: rtw89: add chip_info::chip_gen to determine chip generation
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 28 Jul 2023 07:02:43 +0000 (15:02 +0800)
committerKalle Valo <kvalo@kernel.org>
Tue, 1 Aug 2023 14:44:34 +0000 (17:44 +0300)
commitf698afa7ce374d41d8c2d145b11983800acd32d1
tree413c4435304b1a473b64ec03c36065fe4514a35e
parent942999c48cb382feb53c6da7679a994c97963836
wifi: rtw89: add chip_info::chip_gen to determine chip generation

The coming WiFi 7 chip is 8922AE which uses different hardware rate and
register naming rule. Adding a chip_info::chip_gen field can help to
do things by generations accordingly.

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-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/rtw8851b.c
drivers/net/wireless/realtek/rtw89/rtw8852a.c
drivers/net/wireless/realtek/rtw89/rtw8852b.c
drivers/net/wireless/realtek/rtw89/rtw8852c.c