Commit Graph

616 Commits (559763bf34091c5df9058d9bed6e97a1097407ae)

Author SHA1 Message Date
Felix Fietkau 70e2bd2294 ath5k: fix restoring the mac timing setting after a sleep clock setting change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 01:08:18 +00:00
Felix Fietkau 8957a7f092 ath5k: delay initial periodic calibration after reset to improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 01:07:59 +00:00
Felix Fietkau 715b35a660 ath9k: clean up pll code for ar9002 to fix 5/10 mhz pll settings for 5ghz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 10:48:58 +00:00
Felix Fietkau 6c702de066 ath5k: fix a crash when setting coverage class before the first channel change (#9586)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 07:48:34 +00:00
Felix Fietkau 9581ae0858 ath9k: add a small hack to make changing the channel bandwidth to 5/10 mhz available through debugfs - does not work on all chipsets and is not recommended for production use yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 16:11:53 +00:00
Felix Fietkau 594927d205 ath9k: merge an upstream patch that provides a minor throughput improvement on ar9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 16:11:33 +00:00
Felix Fietkau 161b325006 ath5k: enable spur mitigation for ar2413 - should improve performance and reliability on those devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 11:33:07 +00:00
Felix Fietkau 29c168f4f5 ath5k: add a missing srev checks for code that lowers the synth voltage - might fix some stability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 05:10:47 +00:00
Felix Fietkau d8ccfa950f ath5k: disable tx power gain correction probing for hardware that does not need or support it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 04:04:54 +00:00
Felix Fietkau afd6c75cf1 mac80211: rename a misnamed patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 04:04:34 +00:00
Hauke Mehrtens b5051f91ff kernel: update ssb and bcma to linux-next next-20110627
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-27 21:28:40 +00:00
Felix Fietkau 98360e16e4 mac80211: merge a pending fix for reestablishing misconfigured aggregation sessions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-27 09:31:09 +00:00
Felix Fietkau 9a1ca00d39 mac80211: add the work-in-progress IBSS HT patch, with some minor fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-24 19:53:22 +00:00
Felix Fietkau 753d0657bb ath9k: add some more pending fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-24 19:53:18 +00:00
Felix Fietkau 2686ccd16d mac80211: update to wireless-testing 2011-06-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-24 19:53:13 +00:00
Hauke Mehrtens b8f56104dc package/mac80211: Add linux 3.0 compatibility
Add patches from Hauke adding linux 3.0 compatibility.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-15 21:16:38 +00:00
Gabor Juhos c6b8c35869 mac80211: add initial support for AR9330
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-01 13:12:31 +00:00
Felix Fietkau f9b45ed9c5 mac80211: update to wireless-testing 2011-05-27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 23:07:29 +00:00
Felix Fietkau 21e17d3230 ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-30 13:38:54 +00:00
Felix Fietkau c4509d34ea ath9k: merge a few bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:45:17 +00:00
Felix Fietkau fe2df7efd1 ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-28 16:27:24 +00:00
Felix Fietkau 4a225d4a2f ath9k: fix some locking issues in the tx fifo cleanup patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 09:33:45 +00:00
Felix Fietkau 681393696a ath9k: clean up tx fifo handling on ar9380 based hardware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:03:08 +00:00
Felix Fietkau 2e316f02fa ath9k: fix a small race condition in the tx_last_beacon patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:03:04 +00:00
Felix Fietkau 716127c2ac ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe requests in ad-hoc mode without creating too much spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:14:15 +00:00
Felix Fietkau e5d1390591 ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in some instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 08:37:38 +00:00
Felix Fietkau 7cf29ea9ae ath9k: fix issues with ad-hoc beacon slot selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:30 +00:00
Felix Fietkau a9b557d1dc mac80211: update to 2011-05-13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:26 +00:00
Felix Fietkau daba13cc2b ath9k: add noise floor calibration fix that should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:35:35 +00:00
Felix Fietkau 3ebb74c8df ath9k: add a new fix for signal strength / noise measurements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 18:23:12 +00:00
Felix Fietkau c80372fee7 mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 01:45:26 +00:00
Felix Fietkau 5a32b7a372 mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 22:23:52 +00:00
Felix Fietkau aae62f77ce mac80211: replace the regd revert patch with a proper fix, add some more pending patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 01:23:23 +00:00
Felix Fietkau cadebdf13b 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-25 18:21:32 +00:00
Felix Fietkau b53cc9e3d9 cfg80211: revert upstream regdomain handling breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-25 18:21:28 +00:00
Felix Fietkau a21fe5047c mac80211: do rate control updates when the HT configuration changes on an interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:40 +00:00
Hauke Mehrtens 54847859f7 mac80211: remove unneeded patch
This was fixed upstream


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 09:32:49 +00:00
Felix Fietkau b7dc13b6a4 mac80211: update to wireless-testing 2011-04-19, contains several beacon related fixes for ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 18:14:35 +00:00
Hauke Mehrtens 4842cc42ba mac80211: b43: Expose PIO mode fallback
Allow reenabling the PIO mode fallback for b43.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:43:19 +00:00
Felix Fietkau bcb77e359a mac80211: re-enable beacon channel hints
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 15:41:45 +00:00
Felix Fietkau 54397f378d ath9k: assign a keycache slot per station for unencrypted links to fix powersave frame filtering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 20:56:14 +00:00
Felix Fietkau dcb16d72ca ath9k: add a patch to show excessive retry counts for single MPDUs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 20:56:10 +00:00
Felix Fietkau 524c0b3960 ath5k: allow simultaneous ad-hoc+ap operation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 16:54:52 +00:00
Felix Fietkau bdbe4f5bb3 ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 23:22:21 +00:00
Felix Fietkau f02838ffb6 ath9k: fix resetting the hw during channel change when the MAC fails to go idle
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 22:46:12 +00:00
Felix Fietkau 03e5f52576 cfg80211: disable processing of 802.11d regulatory hints - it causes invalid regulatory settings on reconnect (fixes #9207)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 16:52:09 +00:00
Felix Fietkau 8e6a4de873 mac80211: fix WPA auth on WDS station interfaces (#9227)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:17:56 +00:00
Gabor Juhos bd945197b2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:23 +00:00
Felix Fietkau 370f14a6d4 ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:08 +00:00
Felix Fietkau f9710f4304 ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:03 +00:00
Felix Fietkau b6ed543785 ath5k: fix mac address detection on dual-radio ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:05 +00:00
Felix Fietkau 642ea5fc59 ath5k: fix 2ghz-only radio handling on ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:00 +00:00
Felix Fietkau fffad37e8c ath5k: decrease interrupt load for rx/tx interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:39 +00:00
Felix Fietkau 4f95d1b0d5 ath5k: clean up debugfs code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:34 +00:00
Hauke Mehrtens 0527ff0694 mac80211: fix compile with older kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:51:30 +00:00
Felix Fietkau 21d34442ce ath5k: add some more performance improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 22:56:51 +00:00
Felix Fietkau a92ad606c4 ath5k: rename a misnamed patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 22:56:47 +00:00
Felix Fietkau ff7dd576d1 ath5k: add a few fixes that improve performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 21:11:06 +00:00
Felix Fietkau 4eb7420893 ath5k: fix tx status reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 19:21:26 +00:00
Felix Fietkau 3677b415da ath9k: properly count retries when frames are filtered due to excessive retries when a client is not in powersave mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:22:01 +00:00
Felix Fietkau 07a823fd30 mac80211: fix reading the station flags in debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:21:57 +00:00
Felix Fietkau 7ab0bc008c ath9k: improve the rx dma stop fix, add more debugging output in case the issue still occurs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 12:18:43 +00:00
Felix Fietkau 91c6b16bed mac80211: fix support for iftype wds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 01:04:44 +00:00
Felix Fietkau 51b4f1df40 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 18:42:22 +00:00
Felix Fietkau 84fdf0bb14 ath9k: fall back to the default noise floor if the calibrated one is not available, fixes signal strength display in initial scan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:04:05 +00:00
Gabor Juhos 6a533903e7 mac80211: move 620-rt2x00_soc_led_support.patch to the correct place
* fixes [26463]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 09:03:33 +00:00
Felix Fietkau e784036e8b mac80211: increase delay between aggregation session negotiation attempts - improves interop with intel clients
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 17:34:55 +00:00
Felix Fietkau 348c9234b3 ath9k: fix missing chip wakeups causing instability issues on at least AR5416 (probably on other devices as well); fixes #9107
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 22:04:38 +00:00
Felix Fietkau d31f5b429d mac80211: fix duplicate probe request reception (triggering unnecessary probe responses in multi-BSSID setups)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 16:06:42 +00:00
Felix Fietkau 3506b55267 ath9k: fix adhoc beacon issues (#9163)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 01:10:01 +00:00
Felix Fietkau 110148ca04 ath9k: fix reported signal strength
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 11:38:39 +00:00
Felix Fietkau fc02260930 ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix some AP mode stability issues on these chips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 14:27:32 +00:00
Felix Fietkau 4855126735 mac80211: disable an unnecessary backport to reduce code size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 14:06:29 +00:00
Felix Fietkau 7bf5bdc57d mac80211: remove an obsolete backport patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 14:06:25 +00:00
Felix Fietkau fc6d7ed63f mac80211: add a pending patch to remove the dependency on ecb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:28:22 +00:00
Felix Fietkau 15655b77dd mac80211: update to wireless-testing 2011-03-24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:12:28 +00:00
Felix Fietkau 99a2af66be ath9k: fix chip wakeup on interface start - should fix some instability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 16:36:48 +00:00
Felix Fietkau b8509c155d mac80211: fix a deadlock in minstrel_ht when a HT client without valid MCS rates connects
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 14:00:59 +00:00
Felix Fietkau 59fd9ef13e mac80211: fix dropping multicast proberequest frames for ad-hoc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-24 13:38:20 +00:00
Felix Fietkau d467ec9a0b ath9k: add a few de-bloating and optimization patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-23 20:16:58 +00:00
Felix Fietkau 40cd387c9a ath9k: merge a pending patch for fixing a stopped queue issue (mostly for client mode)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-23 20:16:53 +00:00
Felix Fietkau b6e1efbc04 mac80211: update to wireless-testing 2011-03-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 21:00:58 +00:00
Felix Fietkau 7980ac363b ath9k: add a patch from linux-wireless@ for reducing driver size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 00:41:55 +00:00
Felix Fietkau fcd8048511 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 03:19:35 +00:00
Felix Fietkau 3129b4f611 ath9k: re-run nfcal only when stuck beacons become more frequent
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:26 +00:00
Felix Fietkau 0b4ffe59ee ath9k: increase ATH_BCBUF, allows creating 8 virtual APs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:22 +00:00
Felix Fietkau 3694ee29cc ath9k: improve precision of beacon timer calculations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:17 +00:00
Felix Fietkau 66d1f54cc0 ath9k: add some minor debugfs cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:12 +00:00
Felix Fietkau 6df0505104 mac80211: add an aggregation rx reorder timeout handling fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-16 02:57:04 +00:00
Felix Fietkau 9cece552de ath9k: force the rx chainmask on ar913x to 0x7 - fixes calibration issues with 2-antenna devices such as the wrt160nl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 01:36:48 +00:00
Felix Fietkau 96e4d708ed ath9k: enable an ar913x specific hardware fix for sending block-ack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 01:36:45 +00:00
Felix Fietkau b3c2781814 mac80211: update to wireless-testing 2011-03-11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 18:38:37 +00:00
Felix Fietkau 4267b60892 mac80211/ath9k: improve pending patches based on review feedback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 20:55:54 +00:00
Felix Fietkau 75d82d079b mac80211: fix spurious channel type changes when vifs are created/deleted
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 19:23:38 +00:00
Felix Fietkau 573a46a6b0 ath9k: add a patch to fix the interoperability issues with intel clients (fixes #8830)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 16:04:37 +00:00
Felix Fietkau 6cba80ccef mac80211: redirect EAP frames on AP VLAN interfaces to the main AP interface to fix a bridging related race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 18:00:45 +00:00
Felix Fietkau 62af7ac841 ath9k: improve tx dma fixes based on review feedback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:37:26 +00:00
Felix Fietkau da9cae627a ath9k: get rid of most of those annoying dma tx stop issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 00:53:05 +00:00
Felix Fietkau a30b1f77be zd1211rw: fix #define collision for register names triggered by compat patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 03:41:27 +00:00
Felix Fietkau e12476873c mac80211: fix minstrel_ht sampling intervals (patch by Daniel Halperin)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 03:41:22 +00:00
Felix Fietkau 129e9e84d3 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 00:37:25 +00:00
Michael Büsch ff6b8cc14a mac80211: Add scan race fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 14:01:46 +00:00
Michael Büsch f5b3b05ba8 mac80211: print message on hw restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:36:43 +00:00
Felix Fietkau 36cf66d067 mac80211: improve ath9k AP A-MPDU PS buffering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:46:15 +00:00
Felix Fietkau 1566a16430 p54: fix a null pointer dereference bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 20:50:45 +00:00
Felix Fietkau ebff4e71da mac80211: update to 2011-02-25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 11:22:26 +00:00
Felix Fietkau 282462f3ea ath9k: fix interrupt enable/disable issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 18:16:48 +00:00
Felix Fietkau 1834b3514d mac80211: add a patch for keeping track of the rx bitrate of remote stations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-10 03:37:32 +00:00
Felix Fietkau a6e3daa099 ath9k: remove an old tx stop workaround which conflicts with the powersave fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-10 03:37:23 +00:00
Felix Fietkau 5c8a529d32 ath9k: improve the power save fix by closing another remaining race condition for setting the TIM bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 23:35:20 +00:00
Felix Fietkau e1c6b03e82 ath9k: add fixes for AP side powersave frame buffering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 19:31:50 +00:00
Felix Fietkau 8847c3ff1c mac80211: update to wireless-testing 2010-02-07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 19:31:43 +00:00
Felix Fietkau 588872e19a 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 12:36:25 +00:00
Felix Fietkau 4f00c98a56 mac80211: fix the check for cloned skbs in the tx path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-07 10:42:40 +00:00
Felix Fietkau cb0133131d 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-05 22:38:23 +00:00
Felix Fietkau 959ac3d1b7 ath9k: reduce false positives in the baseband hang check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-04 12:16:41 +00:00
Felix Fietkau 5e019b31ec mac80211: drop retransmitted data frames from the cooked monitor interface - reduces CPU usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-04 12:16:36 +00:00
Felix Fietkau 2236171bfe cfg80211: revert the max power patch - it seems to be limiting tx power too much on some devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-30 23:35:00 +00:00
Felix Fietkau 49579bfcba cfg80211: do not overwrite the hardware max power setting in the regulatory code, fixes reported tx power values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 13:51:33 +00:00
Felix Fietkau 8d441108f2 ath9k: reduce allocation size, common->cachelz is already added to the buffer size elsewhere
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 16:58:08 +00:00
Felix Fietkau ff6ee0b149 ath9k: fix a compile error in the debug stubs (fixes #8737, #8745)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 16:58:05 +00:00
Felix Fietkau 406f4458c0 ath9k: optimize memory allocations - improves performance and reduces ath9k RAM usage by 2 MB per device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 17:28:12 +00:00
Felix Fietkau a1ee44e27f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:33:50 +00:00
Felix Fietkau 4be63f5f68 ath9k: fix tx queue debug counters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:33:27 +00:00
Felix Fietkau 0d84e3d16f mac80211: update to wireless-testing 2011-01-24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 18:54:16 +00:00
Felix Fietkau 02a85f4657 ath9k: fix some ps wakeup/restore issues that led to crashes and other weird behavior
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-21 17:54:44 +00:00
Felix Fietkau 318102d24a ath9k: disable PA predistortion on AR93xx for now until it is properly fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-21 01:43:32 +00:00
Felix Fietkau c0b3311913 ath9k: remove virtual wiphy support - it was only experimental anyway and it is not going to be maintained anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 23:35:30 +00:00
Felix Fietkau 0327911e71 mac80211: add a few tx related fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 23:35:26 +00:00
Felix Fietkau e1e78982ca mac80211: update to wireless-testing 2010-01-19
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 23:35:21 +00:00
Felix Fietkau b872aec357 mac80211: fix the br_port_exists compatibility macro for 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 13:46:59 +00:00
Felix Fietkau b0d7e5ba2e mac80211: rework wds sta fix - check for the protocol of the incoming frame instead of just the authorized state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-18 14:43:58 +00:00
Felix Fietkau 02e44fa84c mac80211: fix frames looping back to a wds station
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-15 13:41:10 +00:00
Felix Fietkau f6ffc94274 ath9k: fix a few more aggregation related issues, should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-15 13:41:06 +00:00
Felix Fietkau 864cfd9cce mac80211: include the kfifo backport in compat.ko if necessary (fixes libertas, rt2x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-13 23:28:22 +00:00
Felix Fietkau 3bc0285795 ath9k: fix spurious decryption crc error regression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-13 23:07:58 +00:00
Felix Fietkau bb62cfb451 ath9k: reduce the number of false positives triggered by the baseband hang check by only running it when beacon transmission is blocked
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-10 00:25:17 +00:00
Felix Fietkau aa5471daa8 ath9k: add a few aggregation reliability fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-09 20:35:27 +00:00
Felix Fietkau 47ecd476d5 mac80211: update to wireless-testing 2011-01-05, should improve aggregation reliability in ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-09 20:32:25 +00:00
Felix Fietkau ed4b505b38 mac80211: fix a race condition during key deletion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-04 00:37:28 +00:00
Felix Fietkau 6c025a3167 ath9k: add more pending fixes from linux-wireless@
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 15:48:39 +00:00
Felix Fietkau 562bf1e1c8 ath9k: fix rx dma descriptor error flag handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 15:48:18 +00:00
Felix Fietkau 4f26a22695 ath9k: add back the interrupt mitigation tweak and reduce the rx interrupt mitigation times further
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-24 12:09:43 +00:00
Felix Fietkau 57a5a52edf ath9k: add pending fixes for revision checks and handling of the hw workaround register
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-24 12:09:36 +00:00
Alexandros C. Couloumbis 7576b6b36b package/mac80211: fix issue when CONFIG_MAC80211_LEDS is not set.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 14:58:16 +00:00
Hauke Mehrtens add5d2fb07 mac80211: add CONFIG_ATH5K_PCI only when not on aterhos target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 17:39:05 +00:00
Felix Fietkau feb97bc955 mac80211: another optimization for tx performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 18:27:51 +00:00
Felix Fietkau c4f53cf832 mac80211: fix a crash in the tx path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 17:56:32 +00:00
Felix Fietkau 09c7dbd560 mac80211: fix a missing return value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 17:40:09 +00:00
Felix Fietkau 17d7790890 mac80211: significantly reduce the cpu load caused by excessive skb header cloning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 17:23:38 +00:00