PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_kmod-mac80211 \
+ CONFIG_PACKAGE_CFG80211_TESTMODE \
CONFIG_PACKAGE_MAC80211_DEBUGFS \
CONFIG_PACKAGE_MAC80211_MESH \
CONFIG_PACKAGE_MAC80211_TRACING \
config-y:= \
WLAN \
- NL80211_TESTMODE \
CFG80211_WEXT \
CFG80211_CERTIFICATION_ONUS \
MAC80211_RC_MINSTREL \
WLAN_VENDOR_ZYDAS \
config-$(call config_package,cfg80211) += CFG80211
+config-$(CONFIG_PACKAGE_CFG80211_TESTMODE) += NL80211_TESTMODE
config-$(call config_package,mac80211) += MAC80211
config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
cfg80211 is the Linux wireless LAN (802.11) configuration API.
endef
+define KernelPackage/cfg80211/config
+ if PACKAGE_kmod-cfg80211
+
+ config PACKAGE_CFG80211_TESTMODE
+ bool "Enable testmode command support"
+ default n
+ help
+ This is typically used for tests and calibration during
+ manufacturing, or vendor specific debugging features
+
+ endif
+endef
+
+
define KernelPackage/mac80211
$(call KernelPackage/mac80211/Default)
TITLE:=Linux 802.11 Wireless Networking Stack