aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* base-files, mac80211, broadcom-wl: use uci to populate wireless configChristian Lamparter2016-11-031-15/+15
| | | | | | | | | | | | | | | | | | | | Previously, wifi detect simply dumped its generated wireless configuration to STDOUT. A second step was needed to append the configuration to /etc/config/wireless (or create it, if it didn't exist). With this patch, The wifi detection script will now use uci to update the wireless configuration directly. This patch also makes the initially created wifi-iface a named section ('default_radio$X' for mac80211 and 'default_wl$X' for broadcom). With this change, uci will not print the cfgHASH to STDOUT (which would now corrupt the wireless configuration). It will also prevent adding duplicated wifi interface configurations, if the wifi configuration is run concurrently. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* branding: add LEDE brandingJohn Crispin2016-03-241-1/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* package: replace ifconfig-usage with ipSteven Barth2015-09-081-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46832
* broadcom-wl: add interface after bridge is upHauke Mehrtens2015-08-291-0/+1
| | | | | | | | | | | | Without this patch adding the wifi device to the bridge may fail because the bridge is not already configured when the wifi device gets configured. This patch makes broadcom-wl wait till the bridge is ready. This fixes #17262 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46749
* broadcom-wl: fix bash comparison errorHauke Mehrtens2015-08-291-1/+1
| | | | | | | | | This fixes #17495 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46746
* broadcom-wl: align with mac80211 configJo-Philipp Wich2014-10-251-4/+13
| | | | | | | | | - 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> SVN-Revision: 43063
* broadcom-wl: add default tx and rx antennasHauke Mehrtens2014-08-081-1/+2
| | | | | | | | 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> SVN-Revision: 42085
* broadcom-wl: improve setting leddcHauke Mehrtens2014-07-051-4/+4
| | | | | | | | Use leddc value from other routers and improve the script. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41519
* broadcom-wl: fix led supportHauke Mehrtens2014-07-051-0/+7
| | | | | | | | | | 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> SVN-Revision: 41518
* broadcom-wl: bring interfaces up, do not rely on netifd doing itFelix Fietkau2014-05-111-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40749
* broadcom-wl: support more virtual interfacesHauke Mehrtens2013-11-111-2/+8
| | | | | | | | | 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> SVN-Revision: 38759
* broadcom-wl: improve device cleanupHauke Mehrtens2013-11-111-15/+21
| | | | | | | | Move all device cleanup to "disable_broadcom". Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38758
* broadcom-wl: add support for setting H/W addressHauke Mehrtens2013-11-111-4/+11
| | | | | | | | | | 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
* broadcom-wl: eliminate 'invalid command' when setting ssidHauke Mehrtens2013-11-111-2/+1
| | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38756
* broadcom-wl: clean up variable definitions (broadcom.sh)Hauke Mehrtens2013-11-111-19/+28
| | | | | | | | Specify variables as 'local' where appropriate Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38755
* broadcom-wl: simplify processing of 'hwmode'Hauke Mehrtens2013-11-111-20/+22
| | | | | | | | | | 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
* broadcom-wl: shutdown 'nas' when 'wl' device is disabledHauke Mehrtens2013-11-111-1/+3
| | | | | | | | | | '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
* broadcom-wl: use a single instance of 'nas' per 'wl' deviceHauke Mehrtens2013-11-111-3/+5
| | | | | | | | | 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
* broadcom-wl: change interface namesHauke Mehrtens2013-11-111-2/+2
| | | | | | | | | | | '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
* broadcom-wl: Add 'N' mode support to broadcom-wlHauke Mehrtens2013-08-171-7/+37
| | | | | | | | | 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
* packages: clean up the package folderJohn Crispin2013-06-211-0/+395
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007