mirror_ubuntu-kernels/drivers/net/wireless/ath/ath11k
Venkateswara Naralasetty 691425b4a4 ath11k: add dbring debug support
Target copies spectral report and CFR report through dbring to
host for further processing. This mechanism involves ring and
buffer management in the Host, FW, and uCode, where improper
tail pointer update issues are seen.

This dbring debug support help to debug such issues by tracking
head and tail pointer movement along with the timestamp at which
each buffer is received and replenished.

Provide a debugfs interface to enalbe/disable dbring debug
support and dump the dbring debug entries.

Also introduced a new hardware param to add dbring debugfs support
for few hardwares which are using dbings.

Usage:

echo <dbr_id> <val> > /sys/kernel/debug/ath11k/ipq8074_2/
mac0/enable_dbr_debug

dbr_id: 0 for spectral and 1 for CFR
val: 0 - disable, 1 - enable.

Tested-on: IPQ8074 WLAN.HK.2.4.0.1-01467-QCAHKSWPL_SILICONZ-1

Signed-off-by: Venkateswara Naralasetty <quic_vnaralas@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/1645366059-11798-1-git-send-email-quic_vnaralas@quicinc.com
2022-02-24 11:02:48 +02:00
..
ahb.c ath11k: fix kernel panic during unload/load ath11k modules 2022-01-31 15:59:05 +02:00
ahb.h ath11k: Remove rproc references from common core layer 2020-09-21 16:11:28 +03:00
ce.c ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
ce.h ath11k: Replace zero-length arrays with flexible-array members 2022-02-21 12:24:34 +02:00
core.c ath11k: add dbring debug support 2022-02-24 11:02:48 +02:00
core.h ath11k: add dbring debug support 2022-02-24 11:02:48 +02:00
dbring.c ath11k: add dbring debug support 2022-02-24 11:02:48 +02:00
dbring.h ath11k: add spectral/CFR buffer validation support 2021-12-09 10:14:20 +02:00
debug.c ath11k: add trace log support 2021-11-17 09:29:34 +02:00
debug.h ath11k: add trace log support 2021-11-17 09:29:34 +02:00
debugfs_htt_stats.c ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_htt_stats.h ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_sta.c ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
debugfs_sta.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
debugfs.c ath11k: add dbring debug support 2022-02-24 11:02:48 +02:00
debugfs.h ath11k: add dbring debug support 2022-02-24 11:02:48 +02:00
dp_rx.c ath11k: translate HE status to radiotap format 2022-02-24 10:59:41 +02:00
dp_rx.h ath11k: Clear the fragment cache during key install 2021-05-11 20:16:21 +02:00
dp_tx.c ath11k: switch to using ieee80211_tx_status_ext() 2022-02-24 10:58:59 +02:00
dp_tx.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
dp.c ath11k: Process full monitor mode rx support 2021-12-09 10:10:33 +02:00
dp.h ath11k: Replace zero-length arrays with flexible-array members 2022-02-21 12:24:34 +02:00
hal_desc.h ath11k: decode HE status tlv 2022-02-24 10:59:20 +02:00
hal_rx.c ath11k: translate HE status to radiotap format 2022-02-24 10:59:41 +02:00
hal_rx.h ath11k: decode HE status tlv 2022-02-24 10:59:20 +02:00
hal_tx.c ath11k: add data path support for QCN9074 2021-02-17 11:32:51 +02:00
hal_tx.h ath11k: add hal support for QCN9074 2021-02-17 11:32:48 +02:00
hal.c ath11k: Avoid false DEADLOCK warning reported by lockdep 2021-12-13 11:49:22 +02:00
hal.h ath11k: Avoid false DEADLOCK warning reported by lockdep 2021-12-13 11:49:22 +02:00
hif.h ath11k: add CE interrupt support for QCN9074 2021-02-17 11:32:58 +02:00
htc.c ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
htc.h ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
hw.c ath11k: Fix missing rx_desc_get_ldpc_support in wcn6855_ops 2022-01-31 16:06:01 +02:00
hw.h ath11k: add dbring debug support 2022-02-24 11:02:48 +02:00
Kconfig ath11k: use remoteproc only with AHB devices 2020-08-17 13:07:17 +03:00
mac.c ath11k: Fix frames flush failure caused by deadlock 2022-02-21 12:29:18 +02:00
mac.h ath11k: add support for hardware rfkill for QCA6390 2021-12-20 20:29:22 +02:00
Makefile ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00
mhi.c ath11k: configure RDDM size to mhi for recovery by firmware 2022-02-21 12:05:41 +02:00
mhi.h ath11k: mhi: hook suspend and resume 2020-12-12 06:41:16 +02:00
pci.c ath11k: pci: fix crash on suspend if board file is not found 2022-01-31 16:11:47 +02:00
pci.h ath11k: refactor multiple MSI vector implementation 2021-11-22 13:11:02 +02:00
peer.c ath11k: Refactor the fallback routine when peer create fails 2022-01-11 16:39:15 +02:00
peer.h ath11k: fix fw crash due to peer get authorized before key install 2021-11-15 11:14:58 +02:00
qmi.c ath11k: Handle failure in qmi firmware ready 2022-02-21 12:28:17 +02:00
qmi.h ath11k: add ath11k_qmi_free_resource() for recovery 2022-02-21 12:04:59 +02:00
reg.c ath11k: avoid firmware crash when reg set for QCA6390/WCN6855 2022-01-28 14:36:26 +02:00
reg.h ath11k: Avoid race during regd updates 2021-09-28 13:57:32 +03:00
rx_desc.h ath11k: Replace zero-length arrays with flexible-array members 2022-02-21 12:24:34 +02:00
spectral.c ath11k: Replace zero-length arrays with flexible-array members 2022-02-21 12:24:34 +02:00
spectral.h
testmode_i.h
testmode.c ath11k: remove repeated words in comments and warnings 2020-10-28 15:44:04 +02:00
testmode.h
thermal.c net: ath11k: constify ath11k_thermal_ops 2020-08-26 16:21:17 -07:00
thermal.h
trace.c ath11k: add trace log support 2021-11-17 09:29:34 +02:00
trace.h ath11k: add support of firmware logging for WCN6855 2021-12-22 08:03:13 +02:00
wmi.c ath11k: add WMI calls to manually add/del/pause/resume TWT dialogs 2022-02-01 12:57:07 +02:00
wmi.h ath11k: add WMI calls to manually add/del/pause/resume TWT dialogs 2022-02-01 12:57:07 +02:00
wow.c ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00
wow.h ath11k: implement WoW enable and wakeup commands 2020-12-12 06:41:37 +02:00