aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/patches
Commit message (Collapse)AuthorAgeFilesLines
* broadcom-wl: fix compilation with kernel 5.4Adrian Schmutzler2020-04-121-0/+18
| | | | | | | | | | | | | | This adds two fixes for compilation with kernel 5.4: 1. dev_open from include/linux/netdevice.h needs a second parameter since kernel 5.0: 00f54e68924e ("net: core: dev: Add extack argument to dev_open()") 2. get_ds() macro definition has been dropped since kernel 5.1: 736706bee329 ("get rid of legacy 'get_ds()' function") Since get_ds() has been just a macro before, replace it in the driver instead of creating a version switch. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* broadcom-wl: fix compilation with kernel >= 4.15Adrian Schmutzler2020-04-121-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since kernel 4.15, init_timer is not available anymore, and has been replaced by timer_setup. The fixes compilation of wl_linuc.c, which returned the following errors beforehand (line-wrapped manually): .../broadcom-wl-5.10.56.27.3/driver/wl_linux.c: In function 'wl_init_timer': .../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2576:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] init_timer(&t->timer); ^~~~~~~~~~ init_timers .../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2577:10: error: 'struct timer_list' has no member named 'data' t->timer.data = (ulong) t; ^ .../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2578:20: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(ulong)' {aka 'void (*)(long unsigned int)'} [-Werror=incompatible-pointer-types] t->timer.function = wl_timer; This should fix build of several devices on bcm63xx with testing kernel (4.19). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* broadcom-wl: fix compilation with 4.14Jonas Gorski2018-02-111-0/+10
| | | | | | | | The last_rx field was removed from net_device. Since the field wasn't used by the generic subsystem, and the driver only writes to it, just remove the usage. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* broadcom-wl: fix compile with kernel 4.9Hauke Mehrtens2017-10-181-4/+5
| | | | | | | ENOENT could not be found by the compiler when compiling again kernel 4.9. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* broadcom-wl: fix section mismatches in broadcom-wl driverHauke Mehrtens2015-08-291-0/+74
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46745
* 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> SVN-Revision: 46021
* 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> SVN-Revision: 43046
* 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> SVN-Revision: 42725
* 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> SVN-Revision: 42084
* 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> SVN-Revision: 41545
* 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> SVN-Revision: 41514
* 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> SVN-Revision: 38763
* 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> SVN-Revision: 38762
* broadcom-wl: perform additional cleanup on wl module unloadHauke Mehrtens2013-11-115-6/+10
| | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38761
* 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> SVN-Revision: 38749
* broadcom-wl: change interface namesHauke Mehrtens2013-11-111-0/+11
| | | | | | | | | | | '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: 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> SVN-Revision: 38747
* broadcom-wl: fix compile error with kernel 3.10Hauke Mehrtens2013-07-311-0/+47
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37626
* packages: clean up the package folderJohn Crispin2013-06-2114-0/+575
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007