Commit graph

905 commits

Author SHA1 Message Date
Florian Fainelli
32f3b1e358 mac80211: backport required changes to support 3.9-rc kernels
SVN-Revision: 36007
2013-03-14 14:45:36 +00:00
Hauke Mehrtens
281e12abae mac80211: b43: increase number of rx slots to 256 again.
SVN-Revision: 35944
2013-03-10 20:24:15 +00:00
Hauke Mehrtens
681769d0c0 mac80211: decrease rx slots to 128, I hope this is a good trade of between stability and memory consumption.
SVN-Revision: 35913
2013-03-09 20:01:55 +00:00
Felix Fietkau
1f77bfff96 build: BSD compile fixes
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.

Mostly small pieces of code changes to get things right on the
specific platform.

Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.

Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Felix Fietkau
15e0ff9322 mac80211: add another minstrel_ht performance improvement
SVN-Revision: 35890
2013-03-05 14:32:31 +00:00
Felix Fietkau
b3e73f3a95 mac80211: merge some more minstrel_ht performance improvements
SVN-Revision: 35848
2013-03-03 12:05:33 +00:00
Felix Fietkau
5f079aacd7 mac80211: merge minstrel_ht rate control performance improvements
SVN-Revision: 35847
2013-03-02 21:00:58 +00:00
Felix Fietkau
23f460abb6 mac80211: another fix for monitor mode handling (fixes #13071)
SVN-Revision: 35846
2013-03-02 18:07:02 +00:00
Felix Fietkau
43d6e5c585 mac80211: fix sending probe requests in client mode, fixes connecting to hidden networks (#13056)
SVN-Revision: 35819
2013-02-26 21:52:59 +00:00
Felix Fietkau
325cb65009 rt2x00: prevent device probe errors with CONFIG_MAC80211_MESH disabled (#13080)
SVN-Revision: 35806
2013-02-26 15:14:32 +00:00
Felix Fietkau
f1bde82f00 ath9k: issue a cold reset after failures or after bringing the chip out of full sleep - fixes many kinds of DMA issues
SVN-Revision: 35785
2013-02-25 19:53:31 +00:00
Hauke Mehrtens
2754907a13 mac80211: brcmsmac: add ap mode support
This does not work very well. I did not got this running in 5GHz mode and it was not very fast.

SVN-Revision: 35763
2013-02-24 01:11:20 +00:00
Felix Fietkau
414a2631b6 mac80211: disable ipv4/ipv6 address notifiers (fixes #13055)
SVN-Revision: 35762
2013-02-24 01:00:39 +00:00
Felix Fietkau
7bd713a76d mac80211: fix monitor mode channel reporting
SVN-Revision: 35761
2013-02-23 18:02:49 +00:00
Felix Fietkau
6dbdadcaa6 mac80211: fix monitor-only injection
SVN-Revision: 35760
2013-02-23 17:41:58 +00:00
Felix Fietkau
dbb21f1641 mac80211: fix wireless extension support
SVN-Revision: 35759
2013-02-23 12:48:14 +00:00
Felix Fietkau
e526c7bc17 mac80211: update to wireless-testing 2013-02-22
SVN-Revision: 35753
2013-02-23 01:12:36 +00:00
Felix Fietkau
c4c43eed04 ath9k: fix rssi issues
SVN-Revision: 35750
2013-02-22 20:11:55 +00:00
Felix Fietkau
d642c4465f ath9k_htc: fix signal strength reporting issues
SVN-Revision: 35749
2013-02-22 16:10:15 +00:00
Hauke Mehrtens
48bc2fbff3 mac80211: b43: Increase number of RX DMA slots
Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>

SVN-Revision: 35671
2013-02-18 20:44:26 +00:00
Felix Fietkau
31718416e6 mac80211: add some small fixes for minstrel_ht CCK support
SVN-Revision: 35576
2013-02-13 09:53:28 +00:00
Felix Fietkau
0564b6beef mac80211: add CCK rate support to minstrel_ht to improve range
SVN-Revision: 35566
2013-02-11 18:59:14 +00:00
Felix Fietkau
11e3592531 ath9k: add support for more antenna mask combinations on AR93xx
SVN-Revision: 35264
2013-01-21 12:46:37 +00:00
Felix Fietkau
e219c56a11 ath9k: merge another round of cleanups and stability fixes, refresh patches
SVN-Revision: 35255
2013-01-20 18:33:21 +00:00
Felix Fietkau
b8ee5a7a1c ath9k: fix a soft lockup on smp systems
SVN-Revision: 35152
2013-01-14 15:58:46 +00:00
Felix Fietkau
fca519e06d ath9k: remove a lock to fix a deadlock on hw reset
SVN-Revision: 35147
2013-01-14 09:51:53 +00:00
Felix Fietkau
58df48212c mac80211: fix monitor mode injection
SVN-Revision: 35145
2013-01-13 22:10:14 +00:00
Gabor Juhos
7695c8b049 mac80211: rt2x00: fix PCI eeprom patch
Fixes the following warnings:

  CC [M] <...>/drivers/net/wireless/rt2x00/rt2800pci.o
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom_file':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:95:2: warning: 'return' with a value, in function returning void [enabled by default]
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:994:2: warning: 'retval' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35143
2013-01-13 20:44:14 +00:00
Felix Fietkau
97578303ff ath9k: fix memory corruption issues on ar5416/ar91xx
SVN-Revision: 35139
2013-01-13 18:55:39 +00:00
Felix Fietkau
27828be83a mac80211: fix enabling HT40-
SVN-Revision: 35096
2013-01-11 13:24:20 +00:00
Felix Fietkau
a27167aa13 mac80211: add a fix for ht40 connections
SVN-Revision: 35094
2013-01-11 11:49:11 +00:00
Felix Fietkau
0d24c70a4b ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices
SVN-Revision: 35089
2013-01-10 18:46:36 +00:00
Felix Fietkau
7762ff1135 ath9k: add some calibration fixes from wireless-testing
SVN-Revision: 35081
2013-01-10 14:09:50 +00:00
Felix Fietkau
52b030cf16 ath9k: correct a logic error in the rx path fix
SVN-Revision: 35067
2013-01-09 15:16:52 +00:00
Felix Fietkau
ddbb25c6a7 mac80211, ath9k: merge some pending fixes from linux-wireless@
SVN-Revision: 35066
2013-01-09 12:56:25 +00:00
Felix Fietkau
5c9fd3b2d2 mac80211: update to 2013-01-07, add several ath9k stability fixes
SVN-Revision: 35063
2013-01-09 12:45:28 +00:00
Felix Fietkau
8447af36e3 ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
SVN-Revision: 34979
2013-01-02 17:37:30 +00:00
Felix Fietkau
b41d96e8b7 mac80211: refresh patches
SVN-Revision: 34911
2012-12-28 21:05:57 +00:00
Felix Fietkau
29d737a976 mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance
SVN-Revision: 34910
2012-12-28 21:05:49 +00:00
Gabor Juhos
a6112c3e8a mac80211: update rt2x00 rx_status patch
Also remove the superfluous ones for ath5k, p54.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34637
2012-12-11 17:49:11 +00:00
Gabor Juhos
1a000cfcef mac80211: zero-out rx_status in rt2x00, ath5k, p54
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34627
2012-12-11 14:16:23 +00:00
Gabor Juhos
51f59a4f53 mac80211: fix possible NULL pointer dereference in ath9k
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34624
2012-12-10 23:21:02 +00:00
Felix Fietkau
b8757c644f mac80211: fix channel context related warnings when using wds ap mode (fixes #12585)
SVN-Revision: 34610
2012-12-10 18:29:17 +00:00
Felix Fietkau
e3128792fe b43: fix tx path skb leaks
SVN-Revision: 34607
2012-12-10 16:43:01 +00:00
Gabor Juhos
dfd718d13d mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34606
2012-12-10 15:46:15 +00:00
Gabor Juhos
0739a2bb9c mac80211: ath9k: fix OTP register offsets for AR9340
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34605
2012-12-10 15:46:13 +00:00
Felix Fietkau
19fc506333 ath5k: fix skb leaks (should fix #12199)
SVN-Revision: 34603
2012-12-10 15:42:34 +00:00
Felix Fietkau
cb9c63048d mac80211: fix setting txpower (#12594)
SVN-Revision: 34594
2012-12-10 13:51:09 +00:00
Felix Fietkau
8d15b064e0 ath9k: improve signal strength / channel noise reporting accuracy
SVN-Revision: 34592
2012-12-10 13:51:02 +00:00
Felix Fietkau
45a0216593 mac80211: refresh patches
SVN-Revision: 34591
2012-12-10 13:50:58 +00:00
Felix Fietkau
77c14b1a99 mac80211: merge fix for carl9170 upstream regression
SVN-Revision: 34590
2012-12-10 13:50:54 +00:00
Felix Fietkau
6716ba9aad mac80211: update to wireless-testing 2012-12-06
SVN-Revision: 34571
2012-12-07 16:46:04 +00:00
Hauke Mehrtens
3365e2caf0 mac80211: brcmsmac: do a read after write when writing objmem to device.
SVN-Revision: 34570
2012-12-07 16:24:35 +00:00
Felix Fietkau
3e5940532d mac80211: clean up patches, replace patching config.mk with a generated sed expression
SVN-Revision: 34531
2012-12-06 14:11:09 +00:00
Gabor Juhos
8cfe4bf9cd mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34464
2012-12-02 20:41:39 +00:00
Gabor Juhos
7a26eb9f13 mac80211: rename a misnamed ath9k patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34463
2012-12-02 20:41:37 +00:00
Gabor Juhos
6c1fbb2d5c mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
[juhosg: move ramips specific stuff into a followup patch]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34269
2012-11-20 07:19:09 +00:00
Gabor Juhos
a2e71a0bbf mac80211/rt2x00: support Rt3352 with external PA
This is needed for WiFi to work e.g. on DIR-615 rev.H1.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34268
2012-11-20 07:19:08 +00:00
Felix Fietkau
f9e59cf29c mac80211: add more tx skb free fixes (hopefully final fix to #11894)
SVN-Revision: 34133
2012-11-10 02:47:33 +00:00
Felix Fietkau
661d1efc80 mac80211: prevent reconfigure calls while interfaces are down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34030
2012-10-31 14:59:12 +00:00
Felix Fietkau
748427f2e4 mac80211: report tx status for dropped frames, should fix some remaining stability issues
SVN-Revision: 33991
2012-10-29 13:29:12 +00:00
Felix Fietkau
c63de0e888 ath9k: add a patch that prevents excessive retry of single frames during an aggregation session
SVN-Revision: 33989
2012-10-29 12:44:37 +00:00
Gabor Juhos
e8fc46b7c5 generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33954
2012-10-27 08:55:36 +00:00
Felix Fietkau
42dc433e65 ath9k: fix a stale bf->bf_next pointer, potentially leading to double-free errors and "Failed to stop Tx DMA" errors
SVN-Revision: 33938
2012-10-25 21:41:56 +00:00
Felix Fietkau
cae349b5ad mac80211: refresh patch
SVN-Revision: 33937
2012-10-25 21:41:52 +00:00
Hauke Mehrtens
dca633f1c8 kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx

SVN-Revision: 33920
2012-10-25 14:33:47 +00:00
Felix Fietkau
3cf25176a4 ath9k: fix operating state check on changing the channel bandwidth via debugfs
SVN-Revision: 33891
2012-10-22 16:23:23 +00:00
Felix Fietkau
7c50aea1ec mac80211: merge a client mode state handling fix, refresh patches
SVN-Revision: 33821
2012-10-17 18:53:46 +00:00
Felix Fietkau
cc59e71f84 mac80211: use ieee80211_free_txskb in a few more places
SVN-Revision: 33695
2012-10-10 13:02:27 +00:00
Hauke Mehrtens
8086b7a750 mac80211: brcmsmac: use firmware extracted from proprietary driver
The firmware from linux-firmware does not support the rev 17 core found
in a bcm4716. The firmware extracted from the proprietary driver
supports this core. Use this firmware instead by default.

SVN-Revision: 33669
2012-10-08 20:18:27 +00:00
Felix Fietkau
51e2b66b57 mac80211: refresh patches
SVN-Revision: 33636
2012-10-07 21:35:33 +00:00
Felix Fietkau
e1ceb94c2f mac80211: use ieee80211_free_txskb in a few more places to prevent skb leaks
SVN-Revision: 33635
2012-10-07 21:35:29 +00:00
Felix Fietkau
8c37a0f098 ath9k: fix invalid register access on single-stream ar93xx devices
SVN-Revision: 33628
2012-10-05 16:15:55 +00:00
Gabor Juhos
c034fc2f40 mac80211/rt2x00: fix lna assignment typo in Rt3352 which went upstream
Reviewing what went into wireless-testing I found a quite nasty mistake,
probably a result of copy&past'ing from the lines below in rt2800lib.c.
This adds another patch to fix that.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33616
2012-10-04 06:34:14 +00:00
Gabor Juhos
2cffcaaae7 mac80211/rt2x00: sync Rt3352 support
The original patch was accepted into linux-next in a slightly modified form.
In order to provide integrity to follow-up patches, replace the patch in OpenWrt
with the (semantically identical) now upstream patch.
(commit 03839951515b0ea2b21d649b1fe7b63f9817d0c8 in wireless-testing)

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33615
2012-10-04 06:34:12 +00:00
Felix Fietkau
b4207dd744 mac80211: allow scans in access point mode (for site survey)
SVN-Revision: 33613
2012-10-03 19:13:20 +00:00
Felix Fietkau
15c884fdb2 ath9k: use ieee80211_free_txskb, might fix hostapd stability issues
SVN-Revision: 33611
2012-10-03 18:57:31 +00:00
Felix Fietkau
5d119f6a8f mac80211: fix regulatory tx power initialization
SVN-Revision: 33610
2012-10-03 18:57:25 +00:00
Felix Fietkau
702bf709d0 mac80211: fix antenna gain and add support for user-defined antenna gain configuration
SVN-Revision: 33585
2012-09-28 18:29:09 +00:00
Felix Fietkau
aef9e61b32 mac80211: rework the current tx power display patch
SVN-Revision: 33584
2012-09-28 18:29:02 +00:00
Felix Fietkau
d3add1f103 mac80211: fix beacon IE power constraint handling
SVN-Revision: 33583
2012-09-28 18:28:54 +00:00
Felix Fietkau
a1c5adc116 ath5k: add a spur mitigation fix
SVN-Revision: 33572
2012-09-27 11:12:13 +00:00
Florian Fainelli
60eec72adb mac80211: refresh patches
SVN-Revision: 33557
2012-09-26 12:53:54 +00:00
Felix Fietkau
4b5bbd82d1 mac80211: avoid sending useless delBA frames on client disassoc
SVN-Revision: 33551
2012-09-25 16:20:30 +00:00
Felix Fietkau
c4ed9131ee ath9k: fix rx filtering for older chipsets, helps with multi-bssid and mesh mode
SVN-Revision: 33550
2012-09-25 16:17:18 +00:00
Felix Fietkau
ef8b5fda8d mac80211: fix regdb locking issues
SVN-Revision: 33398
2012-09-14 13:37:30 +00:00
Felix Fietkau
c9eea9dea9 ath9k: disable PA predistortion by default, since it has been reported to reduce rx sensitivity on some devices (#12135)
SVN-Revision: 33332
2012-09-08 13:18:58 +00:00
Felix Fietkau
6f6af5bee7 mac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more
SVN-Revision: 33331
2012-09-08 11:10:54 +00:00
Gabor Juhos
86ff39c2cb mac80211/rt2800: integrate cosmetic changes in rt3352 support
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33297
2012-08-29 10:37:33 +00:00
Felix Fietkau
c965569d21 ath9k: add fix to improve reliability of powersave clients
SVN-Revision: 33290
2012-08-29 08:16:34 +00:00
Felix Fietkau
eb896ce900 mac80211: reorganize patches
SVN-Revision: 33289
2012-08-29 08:16:31 +00:00
Felix Fietkau
e85962926a mac80211: fix a crash on accessing stale skb->dev references
SVN-Revision: 33279
2012-08-27 12:23:25 +00:00
Felix Fietkau
4a04899c5e ath9k: fix PA predistortion training, fixes hang issues and most likely also fixes #12073
SVN-Revision: 33278
2012-08-27 11:10:36 +00:00
Felix Fietkau
7a341980fa ath9k: add a patch to fix ASPM related issues
SVN-Revision: 33277
2012-08-27 11:07:23 +00:00
Felix Fietkau
4769dd7237 ath5k: add back a patch for fixing eeprom rate power parsing
SVN-Revision: 33198
2012-08-15 14:49:59 +00:00
Felix Fietkau
17e6de20d0 ath9k: fix handling of decryption errors, should improve link stability
SVN-Revision: 33063
2012-08-08 18:23:04 +00:00
Felix Fietkau
9f73d47912 ath5k: revert a buggy tx power related patch
SVN-Revision: 33062
2012-08-08 18:23:00 +00:00
Felix Fietkau
4d39f3f405 ath9k: fix hang issues on hw reset caused by interrupt storms
SVN-Revision: 33055
2012-08-08 12:56:44 +00:00
Felix Fietkau
143ef2c8ff ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms
SVN-Revision: 33032
2012-08-07 09:36:24 +00:00
Felix Fietkau
a55de42c7d ath9k: extend and enable PA predistortion
SVN-Revision: 33031
2012-08-06 22:11:30 +00:00