Commit Graph

632 Commits (be779b017265b133cb5cab0b5d2895ed2cdba46e)

Author SHA1 Message Date
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 6691444d9a make all wext wifi drivers select DRIVER_WEXT_SUPPORT, so that hostapd/wpa_supplicant can make it optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 14:18:13 +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 bbcfba7a14 mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 12:01:54 +00:00
Jo-Philipp Wich 0b6231764c [package] mac80211: fix order of iw parameters, fix broken antenna config call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 16:00:02 +00:00
Vasilis Tsiligiannis 0d0e90ea5a [package] mac80211: Fix antenna setting when only one of {rx,tx}antenna options is specified
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 09:13:51 +00:00
Jo-Philipp Wich 7fcb5722b3 [package] mac80211: add missing done to mac80211.sh (#8735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 21:01:23 +00:00
Jo-Philipp Wich b1a662ff4c [package] mac80211: add mising esac to mac80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:37:12 +00:00
Jo-Philipp Wich e16cdee5c8 [package] 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 18:01:26 +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 109fab6d63 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:34:15 +00:00
Felix Fietkau d3e8689ee1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:33:54 +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 40c5b0a989 ath9k: kmod-ath9k has no extra menuconfig options, remove MENU:=1 (#8695)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-21 18:32:06 +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 c92b694937 mac80211: fix compile errors on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:24:48 +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
Jo-Philipp Wich a276aa5223 [package] mac80211: support per-vif wmm option, defaults to 1 if unset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-11 13:19:53 +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
Imre Kaloz 4fdb975d34 [package/mac80211/carl9170]: fix md5sum, use our mirror with a fixed-up filename to make sure we get the right fw version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-04 16:39:16 +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
Imre Kaloz d72898a0ee [package/mac80211/carl9170]: use the latest fw release
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 18:17:01 +00:00
Imre Kaloz db07020600 [package/mac80211]: tune ath dependencies - carl9170 can be used on targets with usb but without pci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 18:16:05 +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