Commit Graph

399 Commits (3eac35527a30495a34b03522554ac88b0efea888)

Author SHA1 Message Date
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