diff options
author | Po-Hao Huang <phhuang@realtek.com> | 2025-05-05 10:24:38 +0300 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-05-10 03:58:08 +0300 |
commit | 18dab90f56531863611fd6b090c4f6e513fe35cf (patch) | |
tree | 61f4fd2edfd108825a0de7b1b54610cc0ab0b71a | |
parent | 0c400c0a687d2680e533fb0089cf42c967395c6e (diff) | |
download | linux-18dab90f56531863611fd6b090c4f6e513fe35cf.tar.xz |
wifi: rtw89: debug: add FW log component for MLO
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
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/fw.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/fw.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c index deb4fb21d0e0..76350351dfb2 100644 --- a/drivers/net/wireless/realtek/rtw89/fw.c +++ b/drivers/net/wireless/realtek/rtw89/fw.c @@ -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) { diff --git a/drivers/net/wireless/realtek/rtw89/fw.h b/drivers/net/wireless/realtek/rtw89/fw.h index 207ec88ea456..0fcc824e41be 100644 --- a/drivers/net/wireless/realtek/rtw89/fw.h +++ b/drivers/net/wireless/realtek/rtw89/fw.h @@ -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, }; |