[PATCH] ath11k: add register read debugfs interface for WCN6855
Kalle Valo
kvalo at kernel.org
Fri Jan 28 05:45:38 PST 2022
Cheng Wang <quic_chengwan at quicinc.com> writes:
> Add debugfs interface reg_addr/reg_value and use these two interfaces
> to read register value.
> For example, execute the following commands to read WCN6855 HW register of
> “memtype=0xa offset=0x3a00d0”:
>
> $ echo 0xa 0x3a00d0>reg_addr
> $ cat reg_value
> 0x10200000
>
> Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1
>
> Signed-off-by: Cheng Wang <quic_chengwan at quicinc.com>
This had new warnings, fixed in the pending branch:
drivers/net/wireless/ath/ath11k/debugfs.c:1207: line length of 96 exceeds 90 columns
drivers/net/wireless/ath/ath11k/debugfs.c:1253: line length of 94 exceeds 90 columns
drivers/net/wireless/ath/ath11k/debugfs.c:1318: line length of 91 exceeds 90 columns
drivers/net/wireless/ath/ath11k/qmi.c:1673: line length of 94 exceeds 90 columns
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list