mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 20:16:16 +02:00
package/mac80211: add config option to enable Atheros wireless debugging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18412 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dbba973c9f
commit
fa989620af
@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
PKG_NAME:=mac80211
|
PKG_NAME:=mac80211
|
||||||
|
|
||||||
PKG_VERSION:=2009-11-03
|
PKG_VERSION:=2009-11-03
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_SOURCE_URL:= \
|
PKG_SOURCE_URL:= \
|
||||||
http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/11 \
|
http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/11 \
|
||||||
http://wireless.kernel.org/download/compat-wireless-2.6
|
http://wireless.kernel.org/download/compat-wireless-2.6
|
||||||
@ -282,6 +282,13 @@ config ATH_USER_REGD
|
|||||||
are forbidden by the EEPROM settings.
|
are forbidden by the EEPROM settings.
|
||||||
Select this option if you want the driver to respect the user's decision about
|
Select this option if you want the driver to respect the user's decision about
|
||||||
regulatory settings.
|
regulatory settings.
|
||||||
|
|
||||||
|
config PACKAGE_ATH_DEBUG
|
||||||
|
bool "Atheros wireless debugging"
|
||||||
|
depends on PACKAGE_kmod-ath
|
||||||
|
help
|
||||||
|
Say Y, if you want to debug atheros wireless drivers.
|
||||||
|
Right now only ath9k makes use of this.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ath
|
define KernelPackage/ath
|
||||||
@ -492,6 +499,7 @@ BUILDFLAGS:= \
|
|||||||
-DCONFIG_B43_HWRNG -DCONFIG_B43LEGACY_HWRNG \
|
-DCONFIG_B43_HWRNG -DCONFIG_B43LEGACY_HWRNG \
|
||||||
$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),-DCONFIG_MAC80211_DEBUGFS) \
|
$(if $(CONFIG_PACKAGE_MAC80211_DEBUGFS),-DCONFIG_MAC80211_DEBUGFS) \
|
||||||
$(if $(CONFIG_PACKAGE_ATH9K_DEBUG),-DCONFIG_ATH9K_DEBUG) \
|
$(if $(CONFIG_PACKAGE_ATH9K_DEBUG),-DCONFIG_ATH9K_DEBUG) \
|
||||||
|
$(if $(CONFIG_PACKAGE_ATH_DEBUG),-DCONFIG_ATH_DEBUG) \
|
||||||
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
|
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
|
||||||
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1)
|
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1)
|
||||||
|
|
||||||
@ -518,6 +526,7 @@ MAKE_OPTS:= \
|
|||||||
CONFIG_B43=$(if $(CONFIG_PACKAGE_kmod-b43),m) \
|
CONFIG_B43=$(if $(CONFIG_PACKAGE_kmod-b43),m) \
|
||||||
CONFIG_B43LEGACY=$(if $(CONFIG_PACKAGE_kmod-b43legacy),m) \
|
CONFIG_B43LEGACY=$(if $(CONFIG_PACKAGE_kmod-b43legacy),m) \
|
||||||
CONFIG_ATH_COMMON=$(if $(CONFIG_PACKAGE_kmod-ath),m) \
|
CONFIG_ATH_COMMON=$(if $(CONFIG_PACKAGE_kmod-ath),m) \
|
||||||
|
CONFIG_ATH_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
|
||||||
CONFIG_ATH5K=$(if $(CONFIG_PACKAGE_kmod-ath5k),m) \
|
CONFIG_ATH5K=$(if $(CONFIG_PACKAGE_kmod-ath5k),m) \
|
||||||
CONFIG_ATH9K=$(if $(CONFIG_PACKAGE_kmod-ath9k),m) \
|
CONFIG_ATH9K=$(if $(CONFIG_PACKAGE_kmod-ath9k),m) \
|
||||||
CONFIG_ATH9K_DEBUG=$(if $(CONFIG_PACKAGE_ATH9K_DEBUG),y) \
|
CONFIG_ATH9K_DEBUG=$(if $(CONFIG_PACKAGE_ATH9K_DEBUG),y) \
|
||||||
|
Loading…
Reference in New Issue
Block a user