aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
Commit message (Collapse)AuthorAgeFilesLines
* 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
* mac80211: Drop ath10k workaround for providing calibration dataJohn Crispin2015-07-071-18/+0
| | | | | | | | | | Ath10k has now a proper method of providing calibration data via the kernel firmware API. This patch can be dropped as all boards now use the proper method. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: ath9k: fix qca956x name alsoJohn Crispin2015-07-071-0/+8
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update regulatory database to master-2015-06-05Felix Fietkau2015-07-071-45/+81
| | | | | | Signed-off-by: Petko Bordjukov <bordjukov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix compile warning in rt2800lib.cHauke Mehrtens2015-07-061-7/+8
| | | | | | | | | | reorder some parts of the patch to remove the declaration-after- statement warning. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add kernel 4.1 support againHauke Mehrtens2015-07-061-1/+0
| | | | | | | | | The new version now works with kernel 4.1 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove useless patchHauke Mehrtens2015-07-061-16/+0
| | | | | | | | | | | | unregister_netdevice_many() was extended in this commit to also delete unreg_list: https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=97666f936e0656a1b28c40cc33981a8db65e1a11 This patch is no longer needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove useless patchHauke Mehrtens2015-07-061-10/+0
| | | | | | | | | | | | | This patch was already applied upstream, linux/device.h gets included 2 lines above this change. This was done in this commit: https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/commit/?id=fd6bb301116d48c50722b0a4399e26ab0237e563 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add missing patch chunkFelix Fietkau2015-07-061-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to version 2015-06-22Felix Fietkau2015-07-06176-11378/+1060
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: remove support for the obsolete STA firmwareFelix Fietkau2015-07-061-19/+0
| | | | | | | | | | | Current firmware should work for station mode as well, and the older firmware will usually behave worse and become unsupported over time. Also, the MAC address handling on ar71xx is only implemented on one firmware version. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Update QCA9880 firmware to 10.2.4.70-2Felix Fietkau2015-07-061-3/+3
| | | | | | | | | | This firmware adds support for management frames over normal packet transport interface instead of over the WMI management interface. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Backport ath10k firmware API v5 supportFelix Fietkau2015-07-063-0/+475
| | | | | | | | These patches add support for the new version 5 firmware API. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: make DMA stop related messages debug-only (#11862, #9654)Felix Fietkau2015-07-021-0/+74
| | | | | | | | | | | | | | | | | | | A long time ago, ath9k had issues during reset where the DMA engine would stay active and could potentially corrupt memory. To debug those issues, the driver would print warnings whenever they occur. Nowadays, these issues are gone and the primary cause of these messages is if the MAC is stuck during reset or busy processing a long transmission. This is fairly harmless, yet these messages continue to worry users. To reduce the number of bogus bug reports, turn these messages into debug messages and count their occurence in the "reset" debugfs file. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix build on UMLNicolas Thill2015-06-262-1/+16
| | | | | | | | | | | | | A duplicate include guard prevents inclusion of barrier.h in UML build and this prevents mac80211 from building. This patch re-enables mac80211 hwsim and renames the include guard. See https://lists.openwrt.org/pipermail/openwrt-devel/2015-June/033614.html for details. Signed-off-by: Martin Tippmann <martin.tippmann@gmail.com> Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: disable for kernel 4.1 for nowJonas Gorski2015-06-221-1/+1
| | | | | | | | Backports requires updates to compile successfully. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix ar956x device detectionFelix Fietkau2015-06-215-8/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport some brcmfmac patchesRafał Miłecki2015-06-218-0/+892
| | | | | | | | | | | There are two important patches in this patchset: updating read pointer quicker & rework of .get_station(). There are few more upstream patches that are p2p-related and weren't backported in this commit. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add another fix for some rx/tx dma stop issues, refresh patchesFelix Fietkau2015-06-173-4/+35
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mac80211: bcm53xx has bcma built-inRafał Miłecki2015-06-091-3/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch for synchronous initRafał Miłecki2015-06-081-0/+114
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch reading NVRAM from platformRafał Miłecki2015-06-081-0/+80
| | | | | | | | | This allows e.g. BCM43602 to work out of box, without dumping a proper MTD partition to /lib/firmware/ NVRAM file. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)Rafał Miłecki2015-06-081-0/+32
| | | | | | | | This fixes #19803 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport today's brcmfmac changesRafał Miłecki2015-06-083-0/+223
| | | | | | | | | This adds support for SR400ac NVRAM and fixes /sys/class/ieee80211/*/macaddress Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: move ht_coex variable to mac80211.sh, guarded by 802.11n supportFelix Fietkau2015-06-061-2/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix an issue with stopping rx/tx dma on AR93xxFelix Fietkau2015-06-022-1/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make netifd script create AP interface directlyFelix Fietkau2015-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Before starting hostapd we create interface for it. The problem is we try to create STA interface just to let hostapd change it to AP later. It may fail if device doesn't support STA interfaces or if we already hit a limit. Consider following phy (it's from BCM43602 and brcmfmac): $ iw phy phy0 info | tail valid interface combinations: * #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1, total <= 3, #channels <= 1 Trying to setup 2 interfaces: STA + AP results in: radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf radio0 (1101): Could not read interface wlan0-1 flags: No such device Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport one missed brcmfmac NVRAM-related patchRafał Miłecki2015-05-281-0/+50
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport today's brcmfmac changesRafał Miłecki2015-05-285-0/+323
| | | | | | | | | This fixes various problems with parsing platform NVRAM. It's required to get BCM43602 working in most cases. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45802 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport today's brcmfmac changesRafał Miłecki2015-05-269-0/+696
| | | | | | | | It should improve msgbuf throughput (PCIe devices like BCM43602). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make it work with 3.18.12+Jonas Gorski2015-05-2130-69/+98
| | | | | | | | | | | | | | | 3.18.12 backported 61ada528dea028331e99e8ceaed87c683ad25de2 ("sched/wait: Provide infrastructure to deal with nested blocking") from 3.19, causing the following error on load: [ 13.588000] compat: exports duplicate symbol woken_wake_function (owned by kernel) Fix this by guarding it with a check for 3.18.11 or earlier instead of 3.19. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: apply mesh parameters after starting authsae/wpa_supplicant (#16697)Felix Fietkau2015-05-091-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport brcmfmac to support multiple devices NVRAMRafał Miłecki2015-04-2410-0/+1000
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update brcmfmac to the wireless-drivers-next-for-davem-2015-04-09Rafał Miłecki2015-04-2419-0/+1850
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45576 3c298f89-4303-0410-b956-a3cf2f4a3e73