Add many PHY stuffs to support coming WiFi 7 chips: Add to parse parameters of RX gain from firmware file, and then set these values to registers according to specified channel. Update registers and logic to share DIG flow with WiFi 7. Set TX power registers called BB wrapper because these registers are used by BB but resides in MAC register domain. WiFi 7 chips have additional settings of channel info to get desired reports. A set of NCTL pre-settings ops is introduced to configure conditional settings before loading parameters from firmware file. Parameters could contain a special value (0xbabecafe) as a dummy, so exclude it accordingly. Cheng-Chieh Hsieh (1): wifi: rtw89: 8922a: update the register used in DIG and the DIG flow Chung-Hsuan Hung (2): wifi: rtw89: phy: add parser to support RX gain dynamic setting flow wifi: rtw89: 8922a: set RX gain along with set_channel operation Ping-Ke Shih (5): wifi: rtw89: phy: move bb_gain_info used by WiFi 6 chips to union wifi: rtw89: phy: ignore special data from BB parameter file wifi: rtw89: 8922a: add NCTL pre-settings for WiFi 7 chips wifi: rtw89: phy: add BB wrapper of TX power for WiFi 7 chips wifi: rtw89: phy: set channel_info for WiFi 7 chips drivers/net/wireless/realtek/rtw89/core.h | 69 +++- drivers/net/wireless/realtek/rtw89/phy.c | 45 ++- drivers/net/wireless/realtek/rtw89/phy.h | 62 ++++ drivers/net/wireless/realtek/rtw89/phy_be.c | 312 ++++++++++++++++++ drivers/net/wireless/realtek/rtw89/reg.h | 79 +++++ drivers/net/wireless/realtek/rtw89/rtw8851b.c | 4 +- drivers/net/wireless/realtek/rtw89/rtw8852b.c | 4 +- drivers/net/wireless/realtek/rtw89/rtw8852c.c | 2 +- drivers/net/wireless/realtek/rtw89/rtw8922a.c | 209 ++++++++++++ 9 files changed, 767 insertions(+), 19 deletions(-) -- 2.25.1