summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-04-19 21:44:29 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-04-19 21:44:29 +0000
commit75a63f1981e3579963296b08de21aba7489f1b5c (patch)
tree3d1ea3792f68312c2f0bb0aea35978b741f6fd26 /package/mac80211
parentbecddc9ec7f50f620fbf265ca1ab06eaee6d4146 (diff)
downloadmtk-20170518-75a63f1981e3579963296b08de21aba7489f1b5c.zip
mtk-20170518-75a63f1981e3579963296b08de21aba7489f1b5c.tar.gz
mtk-20170518-75a63f1981e3579963296b08de21aba7489f1b5c.tar.bz2
mac80211: b43: Expose N-PHY support
Allow enabling of N-PHY support for BCM4321 and BCM4322. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 26736
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/Makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 1201b7f..70ec95e 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -35,6 +35,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_ATH_DEBUG \
CONFIG_PACKAGE_B43_DEBUG \
CONFIG_PACKAGE_B43_PIO \
+ CONFIG_PACKAGE_B43_N_PHY \
CONFIG_ATH_USER_REGD \
CARL9170_FW_VERSION:=1.9.2
@@ -1082,7 +1083,8 @@ define KernelPackage/b43/config
config B43_FW_SQUASH_COREREVS
string "Core revisions to include"
depends on B43_FW_SQUASH
- default "5,6,7,8,9,10,13,14,15"
+ default "5,6,7,8,9,10,11,13,14,15,16" if PACKAGE_B43_PHY_N
+ default "5,6,7,8,9,10,13,14,15" if !PACKAGE_B43_PHY_N
help
This is a comma seperated list of core revision numbers.
@@ -1095,7 +1097,8 @@ define KernelPackage/b43/config
config B43_FW_SQUASH_PHYTYPES
string "PHY types to include"
depends on B43_FW_SQUASH
- default "G,LP"
+ default "G,LP,N" if PACKAGE_B43_PHY_N
+ default "G,LP" if !PACKAGE_B43_PHY_N
help
This is a comma seperated list of PHY types:
A => A-PHY
@@ -1128,6 +1131,17 @@ define KernelPackage/b43/config
If unsure, say N.
+ config PACKAGE_B43_PHY_N
+ bool "Enable support for N-PHYs"
+ select B43_FW_5_10
+ default n
+ help
+ Enable support for BCM4321 and BCM4322.
+
+ Currently only 11g speed is available.
+
+ If unsure, say N.
+
endmenu
endef
@@ -1190,6 +1204,7 @@ BUILDFLAGS:= \
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD=1) \
$(if $(CONFIG_PACKAGE_B43_DEBUG),-DCONFIG_B43_DEBUG) \
$(if $(CONFIG_PACKAGE_B43_PIO),-DCONFIG_B43_PIO) \
+ $(if $(CONFIG_PACKAGE_B43_PHY_N),-DCONFIG_B43_PHY_N) \
$(if $(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS),-DCONFIG_RT2X00_LIB_DEBUGFS) \
$(if $(CONFIG_PACKAGE_RT2X00_DEBUG),-DCONFIG_RT2X00_DEBUG) \
$(if $(NEED_RT2X00_LIB_HT),-DCONFIG_RT2X00_LIB_HT) \
@@ -1223,6 +1238,7 @@ MAKE_OPTS:= \
CONFIG_B43LEGACY=$(if $(CONFIG_PACKAGE_kmod-b43legacy),m) \
CONFIG_B43_DEBUG=$(if $(CONFIG_PACKAGE_B43_DEBUG),y) \
CONFIG_B43_PIO=$(if $(CONFIG_PACKAGE_B43_PIO),y) \
+ CONFIG_B43_PHY_N=$(if $(CONFIG_PACKAGE_B43_PHY_N),y) \
CONFIG_ATH_COMMON=$(if $(CONFIG_PACKAGE_kmod-ath),m) \
CONFIG_ATH_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \
CONFIG_ATH5K_DEBUG=$(if $(CONFIG_PACKAGE_ATH_DEBUG),y) \