Commit graph

543 commits

Author SHA1 Message Date
Felix Fietkau
6400498b35 ath9k: fix a small race condition in the tx_last_beacon patch
SVN-Revision: 26933
2011-05-18 12:03:04 +00:00
Felix Fietkau
888bee4ef2 ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe requests in ad-hoc mode without creating too much spam
SVN-Revision: 26923
2011-05-17 11:14:15 +00:00
Felix Fietkau
c6a93676de ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in some instances
SVN-Revision: 26915
2011-05-17 08:37:38 +00:00
Felix Fietkau
7b84bc2f39 ath9k: fix issues with ad-hoc beacon slot selection
SVN-Revision: 26913
2011-05-16 21:50:30 +00:00
Felix Fietkau
c2bee5a64a mac80211: update to 2011-05-13
SVN-Revision: 26912
2011-05-16 21:50:26 +00:00
Felix Fietkau
dbea075cd4 ath9k: add noise floor calibration fix that should improve stability
SVN-Revision: 26819
2011-05-04 14:35:35 +00:00
Felix Fietkau
28fb716737 ath9k: add a new fix for signal strength / noise measurements
SVN-Revision: 26798
2011-05-01 18:23:12 +00:00
Felix Fietkau
ebcc60cf35 mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
SVN-Revision: 26795
2011-05-01 01:45:26 +00:00
Felix Fietkau
6b376db844 mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
SVN-Revision: 26768
2011-04-26 22:23:52 +00:00
Felix Fietkau
359e667fd5 mac80211: replace the regd revert patch with a proper fix, add some more pending patches
SVN-Revision: 26761
2011-04-26 01:23:23 +00:00
Felix Fietkau
f2ccc3ada5 ath9k: remove the signal strength fix, it causes a lot of confusion and seems to be just as inaccurate as the original version of the code
SVN-Revision: 26753
2011-04-25 18:21:32 +00:00
Felix Fietkau
9dbcf86d8e cfg80211: revert upstream regdomain handling breakage
SVN-Revision: 26752
2011-04-25 18:21:28 +00:00
Felix Fietkau
e15e8f6976 mac80211: do rate control updates when the HT configuration changes on an interface
SVN-Revision: 26750
2011-04-23 21:34:40 +00:00
Hauke Mehrtens
6986b1b7c2 mac80211: remove unneeded patch
This was fixed upstream

SVN-Revision: 26745
2011-04-21 09:32:49 +00:00
Felix Fietkau
970252faf8 mac80211: update to wireless-testing 2011-04-19, contains several beacon related fixes for ath9k
SVN-Revision: 26744
2011-04-20 18:14:35 +00:00
Hauke Mehrtens
becddc9ec7 mac80211: b43: Expose PIO mode fallback
Allow reenabling the PIO mode fallback for b43.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26735
2011-04-19 21:43:19 +00:00
Felix Fietkau
9d0882b720 mac80211: re-enable beacon channel hints
SVN-Revision: 26723
2011-04-19 15:41:45 +00:00
Felix Fietkau
032a3504ee ath9k: assign a keycache slot per station for unencrypted links to fix powersave frame filtering
SVN-Revision: 26712
2011-04-17 20:56:14 +00:00
Felix Fietkau
cbc16e179e ath9k: add a patch to show excessive retry counts for single MPDUs
SVN-Revision: 26711
2011-04-17 20:56:10 +00:00
Felix Fietkau
69f8f5ebfd ath5k: allow simultaneous ad-hoc+ap operation
SVN-Revision: 26685
2011-04-15 16:54:52 +00:00
Felix Fietkau
39fc0fc2f7 ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it
SVN-Revision: 26668
2011-04-14 23:22:21 +00:00
Felix Fietkau
e0aa62e3c2 ath9k: fix resetting the hw during channel change when the MAC fails to go idle
SVN-Revision: 26665
2011-04-14 22:46:12 +00:00
Felix Fietkau
79ecac89e6 cfg80211: disable processing of 802.11d regulatory hints - it causes invalid regulatory settings on reconnect (fixes #9207)
SVN-Revision: 26662
2011-04-14 16:52:09 +00:00
Felix Fietkau
966dee23c3 mac80211: fix WPA auth on WDS station interfaces (#9227)
SVN-Revision: 26609
2011-04-12 17:17:56 +00:00
Gabor Juhos
5ffdddc75e mac80211: ath9k: register id table for platform device
Currently the device id in the platform driver is hardcoded to an
id which is specific to AR9130/AR9132 SOCs as it supports only wmac
(wireless mac) of these SOCs. But this needs to be dynamic when we
want to support different wmac of SOCs. So add id_table to driver to
make it extendable to more SOCs.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

SVN-Revision: 26604
2011-04-12 09:29:23 +00:00
Felix Fietkau
93da23803b ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
SVN-Revision: 26587
2011-04-11 03:26:08 +00:00
Felix Fietkau
092de86b0a ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
SVN-Revision: 26586
2011-04-11 03:26:03 +00:00
Felix Fietkau
718f5aa78e ath5k: fix mac address detection on dual-radio ar5312
SVN-Revision: 26583
2011-04-10 21:12:05 +00:00
Felix Fietkau
8ab360f9b3 ath5k: fix 2ghz-only radio handling on ar5312
SVN-Revision: 26582
2011-04-10 21:12:00 +00:00
Felix Fietkau
702a2f8430 ath5k: decrease interrupt load for rx/tx interrupts
SVN-Revision: 26579
2011-04-10 16:23:39 +00:00
Felix Fietkau
cffea3eb4e ath5k: clean up debugfs code
SVN-Revision: 26578
2011-04-10 16:23:34 +00:00
Hauke Mehrtens
1c64f756d4 mac80211: fix compile with older kernel versions
SVN-Revision: 26573
2011-04-09 23:51:30 +00:00
Felix Fietkau
8ee695885a ath5k: add some more performance improvements
SVN-Revision: 26566
2011-04-09 22:56:51 +00:00
Felix Fietkau
3df1de1b80 ath5k: rename a misnamed patch
SVN-Revision: 26565
2011-04-09 22:56:47 +00:00
Felix Fietkau
f9be6569c8 ath5k: add a few fixes that improve performance
SVN-Revision: 26564
2011-04-09 21:11:06 +00:00
Felix Fietkau
3ce630447a ath5k: fix tx status reporting
SVN-Revision: 26563
2011-04-09 19:21:26 +00:00
Felix Fietkau
8371085c8b ath9k: properly count retries when frames are filtered due to excessive retries when a client is not in powersave mode
SVN-Revision: 26545
2011-04-09 15:22:01 +00:00
Felix Fietkau
ad6cb6294e mac80211: fix reading the station flags in debugfs
SVN-Revision: 26544
2011-04-09 15:21:57 +00:00
Felix Fietkau
5505e8f61e ath9k: improve the rx dma stop fix, add more debugging output in case the issue still occurs
SVN-Revision: 26532
2011-04-08 12:18:43 +00:00
Felix Fietkau
070c2ba1f4 mac80211: fix support for iftype wds
SVN-Revision: 26531
2011-04-08 01:04:44 +00:00
Felix Fietkau
34643f24ed mac80211: update to wireless-testing 2011-04-06
adds some more pending patches which (among other things) fix the 'failed to stop RX DMA' messages

SVN-Revision: 26506
2011-04-07 18:42:22 +00:00
Felix Fietkau
a4e59b89b8 ath9k: fall back to the default noise floor if the calibrated one is not available, fixes signal strength display in initial scan
SVN-Revision: 26494
2011-04-05 19:04:05 +00:00
Gabor Juhos
6c757c4cbe mac80211: move 620-rt2x00_soc_led_support.patch to the correct place
* fixes [26463]

SVN-Revision: 26467
2011-04-04 09:03:33 +00:00
Felix Fietkau
aa550f9307 mac80211: increase delay between aggregation session negotiation attempts - improves interop with intel clients
SVN-Revision: 26444
2011-04-03 17:34:55 +00:00
Felix Fietkau
b9e759ae5a ath9k: fix missing chip wakeups causing instability issues on at least AR5416 (probably on other devices as well); fixes #9107
SVN-Revision: 26418
2011-04-02 22:04:38 +00:00
Felix Fietkau
f5eeb3f74d mac80211: fix duplicate probe request reception (triggering unnecessary probe responses in multi-BSSID setups)
SVN-Revision: 26408
2011-04-02 16:06:42 +00:00
Felix Fietkau
8becf17417 ath9k: fix adhoc beacon issues (#9163)
SVN-Revision: 26395
2011-04-02 01:10:01 +00:00
Felix Fietkau
15e79b479a ath9k: fix reported signal strength
SVN-Revision: 26368
2011-03-30 11:38:39 +00:00
Felix Fietkau
da0ac5027e ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix some AP mode stability issues on these chips
SVN-Revision: 26316
2011-03-27 14:27:32 +00:00
Felix Fietkau
98267669b0 mac80211: disable an unnecessary backport to reduce code size
SVN-Revision: 26303
2011-03-26 14:06:29 +00:00
Felix Fietkau
75e785511a mac80211: remove an obsolete backport patch
SVN-Revision: 26302
2011-03-26 14:06:25 +00:00
Felix Fietkau
0c98b6b2d2 mac80211: add a pending patch to remove the dependency on ecb
SVN-Revision: 26295
2011-03-25 21:28:22 +00:00
Felix Fietkau
1938d5a669 mac80211: update to wireless-testing 2011-03-24
SVN-Revision: 26293
2011-03-25 21:12:28 +00:00
Felix Fietkau
ea6bf64605 ath9k: fix chip wakeup on interface start - should fix some instability issues
SVN-Revision: 26290
2011-03-25 16:36:48 +00:00
Felix Fietkau
1526792622 mac80211: fix a deadlock in minstrel_ht when a HT client without valid MCS rates connects
SVN-Revision: 26287
2011-03-25 14:00:59 +00:00
Felix Fietkau
2eda9ca634 mac80211: fix dropping multicast proberequest frames for ad-hoc
SVN-Revision: 26284
2011-03-24 13:38:20 +00:00
Felix Fietkau
4cbdad0e9d ath9k: add a few de-bloating and optimization patches
SVN-Revision: 26281
2011-03-23 20:16:58 +00:00
Felix Fietkau
80239ff7b0 ath9k: merge a pending patch for fixing a stopped queue issue (mostly for client mode)
SVN-Revision: 26280
2011-03-23 20:16:53 +00:00
Felix Fietkau
ee7f3d21f4 mac80211: update to wireless-testing 2011-03-22
SVN-Revision: 26273
2011-03-22 21:00:58 +00:00
Felix Fietkau
b85cfd52d8 ath9k: add a patch from linux-wireless@ for reducing driver size
SVN-Revision: 26264
2011-03-22 00:41:55 +00:00
Felix Fietkau
eaa07dd900 mac80211: initialize the last rx time when creating a station
should hopefully finally take care of the nasty reassociation issues which showed up as
Jan  1 00:51:10 OpenWrt daemon.info hostapd: wlan0: STA 00:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity
right after associating, leading to an immediate disconnect.
Will probably fix #8343, #8830 and others.

SVN-Revision: 26251
2011-03-21 03:19:35 +00:00
Felix Fietkau
562468651d ath9k: re-run nfcal only when stuck beacons become more frequent
SVN-Revision: 26250
2011-03-21 02:22:26 +00:00
Felix Fietkau
bc8410cd76 ath9k: increase ATH_BCBUF, allows creating 8 virtual APs
SVN-Revision: 26249
2011-03-21 02:22:22 +00:00
Felix Fietkau
4838baefa7 ath9k: improve precision of beacon timer calculations
SVN-Revision: 26248
2011-03-21 02:22:17 +00:00
Felix Fietkau
c12de7c4c1 ath9k: add some minor debugfs cleanups
SVN-Revision: 26247
2011-03-21 02:22:12 +00:00
Felix Fietkau
61bce8b1f0 mac80211: add an aggregation rx reorder timeout handling fix
SVN-Revision: 26185
2011-03-16 02:57:04 +00:00
Felix Fietkau
8d08f4473b ath9k: force the rx chainmask on ar913x to 0x7 - fixes calibration issues with 2-antenna devices such as the wrt160nl
SVN-Revision: 26168
2011-03-15 01:36:48 +00:00
Felix Fietkau
8144d60d83 ath9k: enable an ar913x specific hardware fix for sending block-ack
SVN-Revision: 26167
2011-03-15 01:36:45 +00:00
Felix Fietkau
66a6f82ee3 mac80211: update to wireless-testing 2011-03-11
SVN-Revision: 26128
2011-03-13 18:38:37 +00:00
Felix Fietkau
3a77dae1d4 mac80211/ath9k: improve pending patches based on review feedback
SVN-Revision: 26041
2011-03-11 20:55:54 +00:00
Felix Fietkau
3efcd0a1fc mac80211: fix spurious channel type changes when vifs are created/deleted
SVN-Revision: 26038
2011-03-11 19:23:38 +00:00
Felix Fietkau
6160443867 ath9k: add a patch to fix the interoperability issues with intel clients (fixes #8830)
SVN-Revision: 26036
2011-03-11 16:04:37 +00:00
Felix Fietkau
0f6ddd5116 mac80211: redirect EAP frames on AP VLAN interfaces to the main AP interface to fix a bridging related race condition
SVN-Revision: 26016
2011-03-10 18:00:45 +00:00
Felix Fietkau
34f90988dd ath9k: improve tx dma fixes based on review feedback
SVN-Revision: 26005
2011-03-10 13:37:26 +00:00
Felix Fietkau
2aa1e6f1bb ath9k: get rid of most of those annoying dma tx stop issues
SVN-Revision: 25988
2011-03-10 00:53:05 +00:00
Felix Fietkau
fb15c3737c zd1211rw: fix #define collision for register names triggered by compat patches
SVN-Revision: 25965
2011-03-09 03:41:27 +00:00
Felix Fietkau
730dc33c75 mac80211: fix minstrel_ht sampling intervals (patch by Daniel Halperin)
SVN-Revision: 25964
2011-03-09 03:41:22 +00:00
Felix Fietkau
1b7f3d2a31 ath9k: remove support for in-bss promisc mode, the rx filter flag is too broad and in-bss promisc mode is not particularly useful. should fix most (or all) instances of "ath: Could not stop RX..." error messages
SVN-Revision: 25963
2011-03-09 00:37:25 +00:00
Michael Büsch
b2fa5ab236 mac80211: Add scan race fix
SVN-Revision: 25930
2011-03-07 14:01:46 +00:00
Michael Büsch
9649777395 mac80211: print message on hw restart
SVN-Revision: 25926
2011-03-07 12:36:43 +00:00
Felix Fietkau
1f08de0a7e mac80211: improve ath9k AP A-MPDU PS buffering
SVN-Revision: 25779
2011-02-27 21:46:15 +00:00
Felix Fietkau
ba5bfe48c3 p54: fix a null pointer dereference bug
SVN-Revision: 25775
2011-02-27 20:50:45 +00:00
Felix Fietkau
39570be248 mac80211: update to 2011-02-25
SVN-Revision: 25749
2011-02-27 11:22:26 +00:00
Felix Fietkau
b1b8cf1870 ath9k: fix interrupt enable/disable issues
SVN-Revision: 25575
2011-02-18 18:16:48 +00:00
Felix Fietkau
34e87dad4d mac80211: add a patch for keeping track of the rx bitrate of remote stations
SVN-Revision: 25441
2011-02-10 03:37:32 +00:00
Felix Fietkau
ebb2cdbea8 ath9k: remove an old tx stop workaround which conflicts with the powersave fixes
SVN-Revision: 25439
2011-02-10 03:37:23 +00:00
Felix Fietkau
6ff025f306 ath9k: improve the power save fix by closing another remaining race condition for setting the TIM bit
SVN-Revision: 25428
2011-02-08 23:35:20 +00:00
Felix Fietkau
c6996a7d7d ath9k: add fixes for AP side powersave frame buffering
SVN-Revision: 25426
2011-02-08 19:31:50 +00:00
Felix Fietkau
d807f70e47 mac80211: update to wireless-testing 2010-02-07
SVN-Revision: 25425
2011-02-08 19:31:43 +00:00
Felix Fietkau
32d08d2dea ath: fix world regulatory domain fix-up so that all regulatory rules are processed
r24503 (trunk) and r24505 (backfire) revised the regulatory rules used
for the ath drivers' world regulatory domains in the 5GHz band by
opening up channels 36, 40, 44, and 48 to being used without the
*_PASSIVE_SCAN and *_NO_IBSS flags set. This was done by breaking
ATH9K_5GHZ_5150_5350 into two REG_RULES. The various struct
ieee80211_regdomains that reference these rules in their reg_rules
fields need to have their n_reg_rules fields updated accordingly.

SVN-Revision: 25418
2011-02-08 12:36:25 +00:00
Felix Fietkau
55bd66663d mac80211: fix the check for cloned skbs in the tx path
SVN-Revision: 25398
2011-02-07 10:42:40 +00:00
Felix Fietkau
2ed844f6a5 mac80211: when operating as a 4-addr station, do not pick up 4-addr frames meant for other stations, as this would confuse the bridge layer
SVN-Revision: 25378
2011-02-05 22:38:23 +00:00
Felix Fietkau
2a17a1dd1d ath9k: reduce false positives in the baseband hang check
SVN-Revision: 25359
2011-02-04 12:16:41 +00:00
Felix Fietkau
2d5c6da16a mac80211: drop retransmitted data frames from the cooked monitor interface - reduces CPU usage
SVN-Revision: 25358
2011-02-04 12:16:36 +00:00
Felix Fietkau
e00933b6d6 cfg80211: revert the max power patch - it seems to be limiting tx power too much on some devices
SVN-Revision: 25258
2011-01-30 23:35:00 +00:00
Felix Fietkau
e146d9b386 cfg80211: do not overwrite the hardware max power setting in the regulatory code, fixes reported tx power values
SVN-Revision: 25238
2011-01-29 13:51:33 +00:00
Felix Fietkau
04628c88d4 ath9k: reduce allocation size, common->cachelz is already added to the buffer size elsewhere
SVN-Revision: 25205
2011-01-28 16:58:08 +00:00
Felix Fietkau
0a54236bea ath9k: fix a compile error in the debug stubs (fixes #8737, #8745)
SVN-Revision: 25204
2011-01-28 16:58:05 +00:00
Felix Fietkau
10923cff7e ath9k: optimize memory allocations - improves performance and reduces ath9k RAM usage by 2 MB per device
SVN-Revision: 25115
2011-01-26 17:28:12 +00:00
Felix Fietkau
5903f4a167 mac80211: Improve ath5k/ar71xx PCI bug WAR
It has been confirmed by Atheros that this PCI bug affects the RX side only,
so we can keep the 128B DMA size for TX.

With this change we can double the thruput of ath5k from 15Mps to 30Mbps.

We have been using this patch since more than 6 month in a production
environment without problems and a significant performance improvement.

It has also been said to fix HW encryption:
http://www.mail-archive.com/ath5k-devel@lists.ath5k.org/msg04311.html

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25104
2011-01-26 11:33:50 +00:00