- Dec 16, 2016
-
-
Felix Fietkau authored
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Nov 03, 2016
-
-
Christian Lamparter authored
Currently, the wifi detection script is executed as part of the (early) boot process. Pluggable wifi USB devices, which are inserted at a later time are not automatically detected and therefore they don't show up in LuCI. A user has to deal with wifi detection manually, or restart the router. However, the current "sleep 1" window - which the boot process waits for wifi devices to "settle down" - is too short to detect wifi devices for some routers anyway. For example, this can happen with USB WLAN devices on the WNDR4700. This is because the usb controller needs to load its firmware from UBI and initialize, before it can operate. The issue can be seen on a BT HomeHub 5A as well as soon as the caldata are on an ubi volume. This is because the ath9k card has to be initialized by owl-loader first. Which has to wait for the firmware extraction script to retrieve the pci initialization values inside the caldata. This patch moves the wifi configuration to hotplug scripts. For mac80211, the wifi configuration will now automatically run any time a "ieee80211" device is added. Likewise broadcom-wl's script checks for new "net" devices which have the "wl$NUMBER" moniker. Issues with spawning multiple interface configuration - in case the detection script is run concurrently - have been resolved by using a named section for the initial configuration. Concurrent configuration scripts will now simply overwrite the same existing configuration. A workaround which preserves the "sleep 1" window for just the first boot has been added. This allows the existing brcm47xx boot and mvebu uci-default scripts to correctly setup the initial mac addresses and regulatory domain. And finally, the patch renames the "wifi detect" into "wifi config". As the script no longer produces any output that has to be redirected or appended to the configuration file. Thanks to Martin Blumenstingl for helping with the implementation and testing of the patch. Acked-by:
Jo-Philipp Wich <jo@mein.io> Signed-off-by:
Mathias Kresin <dev@kresin.me> Signed-off-by:
Christian Lamparter <chunkeey@gmail.com> Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Christian Lamparter authored
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>
-
- Jun 07, 2016
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Apr 26, 2016
-
-
Jo-Philipp Wich authored
Add nonshared flag to package depending on specific targets or subtargets as there's no guarantee otherwise that they'll be available in the shared repo. Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Mar 24, 2016
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org>
-
- Sep 08, 2015
-
-
Steven Barth authored
Signed-off-by:
Steven Barth <steven@midlink.org> SVN-Revision: 46832
-
- Aug 29, 2015
-
-
Hauke Mehrtens authored
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
-
Hauke Mehrtens authored
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
-
Hauke Mehrtens authored
Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46745
-
Hauke Mehrtens authored
Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46744
-
- Jun 17, 2015
-
-
Hauke Mehrtens authored
This fixes some build problems with musl. The binary only program nas.exe wants to link against __assert, which is copied from uClibc. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46021
-
- Nov 06, 2014
-
-
Nicolas Thill authored
Signed-off-by:
Nicolas Thill <nico@openwrt.org> SVN-Revision: 43205
-
- Oct 25, 2014
-
-
Jo-Philipp Wich authored
- 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
-
- Oct 24, 2014
-
-
Felix Fietkau authored
Attempting to build broadcom_wl (from trunk) with the linaro 4.9.x toolchain produces the following errors: <...>/wl_linux.c: In function 'wl_dump_ver': <...>/wl_linux.c:2302:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time] __DATE__, __TIME__, EPI_VERSION_STR); ^ <...>/wl_linux.c:2302:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time] __DATE__, __TIME__, EPI_VERSION_STR); ^ cc1: some warnings being treated as errors Remove the use of the __DATE__ and __TIME__ macros, as the info is not really useful. Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 43046
-
- Oct 02, 2014
-
-
Jonas Gorski authored
This fixes brcm63xx fallback sprom extraction. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by:
Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42725
-
- Aug 08, 2014
-
-
Hauke Mehrtens authored
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
-
Hauke Mehrtens authored
Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222). Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42084
-
- Jul 07, 2014
-
-
Hauke Mehrtens authored
When the original mac addresses are not valid assign the first one to the internal wifi core, this matches the manufacture mac address in most cases. In addition refresh the patches. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41545
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41540
-
- Jul 05, 2014
-
-
Hauke Mehrtens authored
Use leddc value from other routers and improve the script. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41519
-
Hauke Mehrtens authored
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
-
Hauke Mehrtens authored
Some series of devices are using the same mac address, which causes conflicts for these devices we generate a new mac address based on the base address. This patch adds this functionality to braodcom-wl. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41514
-
- Jun 07, 2014
-
-
Hauke Mehrtens authored
Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41046
-
- May 11, 2014
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40749
-
- Nov 11, 2013
-
-
Hauke Mehrtens authored
Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38765
-
Hauke Mehrtens authored
Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38764
-
Hauke Mehrtens authored
'nas' requires probe of 'wds' devices to be successful; so don't fail them. Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38763
-
Hauke Mehrtens authored
When enabling multiple VIFS, the driver sometimes crashes. The frequency of the crash increases as more VIFS are enabled. Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38762
-
Hauke Mehrtens authored
Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38761
-
Hauke Mehrtens authored
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
-
Hauke Mehrtens authored
Move all device cleanup to "disable_broadcom". Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38758
-
Hauke Mehrtens authored
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
-
Hauke Mehrtens authored
Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38756
-
Hauke Mehrtens authored
Specify variables as 'local' where appropriate Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38755
-
Hauke Mehrtens authored
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
-
Hauke Mehrtens authored
'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
-
Hauke Mehrtens authored
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
-
Hauke Mehrtens authored
Signed-off-by:
Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38751
-