summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-26 01:06:36 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-12-26 01:06:36 +0000
commitd5afbb3e270d902ed7473fb3feddb6b5eeb0176f (patch)
tree870152f841fc14e34ece5c3515f5b08101b653e0
parent8494bd7c5ad14241135f4f4dccd4fb5778a5c368 (diff)
[mac80211] b43: Add L-PHY firemware files to squash script
Use firmware 4.178.10.4 as default on. Select firmware for all supported phy types and version as default. Close ticket #5978 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18935 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/Config.in.b437
-rwxr-xr-xpackage/mac80211/files/host_bin/b43-fwsquash.py9
2 files changed, 12 insertions, 4 deletions
diff --git a/package/mac80211/Config.in.b43 b/package/mac80211/Config.in.b43
index f5399312cb..04576a81aa 100644
--- a/package/mac80211/Config.in.b43
+++ b/package/mac80211/Config.in.b43
@@ -3,7 +3,7 @@
choice
prompt "b43 firmware version"
depends on PACKAGE_kmod-b43
- default B43_STABLE
+ default B43_EXPERIMENTAL
help
This option allows you to select the version of the b43 firmware.
@@ -41,6 +41,7 @@ endchoice
config B43_FW_SQUASH
bool "Remove unnecessary firmware files"
depends on PACKAGE_kmod-b43 && !B43_OPENFIRMWARE
+ default y
help
This options allows you to remove unnecessary b43 firmware files
from the final rootfs image. This can reduce the rootfs size by
@@ -54,7 +55,7 @@ config B43_FW_SQUASH
config B43_FW_SQUASH_COREREVS
string "Core revisions to include"
depends on PACKAGE_kmod-b43 && B43_FW_SQUASH
- default "5,6,7,8,9,10"
+ default "5,6,7,8,9,10,13,14,15"
help
This is a comma seperated list of core revision numbers.
Example (keep files for rev5 only):
@@ -65,7 +66,7 @@ config B43_FW_SQUASH_COREREVS
config B43_FW_SQUASH_PHYTYPES
string "PHY types to include"
depends on PACKAGE_kmod-b43 && B43_FW_SQUASH
- default "G,LP,N"
+ default "A,AG,G,LP"
help
This is a comma seperated list of PHY types:
A => A-PHY
diff --git a/package/mac80211/files/host_bin/b43-fwsquash.py b/package/mac80211/files/host_bin/b43-fwsquash.py
index 52484d1b19..088ed48450 100755
--- a/package/mac80211/files/host_bin/b43-fwsquash.py
+++ b/package/mac80211/files/host_bin/b43-fwsquash.py
@@ -65,7 +65,8 @@ revmapping = {
"ucode5.fw" : (5,6,7,8,9,10,),
"ucode11.fw" : (11,12,),
"ucode13.fw" : (13,),
- "pcm4.fw" : (1,2,3,4,),
+ "ucode14.fw" : (14,),
+ "ucode15.fw" : (15,),
"pcm5.fw" : (5,6,7,8,9,10,),
}
@@ -75,10 +76,16 @@ initvalmapping = {
"b0g0initvals5.fw" : ( (5,6,7,8,9,10,), ("G",), ),
"b0g0initvals13.fw" : ( (13,), ("G",), ),
"n0initvals11.fw" : ( (11,12,), ("N",), ),
+ "lp0initvals13.fw" : ( (13,), ("LP",), ),
+ "lp0initvals14.fw" : ( (14,), ("LP",), ),
+ "lp0initvals15.fw" : ( (15,), ("LP",), ),
"a0g1bsinitvals5.fw" : ( (5,6,7,8,9,10,), ("AG",), ),
"a0g0bsinitvals5.fw" : ( (5,6,7,8,9,10,), ("A", "AG"), ),
"b0g0bsinitvals5.fw" : ( (5,6,7,8,9,10,), ("G",), ),
"n0bsinitvals11.fw" : ( (11,12,), ("N",), ),
+ "lp0bsinitvals13.fw" : ( (13,), ("LP",), ),
+ "lp0bsinitvals14.fw" : ( (14,), ("LP",), ),
+ "lp0bsinitvals15.fw" : ( (15,), ("LP",), ),
}
for f in fwfiles: