summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-08-28 15:36:18 +0000
committerOlivier Blin <oblin@mandriva.com>2008-08-28 15:36:18 +0000
commitdbe1423ab5a4da0bfeae3bcdd4cb7dad2a42987e (patch)
tree1576f459c32a4e90a4efdb8a956866aabb51158b /lib
parentf28d8eb6416fdabbe608d01f75d567dd884ba3b8 (diff)
downloaddrakx-net-dbe1423ab5a4da0bfeae3bcdd4cb7dad2a42987e.tar
drakx-net-dbe1423ab5a4da0bfeae3bcdd4cb7dad2a42987e.tar.gz
drakx-net-dbe1423ab5a4da0bfeae3bcdd4cb7dad2a42987e.tar.bz2
drakx-net-dbe1423ab5a4da0bfeae3bcdd4cb7dad2a42987e.tar.xz
drakx-net-dbe1423ab5a4da0bfeae3bcdd4cb7dad2a42987e.zip
add initial support for b43 and b43legacy firmwares
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection/wireless.pm22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 203dbef..88d0d8a 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -206,6 +206,28 @@ my @thirdparty_settings = (
},
},
+ (map {
+ +{
+ name => $_,
+ description => "Broadcom $_ wireless chips",
+ url => 'http://wireless.kernel.org/en/users/Drivers/b43',
+ firmware => {
+ test_file => $_ . "/ucode*.fw",
+ extract => {
+ name => 'b43-fwcutter',
+ test_file => '/usr/bin/b43-fwcutter',
+ windows_source => 'bcmwl5.sys',
+ default_source => 'bcmwl5.sys',
+ run => sub {
+ my ($file) = @_;
+ run_program::rooted($::prefix, '/usr/bin/b43-fwcutter',
+ '-w', $network::thirdparty::firmware_directory, $file);
+ },
+ },
+ },
+ };
+ } qw(b43 b43legacy)),
+
{
name => 'acx100',
matching => [ qw(acx_pci acx_usb) ],