Commit Graph

66 Commits

Author SHA1 Message Date
Hauke Mehrtens
c926edd72d broadcom-wl: improve device cleanup
Move all device cleanup to "disable_broadcom".

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38758
2013-11-11 22:02:45 +00:00
Hauke Mehrtens
3c2904bfb8 broadcom-wl: add support for setting H/W address
Some devices initialize with a default address (common to all H/W).
The address needs to be changeable so that a unique address can be
assigned to each AP.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38757
2013-11-11 22:02:14 +00:00
Hauke Mehrtens
4ba2f2f731 broadcom-wl: eliminate 'invalid command' when setting ssid
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38756
2013-11-11 22:01:32 +00:00
Hauke Mehrtens
5b4c8c4cc8 broadcom-wl: clean up variable definitions (broadcom.sh)
Specify variables as 'local' where appropriate

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38755
2013-11-11 22:01:12 +00:00
Hauke Mehrtens
aa6a5baf88 broadcom-wl: simplify processing of 'hwmode'
Default gmode to "GOnly" unless explicitly overwridden.  This corrects
processing for 11ng to specify "GOnly" for gmode instead of "Auto"
(which translated to "bg").

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38754
2013-11-11 22:00:39 +00:00
Hauke Mehrtens
d1c55bb33e broadcom-wl: shutdown 'nas' when 'wl' device is disabled
'nas' must be shutdown independently for each 'wl' device to properly
support devices with multiple radios.  Do the shutdown when the device
is disabled instead of when it is brought up.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38753
2013-11-11 21:59:58 +00:00
Hauke Mehrtens
091d80bea7 broadcom-wl: use a single instance of 'nas' per 'wl' device
A single instance of 'nas' can support multiple interfaces; there's
no need to run multiple instances.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38752
2013-11-11 21:59:34 +00:00
Hauke Mehrtens
493f82e8ee broadcom-wl: fix whitespace handling
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38751
2013-11-11 21:59:07 +00:00
Hauke Mehrtens
1439dc3b9b broadcom-wl: update description for recently added
Update descriptions for 'phytype' and 'band'.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38750
2013-11-11 21:58:42 +00:00
Hauke Mehrtens
40e8eb2dda broadcom-wl: fix band reporting
Modify the band reporting for broadcom devices to correctly report
HW capability.  Currently, 802.11na devices report "bgn"; but should be
reporting "an".

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38749
2013-11-11 21:58:19 +00:00
Hauke Mehrtens
cac4ccca2f broadcom-wl: change interface names
'netifd' treats all devices with a "." in their name as vlan devices.
Modify the name of virtual/WDS interfaces created by broadcom-wl to use
a "-" instead of a ".", so they will be treated as simple devices
by 'netifd'.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38748
2013-11-11 21:57:26 +00:00
Hauke Mehrtens
c36d24ec82 broadcom-wl: fix compiler warning
Delete the return value (nvram_exit is declared with a 'void' return).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38747
2013-11-11 21:56:45 +00:00
Hauke Mehrtens
e12b5ec8df broadcom-wl: Add 'N' mode support to broadcom-wl
This is partly based on patches sent by Łukasz Kwestarz (See https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014356.html).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37802
2013-08-17 13:38:30 +00:00
Hauke Mehrtens
e77339b9e2 broadcom-wl: fix compile error with kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37626
2013-07-31 17:42:55 +00:00
Hauke Mehrtens
a5c0ad6354 brcm47xx: add initial support for kernel 3.10
SVN-Revision: 37287
2013-07-14 13:44:45 +00:00
John Crispin
4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
2013-06-21 16:54:37 +00:00