Commit Graph

17 Commits (c07d8fffd3bda085f52cf4f2c2a3f7fb43417f4b)

Author SHA1 Message Date
Jo-Philipp Wich 5ae9ec8f88 broadcom-wl: align with mac80211 config
- Support HT40 instead of HT40+/HT40- like mac80211
 - Enable 11n if htmode is HT20 or HT40

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-25 18:43:18 +00:00
Hauke Mehrtens 4ab6f2b389 broadcom-wl: add default tx and rx antennas
This adds default tx and rx antennas, so that LuCI shows automatic as the default radio option for the antennas.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-08 22:59:45 +00:00
Hauke Mehrtens 7b6657b8ba broadcom-wl: improve setting leddc
Use leddc value from other routers and improve the script.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 23:24:41 +00:00
Hauke Mehrtens a91dd18ada broadcom-wl: fix led support
Some devices have an nvram setting, which make broadcom-wl turn of the 
led all the time. When the driver is switched on and we find such a 
setting we replace it with a better value.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-05 22:55:40 +00:00
Felix Fietkau 27f9561689 broadcom-wl: bring interfaces up, do not rely on netifd doing it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-11 05:00:57 +00:00
Hauke Mehrtens 29418a1d69 broadcom-wl: support 'wds' interfaces on 'wl1' device
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:05:20 +00:00
Hauke Mehrtens e46232e69a broadcom-wl: support more virtual interfaces
Read the number of virtual interfaces to support from the device
capabilities; as some newer devices can support up to 16.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:03:25 +00:00
Hauke Mehrtens dc0ff18316 broadcom-wl: improve device cleanup
Move all device cleanup to "disable_broadcom".

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:02:45 +00:00
Hauke Mehrtens be7a5ba554 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:02:14 +00:00
Hauke Mehrtens 5e70448157 broadcom-wl: eliminate 'invalid command' when setting ssid
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:01:32 +00:00
Hauke Mehrtens 9dda33e2e2 broadcom-wl: clean up variable definitions (broadcom.sh)
Specify variables as 'local' where appropriate

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:01:12 +00:00
Hauke Mehrtens 84dc70b8a0 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:00:39 +00:00
Hauke Mehrtens e0aeebea8e 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 21:59:58 +00:00
Hauke Mehrtens 70ac1dbe51 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 21:59:34 +00:00
Hauke Mehrtens 8f00f8f048 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 21:57:26 +00:00
Hauke Mehrtens ec017d8f79 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-17 13:38:30 +00:00
John Crispin f1b4824c86 packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:37 +00:00