wifi: rtw89: phy: ignore special data from BB parameter file
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 5 Jan 2024 06:44:07 +0000 (14:44 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 10 Jan 2024 14:50:57 +0000 (16:50 +0200)
commit0377e2a77201f22bb7336b5671f3f43fc094b44a
tree9758809f2b75e6997fd04bf96a86e20f2e7bbb4d
parentd16f34b084d9734644932ca17812baec56fb0041
wifi: rtw89: phy: ignore special data from BB parameter file

BB parameter file is a list of tuple {addr, val} with conditional hardware
version. However, tuples within a condition can't be empty, so insert a
special dummy tuple for this case. Then, ignore this tuple when writing.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240105064407.36750-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/phy.c