]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: rtw89: debug: add FW log component for MLO
authorPo-Hao Huang <phhuang@realtek.com>
Mon, 5 May 2025 07:24:38 +0000 (15:24 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Sat, 10 May 2025 00:58:08 +0000 (08:58 +0800)
This allows showing MLO related logs when FW debug mode is on.

Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250505072440.45113-10-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h

index deb4fb21d0e06a1c80f50d50431e3c1216973ad1..76350351dfb2b9eeb8d0d6e99e3824a57ef41a3b 100644 (file)
@@ -2510,7 +2510,7 @@ int rtw89_fw_h2c_fw_log(struct rtw89_dev *rtwdev, bool enable)
        if (enable)
                comp = BIT(RTW89_FW_LOG_COMP_INIT) | BIT(RTW89_FW_LOG_COMP_TASK) |
                       BIT(RTW89_FW_LOG_COMP_PS) | BIT(RTW89_FW_LOG_COMP_ERROR) |
-                      BIT(RTW89_FW_LOG_COMP_SCAN);
+                      BIT(RTW89_FW_LOG_COMP_MLO) | BIT(RTW89_FW_LOG_COMP_SCAN);
 
        skb = rtw89_fw_h2c_alloc_skb_with_hdr(rtwdev, H2C_LOG_CFG_LEN);
        if (!skb) {
index 207ec88ea45624cff11fb282fbcb81613ebc36a7..0fcc824e41be6dc9da9d6698befcc7580d523ab2 100644 (file)
@@ -199,6 +199,7 @@ enum rtw89_fw_log_comp {
        RTW89_FW_LOG_COMP_TWT,
        RTW89_FW_LOG_COMP_RF,
        RTW89_FW_LOG_COMP_MCC = 20,
+       RTW89_FW_LOG_COMP_MLO = 26,
        RTW89_FW_LOG_COMP_SCAN = 28,
 };