Commit Graph

253 Commits

Author SHA1 Message Date
Rafał Miłecki
68dc59d438 mac80211: backport one missed brcmfmac NVRAM-related patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45812
2015-05-28 20:57:23 +00:00
Rafał Miłecki
c1cc2217c2 mac80211: backport today's brcmfmac changes
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>

SVN-Revision: 45802
2015-05-28 10:39:11 +00:00
Rafał Miłecki
565eac46b6 mac80211: backport today's brcmfmac changes
It should improve msgbuf throughput (PCIe devices like BCM43602).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45767
2015-05-26 12:14:34 +00:00
Jonas Gorski
072937888e mac80211: make it work with 3.18.12+
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>

SVN-Revision: 45710
2015-05-21 19:32:16 +00:00
Rafał Miłecki
84a3e668fc mac80211: backport brcmfmac to support multiple devices NVRAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45577
2015-04-24 10:53:11 +00:00
Rafał Miłecki
c1a7e13587 mac80211: update brcmfmac to the wireless-drivers-next-for-davem-2015-04-09
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45576
2015-04-24 10:45:33 +00:00
Felix Fietkau
b5073ca2c8 mac80211: merge a number of upstream driver fixes/improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45432
2015-04-14 12:17:34 +00:00
Felix Fietkau
94850b0068 mac80211: get rid of tx power related log spam
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45271
2015-04-04 17:51:53 +00:00
Felix Fietkau
98cd35e477 mac80211: update the software queue patch to the version accepted upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45265
2015-04-03 19:42:33 +00:00
Felix Fietkau
3cc4fd7370 ath: relax regulatory rules for default regd code
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>

SVN-Revision: 45252
2015-04-03 16:39:28 +00:00
Felix Fietkau
54dd25eef4 mac80211: fix tx queue allocation issues (#19329)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45069
2015-03-27 20:31:14 +00:00
Felix Fietkau
b67719f571 mac80211: remove a leftover patch chunk that should have been deleted in r45061
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45064
2015-03-27 15:04:00 +00:00
Felix Fietkau
7cc4cbb4d3 mac80211: rework memory allocation for software queueing patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45061
2015-03-27 14:54:46 +00:00
Rafał Miłecki
a7724918c9 kernel: mac80211: backport bcma patch renaming IRQ control function
This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157
bcma: move PCI IRQ control function to host specific code

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44969
2015-03-24 10:38:59 +00:00
Felix Fietkau
9143cf5fc9 mac80211: merge a few performance enhancements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44910
2015-03-20 16:24:14 +00:00
Felix Fietkau
f7a861615c mac80211: update software queueing patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44909
2015-03-20 16:24:06 +00:00
Felix Fietkau
2e5125c3d6 mac80211: add some improvements to the software queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44872
2015-03-17 17:14:43 +00:00
Felix Fietkau
876fb249a8 ath9k: disable TPC support for now until bugs have been found and fixed
SVN-Revision: 44768
2015-03-15 07:10:38 +00:00
Felix Fietkau
34f831dbd8 ath: fix selecting the module individually (#19162)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44750
2015-03-14 02:00:50 +00:00
Felix Fietkau
90b3984e60 mac80211: fix a rounding issue in minstrel MCS rate duration calculation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44749
2015-03-14 02:00:44 +00:00
Felix Fietkau
25d13b89ee mac80211: improve powersave handling in the tx queue rework patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44748
2015-03-14 02:00:36 +00:00
Felix Fietkau
fce7d5cfc9 mac80211: fix a pointer handling error in the new tx queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44738
2015-03-13 05:17:06 +00:00
Felix Fietkau
690808a3ba ath9k: fix a beacon enable handling bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44696
2015-03-12 16:21:53 +00:00
Felix Fietkau
a67cd94def mac80211: add missing header file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44670
2015-03-11 16:36:35 +00:00
Felix Fietkau
790e704fc7 mac80211: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44669
2015-03-11 16:25:09 +00:00
Felix Fietkau
1e5b7c17b0 mac80211: update to wireless-testing 2015-03-09
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>

SVN-Revision: 44655
2015-03-11 15:02:47 +00:00
John Crispin
8f99faaf21 ath5k: fix reset race
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44603
2015-03-05 20:24:50 +00:00
John Crispin
ecde3110b5 ath5k: channel change fix
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44602
2015-03-05 20:24:45 +00:00
Rafał Miłecki
be2abf706f kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44595
2015-03-03 23:15:49 +00:00
Jo-Philipp Wich
8f7ce3aa6d mac80211: don't hardcode /bin/bash
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>

SVN-Revision: 44283
2015-02-05 23:18:47 +00:00
John Crispin
ee445d7cb2 ath5k: fix spontaneus AR5312 freezes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44252
2015-02-04 06:09:51 +00:00
John Crispin
00a548aea8 mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
http://patchwork.ozlabs.org/patch/434532/

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44222
2015-01-30 08:06:47 +00:00
John Crispin
b86545c86d mac80211: fix NULL pointer crash in monitor frame injection TX path
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>

SVN-Revision: 44220
2015-01-30 08:06:28 +00:00
John Crispin
895edf7c43 libertas: set wireless macaddr
Update the wireless macaddr with the value retrieved from the H/W.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44175
2015-01-28 12:07:35 +00:00
John Crispin
cae76f611a libertas: configure sysfs symlinks
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>

SVN-Revision: 44174
2015-01-28 12:07:29 +00:00
John Crispin
94aebc6bd7 mac80211: add throughput trigger to ath10k
add a led trigger to ath10k based on the ath9k code

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

SVN-Revision: 44033
2015-01-18 10:26:57 +00:00
Felix Fietkau
a570ccd7e2 ath9k: fix irq storm issues (#18483)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43971
2015-01-14 13:20:38 +00:00
Felix Fietkau
beb4318bc3 ath10k: fix tx rate selection for ad-hoc mode with HT
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43790
2014-12-27 13:37:32 +00:00
Felix Fietkau
ff06d03a38 cfg80211: add support for changing the device mac address via sysfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43638
2014-12-11 20:07:58 +00:00
Felix Fietkau
03b49664e5 ath10k: init devices synchronously to fix wifi detection at boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43484
2014-12-01 20:01:05 +00:00
Felix Fietkau
62100c31d6 ath5k: fix hardware queue index assignment
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43442
2014-11-30 21:05:17 +00:00
Felix Fietkau
47f09fd345 ath9k: fix hardware tx queue allocation order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43438
2014-11-30 19:41:59 +00:00
Felix Fietkau
8f7e398350 mac80211: fix a crash on getting the channel in WDS AP mode (#18400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43367
2014-11-24 17:13:54 +00:00
Felix Fietkau
6aeb3528a8 ath9k: fix some ar913x irq handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43342
2014-11-23 12:53:35 +00:00
Felix Fietkau
f80596c9df mac80211: fix a crash on using VHT rates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43340
2014-11-21 22:29:48 +00:00
Felix Fietkau
1ffcc555ef mac80211: add an intermediate software queueing implementation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43325
2014-11-19 20:17:01 +00:00
Felix Fietkau
bc30e04a83 mac80211: add support for passing sta rate table updates to the driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43324
2014-11-19 20:16:55 +00:00
Felix Fietkau
49aca2431c mac80211: fix a crash bug in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43298
2014-11-18 22:20:50 +00:00
Felix Fietkau
9cd492b3e1 mac80211: add support for reporting tx status without attached skb
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43297
2014-11-18 22:20:45 +00:00
Felix Fietkau
dd5959c114 mac80211: fix VHT rate selection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43279
2014-11-16 11:39:07 +00:00