]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: rtw89: debug: add MLD table dump
authorPo-Hao Huang <phhuang@realtek.com>
Mon, 5 May 2025 07:24:37 +0000 (15:24 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Sat, 10 May 2025 00:57:01 +0000 (08:57 +0800)
Add definition for MLD table dump, this is for debug purpose only.

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-9-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.h
drivers/net/wireless/realtek/rtw89/mac_be.c

index e1083b0f81369b7ce09e02bbf3ae8ef5119efac7..8013c852d5bedb8fec567fd1581f61b74f360506 100644 (file)
@@ -370,6 +370,7 @@ enum rtw89_mac_mem_sel {
        RTW89_MAC_MEM_TXD_FIFO_0_V1,
        RTW89_MAC_MEM_TXD_FIFO_1_V1,
        RTW89_MAC_MEM_WD_PAGE,
+       RTW89_MAC_MEM_MLD_TBL,
 
        /* keep last */
        RTW89_MAC_MEM_NUM,
index a1ba6ca431d7489830e16be2b12a37c11550ba0d..8c9d326dc907b16d3231c707c186b018794ae5eb 100644 (file)
@@ -29,6 +29,7 @@ static const u32 rtw89_mac_mem_base_addrs_be[RTW89_MAC_MEM_NUM] = {
        [RTW89_MAC_MEM_CPU_LOCAL]       = CPU_LOCAL_BASE_ADDR_BE,
        [RTW89_MAC_MEM_BSSID_CAM]       = BSSID_CAM_BASE_ADDR_BE,
        [RTW89_MAC_MEM_WD_PAGE]         = WD_PAGE_BASE_ADDR_BE,
+       [RTW89_MAC_MEM_MLD_TBL]         = MLD_TBL_BASE_ADDR_BE,
 };
 
 static const struct rtw89_port_reg rtw89_port_base_be = {