aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: brcmfmac: Add SDIO support optionRafał Miłecki2015-02-161-0/+16
| | | | | | | | | | | This patch adds SDIO support for the brcmfmac driver. For now only very few boards need it. Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: don't hardcode /bin/bashJo-Philipp Wich2015-02-051-0/+9
| | | | | | | | | Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the build on FreeBSD 10.1. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath5k: fix spontaneus AR5312 freezesJohn Crispin2015-02-041-0/+45
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Revert adding SM Power Save capability to hostapd configurationJohn Crispin2015-02-021-8/+0
| | | | | | | | | | | | | | | Part of rev 44173 added setting the SM Power Save capability in the hostapd.conf file if the driver indicated that it was supported. It appears this was incorrect, because the field in the actual HT Capabilities field in the AP configuration is really a state indication. Just copying the state from the capability resulted in the AP indicating that it had SMPS enabled all the time if it supported SMPS. This effectively just disables all clients from sending packets to the AP with more than one spatial stream, for no good reason. So remove this part of the change. Signed-off-by: Robert Hancock <hancockrwd@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)John Crispin2015-01-301-18/+21
| | | | | | | | http://patchwork.ozlabs.org/patch/434532/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix NULL pointer crash in monitor frame injection TX pathJohn Crispin2015-01-301-1/+1
| | | | | | | | | | | | This "patch to the patch" fixes a NULL pointer derefence crash in the new intermediate software queues. The crash can be reproduced by injecting an 802.11 frame with a BSSID that does not belong to a configured vif. The wperf tool (https://github.com/anyfi/wperf) may be convenient for doing this. Signed-off-by: Johan Almbladh <ja@anyfi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libertas: set wireless macaddrJohn Crispin2015-01-281-0/+11
| | | | | | | | Update the wireless macaddr with the value retrieved from the H/W. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libertas: configure sysfs symlinksJohn Crispin2015-01-281-0/+21
| | | | | | | | | | Update the libertas driver to configure symlinks in sysfs. This enables the driver to be handled correctly by the mac80211/netifd/hostapd scripts. With this patch, the wireless interface is functional on Guruplug Server Plus. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Add some missing 802.11n capabilities to hostapd configurationJohn Crispin2015-01-281-0/+11
| | | | | | | | | Add some missing 802.11n capabilities to the hostapd ht_capab string when supported by the hardware: Spatial Multiplexing Power-Save and 7935-byte AMSDUs. Signed-off-by: Robert Hancock <hancockrwd@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44173 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix fallback to macaddrJohn Crispin2015-01-281-1/+5
| | | | | | | | | | | | | If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't exist) or a path that begins with '/sys/class/ieee80211' (which does not work with the subsequent line to strip '/sys/devices' from the beginning of the path). Modify the checks to detect these conditions, and fallback to using the macaddr. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update libertas_sdio package nameJohn Crispin2015-01-281-5/+5
| | | | | | | | | Change the name of the package to match the module name so it matches the package name referenced by the Kirkwood (Guruplug) profile. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/hostapd: fix HT mode setup for RSN ad-hoc networksFelix Fietkau2015-01-241-29/+33
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add throughput trigger to ath10kJohn Crispin2015-01-181-0/+37
| | | | | | | | add a led trigger to ath10k based on the ath9k code Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix irq storm issues (#18483)Felix Fietkau2015-01-142-2/+55
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix ad-hoc basic/multicast rate regression from r43782Felix Fietkau2015-01-051-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: remove references to symbols TARGET_{ps3,pxcab}.Felix Fietkau2015-01-051-1/+1
| | | | | | | | | Target pxcab and ps3 were removed from maintaince in r34764 and r34765 respectively. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: fix tx rate selection for ad-hoc mode with HTFelix Fietkau2014-12-272-0/+56
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix HT mode selection for ad-hocFelix Fietkau2014-12-221-3/+32
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cfg80211: add support for changing the device mac address via sysfsFelix Fietkau2014-12-111-0/+43
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: do not export the backports linux/module.h, it breaks out-of-tree ↵Felix Fietkau2014-12-101-0/+1
| | | | | | | | driver builds Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43609 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: init devices synchronously to fix wifi detection at bootFelix Fietkau2014-12-011-0/+33
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath5k: fix hardware queue index assignmentFelix Fietkau2014-11-301-0/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix hardware tx queue allocation orderFelix Fietkau2014-11-303-2/+57
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update regdb to master-2014-11-18Felix Fietkau2014-11-271-367/+611
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a crash on getting the channel in WDS AP mode (#18400)Felix Fietkau2014-11-241-0/+82
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix some ar913x irq handling issuesFelix Fietkau2014-11-233-7/+17
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a crash on using VHT ratesFelix Fietkau2014-11-211-0/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no ↵Felix Fietkau2014-11-191-1/+19
| | | | | | | | mask is set Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add an intermediate software queueing implementationFelix Fietkau2014-11-191-0/+498
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add support for passing sta rate table updates to the driverFelix Fietkau2014-11-191-0/+92
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: merge the mt7620a/n subtargetsJohn Crispin2014-11-191-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a crash bug in minstrel_htFelix Fietkau2014-11-181-0/+47
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add support for reporting tx status without attached skbFelix Fietkau2014-11-186-0/+400
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: enable minstrel_ht VHT supportFelix Fietkau2014-11-181-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix VHT rate selectionFelix Fietkau2014-11-161-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport list_last_entryFelix Fietkau2014-11-161-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport devm_kmemdupFelix Fietkau2014-11-161-0/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43277 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix crashes when using shared IRQsFelix Fietkau2014-11-138-7/+125
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix kernel crash on netdev unregister on newer 3.14 kernelsFelix Fietkau2014-11-091-1/+3
| | | | | | | | Based on patch by Mark Milburn Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2014-11-04Felix Fietkau2014-11-0765-3205/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: merge a few pending upstream fixesFelix Fietkau2014-11-0714-85/+365
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove unused patchHauke Mehrtens2014-10-311-40/+0
| | | | | | | | | | This patch added stuff that is already there and if it would be needed this would result in a compile error. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix key flush handling in AP+STAFelix Fietkau2014-10-273-2/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add a few calibration related fixesFelix Fietkau2014-10-253-10/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtlwifi: unbreak usb driversFelix Fietkau2014-10-243-0/+174
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath: process regulatory notifiers with CONFIG_ATH_USER_REGD setFelix Fietkau2014-10-231-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: fix survey output channel in-use flagFelix Fietkau2014-10-231-0/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix tx power reportingFelix Fietkau2014-10-2211-70/+205
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge ar9580/ar955x initval updatesFelix Fietkau2014-10-222-0/+199
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge a regulatory handling fixFelix Fietkau2014-10-224-3/+59
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43028 3c298f89-4303-0410-b956-a3cf2f4a3e73