aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* mac80211: fallback to wpa_supplicant to setup encrypted meshFelix Fietkau2015-04-201-4/+3
| | | | | | | | | | instead of failing when authsae is not installed, also try using wpa_supplicant as the newly added -mesh variants support mesh mode and SAE encryption. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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