aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel: backport ssb changes from 4.4-rc1Rafał Miłecki2015-11-166-14/+499
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: take bcm47xx_nvram.h from kernel and not backportsHauke Mehrtens2015-11-131-1/+2
| | | | | | | | | | | | | | | | | | | compat-wireless/backports now contains a bcm47xx_nvram.h file to backport some of the functions in it which are used by the bcmfmac driver. This file just checks for the kernel versions and provide an empty implementations on older kernel versions. This is OK on most systems, but on bcm47xx / bcm53xx systems we want to call the real functions here. This commit removes the file from backports in our build process like we do it with the bcma and ssb header files. Instead we add a recent version into our kernel so all code uses only one header file. On bcm47xx / bcm53xx the real implementations of this code will be used. Reported-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: restricted automatic channel selectionFelix Fietkau2015-11-081-0/+3
| | | | | | | | | | | | | | | Add a new config option "channels" for mac80211 wifi devices. It's only valid if automatic channel selection is used and restricts the channel selection to one of the given channels. config wifi-device list channels 1 list channels 6 list channels 11 Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: set mcast-rate for mesh point interfacesFelix Fietkau2015-11-071-6/+8
| | | | | | | | | | | | | | | In order to set the multicast rate for mesh point interfaces the "mesh join" was made explicit and moved to mac80211_setup_vif(), similar to how it is done for IBSS interfaces. Previously, the mesh join was made implicit in case authentication (i.e. $key) was not used when creating the interface in mac80211_prepare_vif(), while using authentication would create the interface first, then join later in mac80211_setup_vif() by starting authsae. Signed-off-by: Nils Schneider <nils@nilsschneider.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: disable a broken feature that was merged with the last updateFelix Fietkau2015-11-072-1/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related ↵Felix Fietkau2015-11-031-0/+20
| | | | | | | | build errors Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix crash when using mesh (11s) VIF together with another VIFFelix Fietkau2015-11-021-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | llid_in_use needs to be limited to stations of the same VIF, otherwise it will cause a NULL deref as the sta_info of non-mesh-VIFs don't have sta->mesh set. Steps to reproduce: modprobe mac80211_hwsim channels=2 iw phy phy0 interface add ibss0 type ibss iw phy phy0 interface add mesh0 type mp iw phy phy1 interface add ibss1 type ibss iw phy phy1 interface add mesh1 type mp ip link set ibss0 up ip link set mesh0 up ip link set ibss1 up ip link set mesh1 up iw dev ibss0 ibss join foo 2412 iw dev ibss1 ibss join foo 2412 # Ensure that ibss0 and ibss1 are actually associated; I often need to # leave and join the cell on ibss1 a second time. iw dev mesh0 mesh join bar iw dev mesh1 mesh join bar # crash Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update regulatory database to master-2015-10-22Felix Fietkau2015-10-301-69/+80
| | | | | | Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: split out ath10k firmware into a separate source package and .ipkFelix Fietkau2015-10-301-30/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add pending ath9k/ath10k patchesFelix Fietkau2015-10-3016-5/+2095
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2015-10-26Felix Fietkau2015-10-3077-3601/+121
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add a fix to initialize the tid field in the tx queue structFelix Fietkau2015-10-051-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport patch setting TX power in interface infoRafał Miłecki2015-09-271-0/+37
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix handling of tx headroom for padding (fixes #20556)Felix Fietkau2015-09-244-4/+26
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a few issues with fast-xmit supportFelix Fietkau2015-09-242-0/+68
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: remove API v2 firmware, it is no longer neededFelix Fietkau2015-09-211-19/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add missing dependency for the hermes driver (#20543)Felix Fietkau2015-09-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rename iwlagn to iwlwifiJohn Crispin2015-09-161-10/+10
| | | | | | | | | follow upstream module rename commit 3c607d27c818cf4a5d28f2c73b18a88f8fbdfa33 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: cleanup sortJohn Crispin2015-09-161-1044/+1071
| | | | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: cleanup remove net prefixesJohn Crispin2015-09-161-41/+41
| | | | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: refresh patchFelix Fietkau2015-09-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: enable hw manual peak calibration for QCA9561Felix Fietkau2015-09-161-0/+33
| | | | | | | | | | | This patch fix https://lists.openwrt.org/pipermail/openwrt-devel/ 2015-August/034979.html. As the peak detect calibration is set incorrectly. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/hostapd: rework 802.11w driver support selection, do not hardcode ↵Felix Fietkau2015-09-141-2/+2
| | | | | | | | drivers in hostapd makefile Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: reduce dma burst size on newer firmware to fix crashesFelix Fietkau2015-09-131-0/+33
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: make title for the old firmware config option more meaningfulFelix Fietkau2015-09-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: use wl18xx-fw-4.binHauke Mehrtens2015-09-111-2/+1
| | | | | | | | | | | | | | | | | The driver only supports wl18xx-fw-4.bin and does not support the old firmware wl18xx-fw-3.bin and more. The wl18xx-conf.bin file was removed upstream it does not fit all devices any more, see this on how to generate one: http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_wlconf If someone has a config file for the common platforms with the wifi nic OpenWrt uses please send a patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add iwlagn debug optionsHauke Mehrtens2015-09-111-0/+36
| | | | | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46886 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: refresh Intel firmwareHauke Mehrtens2015-09-111-71/+98
| | | | | | | | | | | | | - sort firmware - add newer firmware for Intel chipsets - newer Intel MVM require firmware only compile tested Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: iwlagn: enable iwlmvmHauke Mehrtens2015-09-111-3/+4
| | | | | | | | | | - reported in forums - Intel 7260 and 3160 need IWLMVM drivers/firmware Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update linux-firmware to 2014-09-03Hauke Mehrtens2015-09-111-3/+3
| | | | | | | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> [update to 2014-09-03 and change to xz] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rt2800-usb: enable "unknown" USB IDsHauke Mehrtens2015-09-111-1/+1
| | | | | | | | | | | | | | | - should fix issue: https://forum.openwrt.org/viewtopic.php?id=57315 - enable support of more USB stick with rt28xx chipsets - experimental: USB-IDs not in vendor linux driver - experimental: "exact chipset is unknown" - experimental: "enabling these devices may or may not work" only compile tested Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46882 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
* kernel: remove packaging of kmod-crypto-core and kmod-crypto-arc4Felix Fietkau2015-09-081-2/+2
| | | | | | | | | Everything except for blkcipher was already built-in, so make blkcipher built-in as well. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add pending brcmfmac patch fixing warm rebootsRafał Miłecki2015-08-271-0/+193
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add pending brcmfmac patches fixing multiple interfacesRafał Miłecki2015-08-2612-0/+1317
| | | | | | | | | | So far support for multiple interface was somehow broken in brcmfmac. Driver couldn't correctly match firmware and system interfaces resulting in not working APs and WARNINGs. This pending patches fixes that :) Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46734 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport latest patches except for NVRAM supportRafał Miłecki2015-08-258-3/+569
| | | | | | | | | We sill don't use kernel 4.2 which is required for backporting using upstream NVRAM support patch. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: disable ipw2x00 for big endian targetsJonas Gorski2015-08-231-1/+1
| | | | | | | | | | | | | The ipw2x00 drivers assume that the system they are running is little endian, and access everything in native byte order. When run on a big endian system, everything breaks apart. Since fixing this is non trivial on a first glance, disable them for big endian targets. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add mt7601u driverHauke Mehrtens2015-08-171-1/+33
| | | | | | | | | | firmware is not available in linux-firmware yet so use official driver source Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: mwl8k: init devices synchronouslyJonas Gorski2015-08-051-0/+20
| | | | | | | | Make sure phys are probed and present before we detect wifis. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: restore AP scan patchFelix Fietkau2015-07-311-0/+11
| | | | | | Signed-off-by: Dmitry Ivanov <dima@ubnt.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix an invalid read in minstrel rate sortingFelix Fietkau2015-07-311-0/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix data alignment of management frames / beaconsFelix Fietkau2015-07-311-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: do not add debugfs_create_devm_seqfile() on recent kernel versionsHauke Mehrtens2015-07-251-0/+33
| | | | | | | | | | | | | An #ifdef for the kernel version was missing around the header of debugfs_create_devm_seqfile() and the LINUX_BACKPORT() was also not done. This closes #20181 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove kmod-crypto-aes, AES crypto support is always built into the ↵Felix Fietkau2015-07-241-2/+2
| | | | | | | | kernel Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46483 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Clarify ath9k & ath10k debug selectionJohn Crispin2015-07-241-1/+1
| | | | | | | | | Ath debug mode applies to ath10k as well as ath9k. Update Makefile help text to clarify. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2015-07-21Felix Fietkau2015-07-2228-827/+959
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cfg80211: fix a locking issue (#20098)Felix Fietkau2015-07-185-5/+221
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make ath10k firmware v2 selectableJohn Crispin2015-07-141-0/+19
| | | | | | | | | | Added option for old firmware version (10.1 API v2). It seems that recent firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and this provides the option to select an older version instead. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch fixing user space picked MACsRafał Miłecki2015-07-091-0/+69
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: try to workaround some brcmfmac bug with handling interfacesRafał Miłecki2015-07-091-0/+49
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46278 3c298f89-4303-0410-b956-a3cf2f4a3e73