wifi: rtw89: add use of pkt_list offload to debug entry
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 23 Jan 2023 06:53:58 +0000 (14:53 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 13 Feb 2023 17:17:35 +0000 (19:17 +0200)
commit5da5ba7e6ec4f13c2abba8de3578a3c197925243
tree38d2a6b569b6e43365397b35bb00b1c3c0292528
parent5c12bb66b79d08b0f7aae99fc2677cab1141d4d2
wifi: rtw89: add use of pkt_list offload to debug entry

Driver can prepare pkt_list for firmware that only uses them to send out
the packets in specific situations. To understand the usage of current
status, and to check if there is leakage problem, dump bitmap and the
indices used by certain function.

An example looks like:

  map:
...
        pkt_ofld:  3f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
                [SCAN 0]: 3
                [SCAN 1]: 4
                [SCAN 3]: 5
  VIF [0] xx:xx:xx:xx:xx:xx
...
        pkt_ofld[GENERAL]: 0 1 2

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230123065401.14174-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/debug.c