]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: rtw89: 8851b: rfk: extend DPK path_ok type to u8
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 27 Jun 2025 03:51:56 +0000 (11:51 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 4 Jul 2025 02:22:14 +0000 (10:22 +0800)
Originally the type of path_ok is bool to denote that DPK is ready on
certain path and can be enabled. For RTL8851B, hardware design can support
more than one calibration set, so use type u8 instead to record the
hardware set in current use.

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

index cdacf100a59ad47f51f2ff905ce4eb1abad2c5f5..06ceb77a1cc655c502630719fe61ae66b46e0ced 100644 (file)
@@ -5146,7 +5146,7 @@ struct rtw89_dpk_bkup_para {
        enum rtw89_band band;
        enum rtw89_bandwidth bw;
        u8 ch;
-       bool path_ok;
+       u8 path_ok;
        u8 mdpd_en;
        u8 txagc_dpk;
        u8 ther_dpk;