]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: phy: calling BB pre-init by chips with/without BB MCU
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 14 Nov 2025 06:01:18 +0000 (14:01 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 18 Nov 2025 01:18:51 +0000 (09:18 +0800)
commit12e84effcb6d6d2a58e03cb237c1100c817dd479
tree3b13c229964cad021d32c2720084c2a6372e6d0c
parenta2a64fe2346374940c8e8953b42c73983a84559b
wifi: rtw89: phy: calling BB pre-init by chips with/without BB MCU

The existing flow is doing BB pre-init before downloading BB MCU firmware,
because existing chip RTL8922A has BB MCU. However, the coming chips don't
have this, and BB pre-init configuring registers can affect downloading
WiFi-CPU firmware. Therefore, calling BB pre-init afterward for new coming
chips without BB MCU.

For existing WiFi 6 chips, no BB pre-init. For RTL8922A, don't change
the logic.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20251114060128.35363-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/mac.c