aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl
Commit message (Collapse)AuthorAgeFilesLines
* package: flag further target specific packages as nonsharedJo-Philipp Wich2016-06-211-0/+1
| | | | | | | | | | 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. [Edit: files modified in previous commit were removed from the list.] Signed-off-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: replace ifconfig-usage with ipSteven Barth2015-09-081-3/+3
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: fix section mismatches in broadcom-wl driverHauke Mehrtens2015-08-291-0/+74
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: fix build with kernel 4.1Hauke Mehrtens2015-08-291-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: fix build with muslHauke Mehrtens2015-06-171-0/+75
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/*: replace occurences of 'ln -sf' to '$(LN)'Nicolas Thill2014-11-061-2/+2
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: align with mac80211 configJo-Philipp Wich2014-10-252-6/+15
| | | | | | | | | - 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
* broadcom_wl: eliminate compiler error with gcc-4.9-linaroFelix Fietkau2014-10-241-0/+21
| | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm-wl: use new brcm63xx fallback spromJonas Gorski2014-10-021-15/+9
| | | | | | | | | This fixes brcm63xx fallback sprom extraction. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42085 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: add support for a8xx broadcom devicesHauke Mehrtens2014-08-081-0/+12
| | | | | | | | | Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222). Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: assign first increased mac address to internal wifi coreHauke Mehrtens2014-07-074-7/+7
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: disable mips16 support, fixes buildFelix Fietkau2014-07-071-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: fix led supportHauke Mehrtens2014-07-052-0/+15
| | | | | | | | | | | 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
* broadcom-wl: fixup mac addresses.Hauke Mehrtens2014-07-051-0/+92
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: fix build with bcma or ssb deactivatedHauke Mehrtens2014-06-071-4/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: version rollHauke Mehrtens2013-11-111-1/+1
| | | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: support 'wds' interfaces on 'wl1' deviceHauke Mehrtens2013-11-111-1/+1
| | | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: support probe of 'wds' devicesHauke Mehrtens2013-11-111-0/+11
| | | | | | | | | | 'nas' requires probe of 'wds' devices to be successful; so don't fail them. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: fix crash when starting multiple virtual interfacesHauke Mehrtens2013-11-116-10/+131
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: perform additional cleanup on wl module unloadHauke Mehrtens2013-11-115-6/+10
| | | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38761 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: support more virtual interfacesHauke Mehrtens2013-11-112-2/+53
| | | | | | | | | | 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
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38758 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: add support for setting H/W addressHauke Mehrtens2013-11-112-4/+18
| | | | | | | | | | | 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
* broadcom-wl: eliminate 'invalid command' when setting ssidHauke Mehrtens2013-11-111-2/+1
| | | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38756 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: fix whitespace handlingHauke Mehrtens2013-11-111-3/+3
| | | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: update description for recently addedHauke Mehrtens2013-11-111-2/+2
| | | | | | | | | Update descriptions for 'phytype' and 'band'. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: fix band reportingHauke Mehrtens2013-11-111-0/+41
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: change interface namesHauke Mehrtens2013-11-113-3/+14
| | | | | | | | | | | | '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
* broadcom-wl: fix compiler warningHauke Mehrtens2013-11-111-1/+1
| | | | | | | | | Delete the return value (nvram_exit is declared with a 'void' return). Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-wl: Add 'N' mode support to broadcom-wlHauke Mehrtens2013-08-173-11/+76
| | | | | | | | | | 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
* broadcom-wl: fix compile error with kernel 3.10Hauke Mehrtens2013-07-312-2/+49
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add initial support for kernel 3.10Hauke Mehrtens2013-07-141-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* packages: clean up the package folderJohn Crispin2013-06-2122-0/+2675
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73