Commit graph

666 commits

Author SHA1 Message Date
Felix Fietkau
718645d581 mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet
SVN-Revision: 25192
2011-01-28 12:01:54 +00:00
Jo-Philipp Wich
a580764a9f mac80211: fix order of iw parameters, fix broken antenna config call
SVN-Revision: 25152
2011-01-27 16:00:02 +00:00
Vasilis Tsiligiannis
e6a9e6875a mac80211: Fix antenna setting when only one of {rx,tx}antenna options is specified
SVN-Revision: 25136
2011-01-27 09:13:51 +00:00
Jo-Philipp Wich
3b0c90325e mac80211: add missing done to mac80211.sh (#8735)
SVN-Revision: 25131
2011-01-26 21:01:23 +00:00
Jo-Philipp Wich
49d060dc1b mac80211: add mising esac to mac80211.sh
SVN-Revision: 25122
2011-01-26 20:37:12 +00:00
Jo-Philipp Wich
4e369e5378 mac80211: rework recent mac80211.sh additions: - split antenna options into rxantenna and txantenna to bring it in line with broadcom and madwifi - get rid of temporary variables - follow the documented config protocol for wep keys (option key # + option key# [s:]data)
SVN-Revision: 25116
2011-01-26 18:01:26 +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
0cd2b87f95 mac80211: Add new parameters to mac80211.sh
Add new options 'bintval' (beacon interval), 'basicrates' (basic rates) and
'antenna' (antenna selection) for /etc/config/wireless to be used with
mac80211 drivers.

Enable WEP encryption for IBSS mode.

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

SVN-Revision: 25111
2011-01-26 11:34:15 +00:00
Felix Fietkau
cfdfc8c05b mac80211: Add mac address filter configuration for hostapd
Add support of mac address filter. Now 'macfilter' and 'maclist' options
can be used with mac80211.

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

SVN-Revision: 25105
2011-01-26 11:33:54 +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
Felix Fietkau
998da1234f ath9k: fix tx queue debug counters
SVN-Revision: 25099
2011-01-26 11:33:27 +00:00
Felix Fietkau
9b34dfb571 mac80211: update to wireless-testing 2011-01-24
SVN-Revision: 25093
2011-01-24 18:54:16 +00:00
Felix Fietkau
fa542df6e1 ath9k: kmod-ath9k has no extra menuconfig options, remove MENU:=1 (#8695)
SVN-Revision: 25060
2011-01-21 18:32:06 +00:00
Felix Fietkau
c646f205e2 ath9k: fix some ps wakeup/restore issues that led to crashes and other weird behavior
SVN-Revision: 25058
2011-01-21 17:54:44 +00:00
Felix Fietkau
02bf1599a3 ath9k: disable PA predistortion on AR93xx for now until it is properly fixed
SVN-Revision: 25056
2011-01-21 01:43:32 +00:00
Felix Fietkau
be39c9dc6e ath9k: remove virtual wiphy support - it was only experimental anyway and it is not going to be maintained anymore
SVN-Revision: 25055
2011-01-20 23:35:30 +00:00
Felix Fietkau
86a9bbe4ba mac80211: add a few tx related fixes
SVN-Revision: 25054
2011-01-20 23:35:26 +00:00
Felix Fietkau
4ee2365159 mac80211: update to wireless-testing 2010-01-19
SVN-Revision: 25053
2011-01-20 23:35:21 +00:00
Felix Fietkau
876dd50e11 mac80211: fix the br_port_exists compatibility macro for 2.6.38
SVN-Revision: 25051
2011-01-20 13:46:59 +00:00
Felix Fietkau
817ee250d7 mac80211: rework wds sta fix - check for the protocol of the incoming frame instead of just the authorized state
SVN-Revision: 25039
2011-01-18 14:43:58 +00:00
Felix Fietkau
6cf6302a78 mac80211: fix compile errors on powerpc
SVN-Revision: 25014
2011-01-16 01:24:48 +00:00
Felix Fietkau
1a7a36b0a4 mac80211: fix frames looping back to a wds station
SVN-Revision: 25008
2011-01-15 13:41:10 +00:00
Felix Fietkau
098e2d7ca1 ath9k: fix a few more aggregation related issues, should improve stability
SVN-Revision: 25007
2011-01-15 13:41:06 +00:00
Felix Fietkau
f05691af93 mac80211: include the kfifo backport in compat.ko if necessary (fixes libertas, rt2x00)
SVN-Revision: 24978
2011-01-13 23:28:22 +00:00
Felix Fietkau
2c0ac457ed ath9k: fix spurious decryption crc error regression
SVN-Revision: 24976
2011-01-13 23:07:58 +00:00
Jo-Philipp Wich
253f4d82f2 mac80211: support per-vif wmm option, defaults to 1 if unset
SVN-Revision: 24966
2011-01-11 13:19:53 +00:00
Felix Fietkau
a339e58d72 ath9k: reduce the number of false positives triggered by the baseband hang check by only running it when beacon transmission is blocked
SVN-Revision: 24954
2011-01-10 00:25:17 +00:00
Felix Fietkau
6528a58151 ath9k: add a few aggregation reliability fixes
SVN-Revision: 24949
2011-01-09 20:35:27 +00:00
Felix Fietkau
56647592a4 mac80211: update to wireless-testing 2011-01-05, should improve aggregation reliability in ath9k
SVN-Revision: 24948
2011-01-09 20:32:25 +00:00
Imre Kaloz
e9013bff66 fix md5sum, use our mirror with a fixed-up filename to make sure we get the right fw version
SVN-Revision: 24901
2011-01-04 16:39:16 +00:00
Felix Fietkau
8c7ea4384c mac80211: fix a race condition during key deletion
SVN-Revision: 24895
2011-01-04 00:37:28 +00:00
Imre Kaloz
4a177f01a2 use the latest fw release
SVN-Revision: 24894
2011-01-03 18:17:01 +00:00
Imre Kaloz
e99f8f2dd0 tune ath dependencies - carl9170 can be used on targets with usb but without pci
SVN-Revision: 24893
2011-01-03 18:16:05 +00:00
Felix Fietkau
a718ebf1ed ath9k: add more pending fixes from linux-wireless@
SVN-Revision: 24858
2010-12-30 15:48:39 +00:00
Felix Fietkau
f1becde97b ath9k: fix rx dma descriptor error flag handling
SVN-Revision: 24855
2010-12-30 15:48:18 +00:00
Felix Fietkau
61e492d316 ath9k: add back the interrupt mitigation tweak and reduce the rx interrupt mitigation times further
SVN-Revision: 24819
2010-12-24 12:09:43 +00:00
Felix Fietkau
3a9c856475 ath9k: add pending fixes for revision checks and handling of the hw workaround register
SVN-Revision: 24818
2010-12-24 12:09:36 +00:00
Alexandros C. Couloumbis
69b7963402 package/mac80211: fix issue when CONFIG_MAC80211_LEDS is not set.
SVN-Revision: 24813
2010-12-23 14:58:16 +00:00
Hauke Mehrtens
54ffa895f2 mac80211: add CONFIG_ATH5K_PCI only when not on aterhos target
SVN-Revision: 24801
2010-12-22 17:39:05 +00:00
Hauke Mehrtens
3e668eb7b7 mac80211: rmove unused config symbols.
CONFIG_RT2800PCI_PCI and CONFIG_RT2800PCI_SOC were removed some time ago and CONFIG_IWLWIFI was replaced by CONFIG_COMPAT_IWLWIFI in compat wireless

SVN-Revision: 24794
2010-12-22 14:59:53 +00:00
Hauke Mehrtens
005787c58f mac80211: activate ahb bud for ath5k driver if on atheros target.
SVN-Revision: 24793
2010-12-22 14:57:40 +00:00
Jo-Philipp Wich
7526fd8627 mac80211: rename max_clients option to maxassoc, this brings it in line with broadcom
SVN-Revision: 24726
2010-12-19 13:33:55 +00:00
Felix Fietkau
3347f8e360 hostapd: add support for specifying the maximum number of clients
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

SVN-Revision: 24725
2010-12-19 11:56:56 +00:00
Felix Fietkau
d6addd4ecd mac80211: another optimization for tx performance
SVN-Revision: 24677
2010-12-18 18:27:51 +00:00
Felix Fietkau
b40d260aaf mac80211: fix a crash in the tx path
SVN-Revision: 24672
2010-12-18 17:56:32 +00:00
Felix Fietkau
5c4d94f714 mac80211: fix a missing return value
SVN-Revision: 24671
2010-12-18 17:40:09 +00:00
Felix Fietkau
121b27fb2b mac80211: significantly reduce the cpu load caused by excessive skb header cloning
SVN-Revision: 24669
2010-12-18 17:23:38 +00:00
Felix Fietkau
933e2c8e04 ath9k: do not force the chainmask to 1 for legacy mode - it makes no sense and it reduces txpower and unnecessarily disables MRC
SVN-Revision: 24657
2010-12-18 02:14:52 +00:00
Felix Fietkau
b51a9f9248 mac80211: update to wireless-testing 2010-12-16
SVN-Revision: 24655
2010-12-18 02:00:10 +00:00
Felix Fietkau
9958bc43c8 ath9k: update initvals for ar9003
SVN-Revision: 24629
2010-12-16 23:55:32 +00:00
Felix Fietkau
9fba23352b ath9k: remove code for setting up gpio based baseband rfkill - it was never used, nor configured properly
SVN-Revision: 24628
2010-12-16 23:55:23 +00:00
Felix Fietkau
a63754b5d5 ath9k: use the number of pending aggregates instead of the queue depth to determine when it is time to form the next A-MPDU
SVN-Revision: 24627
2010-12-16 23:55:12 +00:00
Felix Fietkau
2317e72d99 ath9k: fix some more issues in the paprd changes
SVN-Revision: 24539
2010-12-13 08:01:12 +00:00
Felix Fietkau
5fa415d366 ath9k: fix a few issues with pa predistortion on ar9003
SVN-Revision: 24504
2010-12-12 01:15:38 +00:00
Felix Fietkau
9eba6dc5ea ath: open up a few safe 5ghz channels in the world regdomain to make the regulatory override unnecessary in a few cases
SVN-Revision: 24503
2010-12-12 01:15:32 +00:00
Felix Fietkau
4d4ee55485 ath9k: merge a few pending cleanup patches
SVN-Revision: 24502
2010-12-12 01:15:23 +00:00
Felix Fietkau
15aa1ee692 ath9k: do not adjust the slot time setting for long distance, it seems to cause long latencies and low throughput
SVN-Revision: 24498
2010-12-11 21:29:48 +00:00
Felix Fietkau
1c7a54d21e mac80211: fix IBSS probe response storms on drivers that do not support drv_tx_last_beacon()
SVN-Revision: 24497
2010-12-11 21:29:41 +00:00
Felix Fietkau
8f676da3d8 ath9k: merge a pending patch for fixing tsf read and write
SVN-Revision: 24496
2010-12-11 21:29:35 +00:00
Felix Fietkau
d1c110e228 ath9k: add missing %pV printk revert
SVN-Revision: 24480
2010-12-11 10:37:42 +00:00
Felix Fietkau
9337c97584 mac80211: update to 2010-12-09
SVN-Revision: 24471
2010-12-11 01:45:12 +00:00
Felix Fietkau
f1ecabe190 ath9k: fix non-AMPDU QoS per-tid sequence number assignment
SVN-Revision: 24445
2010-12-10 20:03:46 +00:00
Jo-Philipp Wich
4dcba42342 mac80211: use iw for txpower control (#8416)
SVN-Revision: 24441
2010-12-10 18:43:47 +00:00
Felix Fietkau
d770298657 mac80211: fix compile errors when LED support in the kernel is disabled
SVN-Revision: 24411
2010-12-10 12:00:09 +00:00
Felix Fietkau
c8e1389528 ath9k: fix a null pointer deref issue
SVN-Revision: 24312
2010-12-07 18:22:43 +00:00
Felix Fietkau
51a79d4b65 ath9k: fix a DMA related race condition at hw reset time
SVN-Revision: 24261
2010-12-05 16:26:38 +00:00
Felix Fietkau
8067f3f3cc 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
SVN-Revision: 24236
2010-12-04 01:32:15 +00:00
Felix Fietkau
2a55832f58 mac80211: update to wireless-testing 2010-11-30
SVN-Revision: 24235
2010-12-04 01:32:04 +00:00
Gabor Juhos
6d6bb8d6f3 ath9k: use per-device struct for pm_qos_* operations
SVN-Revision: 24209
2010-12-01 18:39:58 +00:00
Felix Fietkau
dd5c6a97de ath9k: fix software retry counter tracking - should fix 802.11n stability issues
SVN-Revision: 24183
2010-11-28 18:28:19 +00:00
Felix Fietkau
1cd870049e mac80211: merge the new version of the throughput led trigger patch
SVN-Revision: 24182
2010-11-28 18:28:12 +00:00
Felix Fietkau
87741c5581 ath9k: fix module reload on ar713x based systems with ar92xx
SVN-Revision: 24163
2010-11-27 22:51:03 +00:00
Felix Fietkau
dc90b68122 mac80211: add pending patches for throughput based led blinking and replace the broken ath9k blinking code with it
SVN-Revision: 24159
2010-11-27 22:11:13 +00:00
Hauke Mehrtens
18aa0b3d4c 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.

SVN-Revision: 24143
2010-11-25 14:45:18 +00:00
Felix Fietkau
3988c6d5e3 mac80211: improve station mode nullfunc probing
SVN-Revision: 24107
2010-11-23 02:13:54 +00:00
Felix Fietkau
fce0634c9c mac80211: improve ad-hoc multicast rate handling
SVN-Revision: 24105
2010-11-22 19:59:19 +00:00
Felix Fietkau
d67201d8cc ath9k_htc: fix eeprom access breakage
SVN-Revision: 24098
2010-11-22 17:28:35 +00:00
Felix Fietkau
2cec381e97 ath9k: fix key search for a-mpdu on ar9300
SVN-Revision: 24097
2010-11-22 17:28:26 +00:00
Imre Kaloz
5ea6194ab0 remove 2.6.25 support
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00
Felix Fietkau
8b874be8e2 ath9k: fix some more endian issues
SVN-Revision: 24062
2010-11-21 16:52:00 +00:00
Felix Fietkau
0bd36b58c9 ath9k: fix endian issues on AR9003
SVN-Revision: 24047
2010-11-20 18:52:55 +00:00
Felix Fietkau
3ccfd3e3af mac80211: revert the probe request timeout change
SVN-Revision: 24046
2010-11-20 14:16:36 +00:00
Felix Fietkau
0e2ad3a266 mac80211: update to latest wireless-testing + more stability work
SVN-Revision: 24044
2010-11-20 02:26:41 +00:00
Felix Fietkau
8442d62654 mac80211: merge the upstream ht40 fix
SVN-Revision: 24033
2010-11-19 01:02:33 +00:00
Felix Fietkau
a9ef165cff ath9k: rework the mac address override patch to not break ath9k_htc
SVN-Revision: 24031
2010-11-19 00:57:35 +00:00
Felix Fietkau
f9d20beed7 mac80211: merge pending cfg80211 patches to fix a race condition with setting the regdomain for multiple cards
SVN-Revision: 24028
2010-11-18 10:06:08 +00:00
Felix Fietkau
058fa75a74 mac80211: update to wireless-testing 2010-11-16
SVN-Revision: 24017
2010-11-17 03:43:24 +00:00
Felix Fietkau
b59113f2e7 ath9k: add some fixes for AR9003
SVN-Revision: 24016
2010-11-16 18:23:05 +00:00
Felix Fietkau
7fad1dae85 mac80211: fix another 2.6.35 compile error
SVN-Revision: 23974
2010-11-12 18:49:24 +00:00
Felix Fietkau
41aadece1d mac80211: fix compile on linux 2.6.35
SVN-Revision: 23972
2010-11-12 16:56:07 +00:00
Felix Fietkau
d9d3dfe983 mac80211: update to wireless-testing 2010-11-10 + some pending work
SVN-Revision: 23968
2010-11-11 22:39:12 +00:00
Hauke Mehrtens
df525b9952 net-hermes-pcmcia mark as broken, because we do not want the ugly pcmcia patches from compat-wireless
SVN-Revision: 23954
2010-11-10 22:53:04 +00:00
Hauke Mehrtens
b10aea0075 wireless: build hermes packages from compat-wirelessand not from the kernel.
hermes now depends on cfg80211 and that is provided by compat-wireless, so the hermes driver should also be taken from that source.

SVN-Revision: 23946
2010-11-10 19:01:20 +00:00
Felix Fietkau
1e671ef49c ath9k: fix a compile error with debugging disabled (#8189)
SVN-Revision: 23912
2010-11-07 13:51:48 +00:00
Felix Fietkau
3b3bf4d24a 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>

SVN-Revision: 23890
2010-11-05 18:05:50 +00:00
Felix Fietkau
8886f1bb8a ath9k: fix enabling SWBA interrupts
SVN-Revision: 23870
2010-11-04 17:05:48 +00:00
Felix Fietkau
635ec6e7d9 ath9k: fix a few remaining issues in the xmit queue cleanup patch - reduces packet loss under load
SVN-Revision: 23856
2010-11-04 12:26:09 +00:00
Felix Fietkau
f75ac90b69 ath9k: fix cycle counter tracking
SVN-Revision: 23824
2010-11-03 14:56:05 +00:00
Felix Fietkau
8bab3639b3 ath9k: fix queue pending frame counter tracking by cleaning up tx queue selection
SVN-Revision: 23823
2010-11-03 14:55:59 +00:00
Felix Fietkau
b4e2c09b46 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
SVN-Revision: 23822
2010-11-03 14:55:53 +00:00