Commit Graph

290 Commits

Author SHA1 Message Date
Felix Fietkau
42cad88e8f mac80211: add a fix to initialize the tid field in the tx queue struct
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47142
2015-10-05 15:43:14 +00:00
Rafał Miłecki
439669b49c mac80211: backport patch setting TX power in interface info
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47059
2015-09-27 10:25:27 +00:00
Felix Fietkau
6e97442105 ath9k: fix handling of tx headroom for padding (fixes #20556)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47042
2015-09-24 15:02:15 +00:00
Felix Fietkau
528d38b4e9 mac80211: fix a few issues with fast-xmit support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47041
2015-09-24 15:02:07 +00:00
Felix Fietkau
3dc3275b38 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46949
2015-09-16 07:56:47 +00:00
Felix Fietkau
5fa9ed8c10 ath9k: enable hw manual peak calibration for QCA9561
This patch fix https://lists.openwrt.org/pipermail/openwrt-devel/
2015-August/034979.html. As the peak detect calibration is set
incorrectly.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46948
2015-09-16 07:56:41 +00:00
Felix Fietkau
714f7080cf ath10k: reduce dma burst size on newer firmware to fix crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46900
2015-09-13 20:44:09 +00:00
Rafał Miłecki
98531b425d mac80211: add pending brcmfmac patch fixing warm reboots
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46739
2015-08-27 14:39:30 +00:00
Rafał Miłecki
2cd72294b6 mac80211: add pending brcmfmac patches fixing multiple interfaces
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>

SVN-Revision: 46734
2015-08-26 22:10:14 +00:00
Rafał Miłecki
7a68c31a81 mac80211: backport latest patches except for NVRAM support
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>

SVN-Revision: 46724
2015-08-25 15:20:48 +00:00
Jonas Gorski
de19f06d12 mac80211: mwl8k: init devices synchronously
Make sure phys are probed and present before we detect wifis.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46566
2015-08-05 13:56:20 +00:00
Felix Fietkau
08c594bf5a mac80211: restore AP scan patch
Signed-off-by: Dmitry Ivanov <dima@ubnt.com>

SVN-Revision: 46535
2015-07-31 19:49:27 +00:00
Felix Fietkau
ad5cd9ec1d mac80211: fix an invalid read in minstrel rate sorting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46533
2015-07-31 19:49:17 +00:00
Felix Fietkau
38646926a2 mac80211: fix data alignment of management frames / beacons
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46532
2015-07-31 19:49:09 +00:00
Hauke Mehrtens
91bdcc65e9 mac80211: do not add debugfs_create_devm_seqfile() on recent kernel versions
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>

SVN-Revision: 46492
2015-07-25 13:40:43 +00:00
Felix Fietkau
9384cc5951 mac80211: update to wireless-testing 2015-07-21
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46436
2015-07-22 12:45:03 +00:00
Felix Fietkau
621dd13590 cfg80211: fix a locking issue (#20098)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46413
2015-07-18 19:10:38 +00:00
Rafał Miłecki
aee7bf2fca mac80211: add brcmfmac patch fixing user space picked MACs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46288
2015-07-09 18:03:39 +00:00
Rafał Miłecki
4587e39fe7 mac80211: try to workaround some brcmfmac bug with handling interfaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46278
2015-07-09 06:09:50 +00:00
John Crispin
cb52ede81d mac80211: Drop ath10k workaround for providing calibration data
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>

SVN-Revision: 46245
2015-07-07 13:48:06 +00:00
John Crispin
aab3ecdfd8 mac80211: ath9k: fix qca956x name also
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 46243
2015-07-07 13:47:51 +00:00
Hauke Mehrtens
6097f550e0 mac80211: fix compile warning in rt2800lib.c
reorder some parts of the patch to remove the declaration-after-
statement warning.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46205
2015-07-06 21:43:48 +00:00
Hauke Mehrtens
cbe0b6800e mac80211: remove useless patch
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>

SVN-Revision: 46203
2015-07-06 21:31:40 +00:00
Hauke Mehrtens
1b2d8f79fd mac80211: remove useless patch
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>

SVN-Revision: 46202
2015-07-06 21:31:13 +00:00
Felix Fietkau
ba94a9309a mac80211: add missing patch chunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46201
2015-07-06 18:41:17 +00:00
Felix Fietkau
b30e092de6 mac80211: update to version 2015-06-22
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46198
2015-07-06 16:26:34 +00:00
Felix Fietkau
872729c325 mac80211: Backport ath10k firmware API v5 support
These patches add support for the new version 5 firmware API.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 46194
2015-07-06 10:19:02 +00:00
Felix Fietkau
ddfaee36ba ath9k: make DMA stop related messages debug-only (#11862, #9654)
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>

SVN-Revision: 46158
2015-07-02 11:45:08 +00:00
Nicolas Thill
0aa351196a mac80211: fix build on UML
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>

SVN-Revision: 46133
2015-06-26 00:43:03 +00:00
Felix Fietkau
20b3f6683d ath9k: fix ar956x device detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46090
2015-06-21 17:52:12 +00:00
Rafał Miłecki
1909a42ad4 mac80211: backport some brcmfmac patches
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>

SVN-Revision: 46084
2015-06-21 12:07:33 +00:00
Felix Fietkau
e952654f0b ath9k: add another fix for some rx/tx dma stop issues, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46008
2015-06-17 09:09:03 +00:00
Rafał Miłecki
0fb87699bd mac80211: add brcmfmac patch for synchronous init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45932
2015-06-08 15:17:52 +00:00
Rafał Miłecki
1756869a54 mac80211: add brcmfmac patch reading NVRAM from platform
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>

SVN-Revision: 45931
2015-06-08 15:17:35 +00:00
Rafał Miłecki
67159b7ea6 mac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)
This fixes #19803

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

SVN-Revision: 45929
2015-06-08 12:50:47 +00:00
Rafał Miłecki
da01dbff70 mac80211: backport today's brcmfmac changes
This adds support for SR400ac NVRAM and fixes
/sys/class/ieee80211/*/macaddress

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

SVN-Revision: 45928
2015-06-08 12:50:38 +00:00
Felix Fietkau
913ca8200a ath9k: fix an issue with stopping rx/tx dma on AR93xx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45874
2015-06-02 08:47:21 +00:00
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