Venkateswara Naralasetty <quic_vnaralas@xxxxxxxxxxx> 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@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> 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@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches