[PATCHv3] ath11k: add dbring debug support
Kalle Valo
kvalo at kernel.org
Thu Feb 24 01:03:17 PST 2022
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.
>
> 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 at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
691425b4a41f ath11k: add dbring debug support
--
https://patchwork.kernel.org/project/linux-wireless/patch/1645366059-11798-1-git-send-email-quic_vnaralas@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list