[PATCH 1/2] ath11k: add dbring debug support
Kalle Valo
kvalo at codeaurora.org
Wed Nov 17 01:00:34 PST 2021
Venkateswara Naralasetty <quic_vnaralas at quicinc.com> wrote:
> 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.
>
> Usage:
>
> echo <module_id> <val> > /sys/kernel/debug/ath11k/ipq8074_2/
> mac0/enable_dbr_debug
>
> module_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 at quicinc.com>
Failed to apply:
error: patch failed: drivers/net/wireless/ath/ath11k/dbring.c:94
error: drivers/net/wireless/ath/ath11k/dbring.c: patch does not apply
stg import: Diff does not apply cleanly
2 patches set to Changes Requested.
12609785 [1/2] ath11k: add dbring debug support
12609787 [2/2] ath11k: add spectral/CFR buffer validation support
--
https://patchwork.kernel.org/project/linux-wireless/patch/1636439522-14509-1-git-send-email-quic_vnaralas@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list