aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: merge a number of upstream driver fixes/improvementsFelix Fietkau2015-04-1429-25/+1114
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)Felix Fietkau2015-04-111-0/+1
| | | | | | | | | | | | | | | | | | | Two errors "netifd: radio0: sh: bad number" have recently surfaced in system log in trunk when wifi interfaces come up. I tracked the errors to checking numerical values of some config options without ensuring that the option has any value. The errors I see have apparently been introduced by r45051 (ieee80211r in hostapd) and r45326 (start_disabled in mac80211). My patches fix two instances of "bad number", but there may be a third one, as the original report in bug 19345 pre-dates r45326 and already has two "bad number" errors for radio0. https://dev.openwrt.org/ticket/19345 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add start_disabled optionJohn Crispin2015-04-091-2/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make b43 N-PHY default for brcm47xx legacy subtargetRafał Miłecki2015-04-081-3/+2
| | | | | | | | | | | | | | Subtarget legacy is supposed to support all ssb SoC except for BCM4705. There are few BCM4703 devices with 802.11n supprt (WRT160N v1.0, v1.1). Few BCM4704 devices with 802.11n: ASUS WL-500W, Linksys WRT150N v1.0 & v1.1, Linksys WRT300N v1.0, Netgear WNDR3300 v1, WNR834B v1 & v2. It seems we have to enable N-PHY for legacy as well to support above. Unfortunately it increases root.squashfs size by 48 460 B. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: get rid of tx power related log spamFelix Fietkau2015-04-041-0/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update the software queue patch to the version accepted upstreamFelix Fietkau2015-04-037-74/+86
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath: relax regulatory rules for default regd codeFelix Fietkau2015-04-031-0/+47
| | | | | | | | | | | | | Most AP devices out there do not have a properly programmed regulatory domain code, which means they are limited to US frequencies by default. This has been a major annoyance for a long time now. Since no fix for the manfuacturing process seems to be forthcoming, the only sane option seems to be to allow users to change the country code in such cases. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix tx queue allocation issues (#19329)Felix Fietkau2015-03-271-3/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove a leftover patch chunk that should have been deleted in r45061Felix Fietkau2015-03-271-24/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rework memory allocation for software queueing patchFelix Fietkau2015-03-271-22/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mac80211: backport bcma patch renaming IRQ control functionRafał Miłecki2015-03-241-0/+104
| | | | | | | | | This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157 bcma: move PCI IRQ control function to host specific code Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: remove obsolete references to cris and avr32Felix Fietkau2015-03-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: disable for umlSteven Barth2015-03-231-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: include brcmfmac firmware for BCM43602Rafał Miłecki2015-03-201-0/+5
| | | | | | | | It can be found e.g. in Netgear R8000. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update linux-firmware to 2015-03-20Rafał Miłecki2015-03-201-2/+2
| | | | | | | | It includes new Broadcom firmware files for brcmfmac. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: merge a few performance enhancementsFelix Fietkau2015-03-207-1/+550
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update software queueing patchFelix Fietkau2015-03-203-70/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix 5ghz variable nameImre Kaloz2015-03-202-3/+3
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: when looking for VHT, check 5GHz support as wellImre Kaloz2015-03-202-3/+4
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add some improvements to the software queueing codeFelix Fietkau2015-03-174-106/+268
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: include brcmfmac USB firmware only if support was enabledRafał Miłecki2015-03-161-0/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add option for USB support in brcmfmacRafał Miłecki2015-03-161-2/+11
| | | | | | | | This makes it consistent with other buses configuration. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update wiki URLsRafał Miłecki2015-03-161-11/+11
| | | | | | | | linuxwireless.org was moved to wireless.wiki.kernel.org and it RO now Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44806 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add missing dependency for brcmfmac with SDIO support enabled ↵Felix Fietkau2015-03-151-1/+1
| | | | | | | | (fixes #19184) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: disable TPC support for now until bugs have been found and fixedFelix Fietkau2015-03-151-0/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: always select relay support, not just when debugfs is enabled - fixes ↵Felix Fietkau2015-03-141-2/+1
| | | | | | | | an unresolved symbol error Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath: fix selecting the module individually (#19162)Felix Fietkau2015-03-141-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a rounding issue in minstrel MCS rate duration calculationFelix Fietkau2015-03-141-0/+43
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: improve powersave handling in the tx queue rework patchFelix Fietkau2015-03-142-9/+154
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a pointer handling error in the new tx queueing codeFelix Fietkau2015-03-131-6/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Rename 'atheros' target to 'ath25'Felix Fietkau2015-03-131-3/+3
| | | | | | | | Rename 'atheros' target to more precise 'ath25'. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44736 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix a beacon enable handling bugFelix Fietkau2015-03-121-0/+76
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add missing header fileFelix Fietkau2015-03-111-0/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove obsolete patchesFelix Fietkau2015-03-112-43/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Use newer firmware for ath10kFelix Fietkau2015-03-111-3/+3
| | | | | | | | Patch by Bryan Forbes <bryan@reigndropsfall.net> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2015-03-09Felix Fietkau2015-03-11112-2975/+2766
| | | | | | | | | | Based on patch by Bryan Forbes <bryan@reigndropsfall.net> Also update mt76 to update for API changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath5k: fix reset raceJohn Crispin2015-03-051-0/+104
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath5k: channel change fixJohn Crispin2015-03-051-0/+145
| | | | | | Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/mac80211: backport bcma changes from 4.1Rafał Miłecki2015-03-031-0/+318
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: Add PCIe support optionRafał Miłecki2015-02-161-1/+10
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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