mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
mac80211: Allow enabling tracing for the drivers that support it
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 47776
This commit is contained in:
parent
9ca1080e92
commit
8d580cd7f2
@ -109,6 +109,15 @@ define KernelPackage/mac80211/config
|
|||||||
Select this to see extensive information about
|
Select this to see extensive information about
|
||||||
the internal state of mac80211 in debugfs.
|
the internal state of mac80211 in debugfs.
|
||||||
|
|
||||||
|
config PACKAGE_MAC80211_TRACING
|
||||||
|
bool "Enable tracing (mac80211 and supported drivers)"
|
||||||
|
select KERNEL_FTRACE
|
||||||
|
select KERNEL_ENABLE_DEFAULT_TRACERS
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Select this to enable tracing of mac80211 and
|
||||||
|
related wifi drivers (using trace-cmd).
|
||||||
|
|
||||||
config PACKAGE_MAC80211_MESH
|
config PACKAGE_MAC80211_MESH
|
||||||
bool "Enable 802.11s mesh support"
|
bool "Enable 802.11s mesh support"
|
||||||
default y
|
default y
|
||||||
@ -1631,6 +1640,16 @@ ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
|
|||||||
ATH5K_DEBUG
|
ATH5K_DEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
||||||
|
config-y += \
|
||||||
|
ATH10K_TRACING \
|
||||||
|
ATH6KL_TRACING \
|
||||||
|
ATH_TRACEPOINTS \
|
||||||
|
WIL6210_TRACING \
|
||||||
|
ATH5K_TRACER \
|
||||||
|
IWLWIFI_DEVICE_TRACING
|
||||||
|
endif
|
||||||
|
|
||||||
config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
|
config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
|
||||||
|
|
||||||
config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
|
config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
|
||||||
|
Loading…
Reference in New Issue
Block a user