From: Ping-Ke Shih Date: Fri, 27 Jun 2025 03:51:56 +0000 (+0800) Subject: wifi: rtw89: 8851b: rfk: extend DPK path_ok type to u8 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=626afc6cd5369bbf3c4b487ab1bb87a7e5ff0b3b;p=users%2Fjedix%2Flinux-maple.git wifi: rtw89: 8851b: rfk: extend DPK path_ok type to u8 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 Link: https://patch.msgid.link/20250627035201.16416-2-pkshih@realtek.com --- diff --git a/drivers/net/wireless/realtek/rtw89/core.h b/drivers/net/wireless/realtek/rtw89/core.h index cdacf100a59ad..06ceb77a1cc65 100644 --- a/drivers/net/wireless/realtek/rtw89/core.h +++ b/drivers/net/wireless/realtek/rtw89/core.h @@ -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;