Commit Graph

455 Commits (666d5984b9be2b65118a7c907d9d9cdb4dfd7efe)

Author SHA1 Message Date
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
Felix Fietkau bd2731afb9 ath9k: do not force the chainmask to 1 for legacy mode - it makes no sense and it reduces txpower and unnecessarily disables MRC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 02:14:52 +00:00
Felix Fietkau 80d7bfbdd0 mac80211: update to wireless-testing 2010-12-16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 02:00:10 +00:00
Felix Fietkau ef37347914 ath9k: update initvals for ar9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 23:55:32 +00:00
Felix Fietkau 26e6627a39 ath9k: remove code for setting up gpio based baseband rfkill - it was never used, nor configured properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 23:55:23 +00:00
Felix Fietkau 7044125cf1 ath9k: use the number of pending aggregates instead of the queue depth to determine when it is time to form the next A-MPDU
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 23:55:12 +00:00
Felix Fietkau f3845e3992 ath9k: fix some more issues in the paprd changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 08:01:12 +00:00
Felix Fietkau c0c892a7da ath9k: fix a few issues with pa predistortion on ar9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 01:15:38 +00:00
Felix Fietkau 34ffa7558e ath: open up a few safe 5ghz channels in the world regdomain to make the regulatory override unnecessary in a few cases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 01:15:32 +00:00
Felix Fietkau 038503bf8e ath9k: merge a few pending cleanup patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 01:15:23 +00:00
Felix Fietkau d8bacaa21c ath9k: do not adjust the slot time setting for long distance, it seems to cause long latencies and low throughput
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 21:29:48 +00:00
Felix Fietkau 22750fbc55 mac80211: fix IBSS probe response storms on drivers that do not support drv_tx_last_beacon()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 21:29:41 +00:00
Felix Fietkau 94d89b6fcb ath9k: merge a pending patch for fixing tsf read and write
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 21:29:35 +00:00
Felix Fietkau 2a394fb653 ath9k: add missing %pV printk revert
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 10:37:42 +00:00
Felix Fietkau ac1ecc1f77 mac80211: update to 2010-12-09
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 01:45:12 +00:00
Felix Fietkau e3c99b15c0 ath9k: fix non-AMPDU QoS per-tid sequence number assignment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 20:03:46 +00:00
Felix Fietkau 0071fb7d4a mac80211: fix compile errors when LED support in the kernel is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 12:00:09 +00:00
Felix Fietkau 5e704e5af6 ath9k: fix a null pointer deref issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 18:22:43 +00:00
Felix Fietkau cef7610e22 ath9k: fix a DMA related race condition at hw reset time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 16:26:38 +00:00
Felix Fietkau 0b2bc8bac8 ar71xx: work around a PCI controller bug which causes reads to the PCI_COMMAND register to return bogus values - properly fixes ath9k module reload issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 01:32:15 +00:00
Felix Fietkau 4fd20e8c50 mac80211: update to wireless-testing 2010-11-30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 01:32:04 +00:00
Gabor Juhos eb892d137a ath9k: use per-device struct for pm_qos_* operations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 18:39:58 +00:00
Felix Fietkau d2fb3cf3f7 ath9k: fix software retry counter tracking - should fix 802.11n stability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 18:28:19 +00:00
Felix Fietkau 9419300d8a mac80211: merge the new version of the throughput led trigger patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 18:28:12 +00:00
Felix Fietkau de52043720 ath9k: fix module reload on ar713x based systems with ar92xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-27 22:51:03 +00:00
Felix Fietkau 4a12b0531a mac80211: add pending patches for throughput based led blinking and replace the broken ath9k blinking code with it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-27 22:11:13 +00:00
Hauke Mehrtens 7148a451d8 mac80211: cfg80211 should not depend on rfkill.
If rfkill is build as an module CONFIG_RFKILL_MODULE is set and cfg80211 will also depend on that.
Now all modules build from compat-wireless will not use rfkill.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-25 14:45:18 +00:00
Felix Fietkau 7799816a55 mac80211: improve station mode nullfunc probing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-23 02:13:54 +00:00
Felix Fietkau ea42f23b8a mac80211: improve ad-hoc multicast rate handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 19:59:19 +00:00
Felix Fietkau 0d9397dfa8 ath9k_htc: fix eeprom access breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:28:35 +00:00
Felix Fietkau 9eff69c58f ath9k: fix key search for a-mpdu on ar9300
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:28:26 +00:00
Felix Fietkau fe6a038920 ath9k: fix some more endian issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-21 16:52:00 +00:00
Felix Fietkau 0bf1d404de ath9k: fix endian issues on AR9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-20 18:52:55 +00:00
Felix Fietkau 855d465017 mac80211: revert the probe request timeout change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-20 14:16:36 +00:00
Felix Fietkau 5430ba363f mac80211: update to latest wireless-testing + more stability work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-20 02:26:41 +00:00
Felix Fietkau 77b7fb441c mac80211: merge the upstream ht40 fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 01:02:33 +00:00
Felix Fietkau 57f294bfbe ath9k: rework the mac address override patch to not break ath9k_htc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 00:57:35 +00:00
Felix Fietkau 123048f3ca mac80211: merge pending cfg80211 patches to fix a race condition with setting the regdomain for multiple cards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-18 10:06:08 +00:00
Felix Fietkau 8b5704b2e5 mac80211: update to wireless-testing 2010-11-16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-17 03:43:24 +00:00
Felix Fietkau 84f745f85f ath9k: add some fixes for AR9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-16 18:23:05 +00:00
Felix Fietkau 7e6b8b68bb mac80211: fix another 2.6.35 compile error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 18:49:24 +00:00
Felix Fietkau ac8deaa5fe mac80211: fix compile on linux 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-12 16:56:07 +00:00
Felix Fietkau 7faef97df7 mac80211: update to wireless-testing 2010-11-10 + some pending work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11 22:39:12 +00:00
Felix Fietkau fec470a1de ath9k: fix a compile error with debugging disabled (#8189)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 13:51:48 +00:00
Felix Fietkau a92fa53b62 ath9k: fix ath9k_hw_apply_gpio_override so that it's effective
I discovered another bug in the ath9k WNDR3700 quirk fix from r23822.
ath9k_hw_apply_gpio_override was testing the original value of gpio_mask
to determine which bits were appropriate, instead of testing the shifted
value. Because bit 0 is always clear in the original value, this
resulted in no calls to set the GPIOs, an improperly-configured radio,
and reduced RSSI on other systems listening to the radio.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-05 18:05:50 +00:00
Felix Fietkau 3717ede4b0 ath9k: fix enabling SWBA interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 17:05:48 +00:00
Felix Fietkau 04ad609d28 ath9k: fix a few remaining issues in the xmit queue cleanup patch - reduces packet loss under load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 12:26:09 +00:00
Felix Fietkau d7dada693a ath9k: fix cycle counter tracking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:56:05 +00:00
Felix Fietkau b701bc310f ath9k: fix queue pending frame counter tracking by cleaning up tx queue selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:55:59 +00:00
Felix Fietkau 03d213eff1 ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and instead allow the platform device to specify gpio overrides - fixes 5ghz signal strength issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 14:55:53 +00:00
Felix Fietkau 30453b2e5e nl80211: fix a station dump crash triggered by sending an invalid ifindex
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-31 14:32:15 +00:00
Felix Fietkau 297d905bc5 ath9k: fix aggregation flush on ar9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 00:43:17 +00:00
Felix Fietkau 421ba6f553 ath9k: add more pending locking fixes - fixes tx dma hang issues on reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 00:43:11 +00:00
Felix Fietkau 6c73dd781e mac80211: add support for setting the multicast rate for ibss
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-25 23:51:00 +00:00
Felix Fietkau c32d740d5e ath9k: fix an aggregation hang issue that happens when a hardware reset is issued
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-23 15:29:25 +00:00
Felix Fietkau 110205626f ath9k: fix sampling frame handling wrt. aggregation, replace minstrel_ht performance fixes for better performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-21 00:33:00 +00:00
Felix Fietkau 62f0cf52ae mac80211: decrease the minstrel_ht sampling interval for faster rate adaption
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 21:38:31 +00:00
Felix Fietkau c83160c720 mac80211: improve minstrel_ht performance by ensuring that rates get sampled fast enough
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 21:01:06 +00:00
Felix Fietkau c7037b7a49 ath9k: fix a small bug in the handling of a few tx descriptor flags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 21:00:57 +00:00
Felix Fietkau 900d12acb7 ath9k: fix a crash that happens when survey stats are accessed before the interface is brought up for the first time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 14:01:53 +00:00
Felix Fietkau f7d460ac69 ath9k: use the maximum rate power for the channel txpower limits
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 01:05:30 +00:00
Felix Fietkau 1798277ca3 ath9k: add a locking fix that might prevent random memory corruption during hardware resets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-20 00:46:37 +00:00