mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-24 19:12:14 +00:00
The initial debugfs infra bringup in ath12k driver and create the ath12k debugfs
and soc-specific directories in /sys/kernel/debug/
For each ath12k device, directory will be created in <bus>-<devname>
schema under ath12k root directory.
Example with one ath12k device:
/sys/kernel/debug/ath12k/pci-0000:06:00.0
ath12k
`-- pci-0000:06:00.0
|-- mac0
To enable ath12k debugfs support (CONFIG_ATH12K_DEBUGFS=y)
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Signed-off-by: Ramasamy Kaliappan <quic_rkaliapp@quicinc.com>
Signed-off-by: Ramya Gnanasekar <quic_rgnanase@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240320171305.655288-2-quic_rgnanase@quicinc.com
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
config ATH12K
|
|
tristate "Qualcomm Technologies Wi-Fi 7 support (ath12k)"
|
|
depends on MAC80211 && HAS_DMA && PCI
|
|
select CRYPTO_MICHAEL_MIC
|
|
select QCOM_QMI_HELPERS
|
|
select MHI_BUS
|
|
select QRTR
|
|
select QRTR_MHI
|
|
help
|
|
Enable support for Qualcomm Technologies Wi-Fi 7 (IEEE
|
|
802.11be) family of chipsets, for example WCN7850 and
|
|
QCN9274.
|
|
|
|
If you choose to build a module, it'll be called ath12k.
|
|
|
|
config ATH12K_DEBUG
|
|
bool "ath12k debugging"
|
|
depends on ATH12K
|
|
help
|
|
Enable debug support, for example debug messages which must
|
|
be enabled separately using the debug_mask module parameter.
|
|
|
|
If unsure, say Y to make it easier to debug problems. But if
|
|
you want optimal performance choose N.
|
|
|
|
config ATH12K_DEBUGFS
|
|
bool "QTI ath12k debugfs support"
|
|
depends on ATH12K && MAC80211_DEBUGFS
|
|
help
|
|
Enable ath12k debugfs support
|
|
|
|
If unsure, say Y to make it easier to debug problems. But if
|
|
you want optimal performance choose N.
|
|
|
|
config ATH12K_TRACING
|
|
bool "ath12k tracing support"
|
|
depends on ATH12K && EVENT_TRACING
|
|
help
|
|
Enable ath12k tracing infrastructure.
|
|
|
|
If unsure, say Y to make it easier to debug problems. But if
|
|
you want optimal performance choose N.
|