Commit Graph

289 Commits (d982a178aa573594b195ad33853b1dce03fbe38b)

Author SHA1 Message Date
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
9 years ago
Felix Fietkau 6e97442105 ath9k: fix handling of tx headroom for padding (fixes #20556)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47042
9 years ago
Felix Fietkau 528d38b4e9 mac80211: fix a few issues with fast-xmit support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47041
9 years ago
Felix Fietkau 3dc3275b38 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46949
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 98531b425d mac80211: add pending brcmfmac patch fixing warm reboots
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46739
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Felix Fietkau 08c594bf5a mac80211: restore AP scan patch
Signed-off-by: Dmitry Ivanov <dima@ubnt.com>

SVN-Revision: 46535
9 years ago
Felix Fietkau ad5cd9ec1d mac80211: fix an invalid read in minstrel rate sorting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46533
9 years ago
Felix Fietkau 38646926a2 mac80211: fix data alignment of management frames / beacons
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46532
9 years ago
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
9 years ago
Felix Fietkau 9384cc5951 mac80211: update to wireless-testing 2015-07-21
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46436
9 years ago
Felix Fietkau 621dd13590 cfg80211: fix a locking issue (#20098)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46413
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
John Crispin aab3ecdfd8 mac80211: ath9k: fix qca956x name also
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 46243
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Felix Fietkau ba94a9309a mac80211: add missing patch chunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46201
9 years ago
Felix Fietkau b30e092de6 mac80211: update to version 2015-06-22
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46198
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Felix Fietkau 20b3f6683d ath9k: fix ar956x device detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46090
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 0fb87699bd mac80211: add brcmfmac patch for synchronous init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45932
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 68dc59d438 mac80211: backport one missed brcmfmac NVRAM-related patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45812
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 84a3e668fc mac80211: backport brcmfmac to support multiple devices NVRAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45577
9 years ago
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
9 years ago
Felix Fietkau b5073ca2c8 mac80211: merge a number of upstream driver fixes/improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45432
9 years ago
Felix Fietkau 94850b0068 mac80211: get rid of tx power related log spam
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45271
9 years ago
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
9 years ago
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
9 years ago
Felix Fietkau 54dd25eef4 mac80211: fix tx queue allocation issues (#19329)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45069
9 years ago
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
9 years ago
Felix Fietkau 7cc4cbb4d3 mac80211: rework memory allocation for software queueing patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45061
9 years ago
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
9 years ago