Commit graph

842 commits

Author SHA1 Message Date
Michael Büsch
b2fa5ab236 mac80211: Add scan race fix
SVN-Revision: 25930
2011-03-07 14:01:46 +00:00
Michael Büsch
9649777395 mac80211: print message on hw restart
SVN-Revision: 25926
2011-03-07 12:36:43 +00:00
Michael Büsch
1d3e4a2ab3 mac80211: Don't include p54spi default eeprom
SVN-Revision: 25925
2011-03-07 12:21:58 +00:00
Felix Fietkau
3494bdc59a mac80211: allow AP configuration of beacon interval, DTIM period, maximum permissible STA listen interval, and basic rates
This introduces beacon_int and basic_rate (per wifi-device), and
dtim_period and max_listen_int (per wifi-iface) for mac80211. These
configure the beacon interval, basic rate specification, DTIM period
(one DTIM per this many beacon frames), and maximum listen interval
that a STA will be permitted to associate with. All of the new
settings are optional; if they're absent, the existing hostapd (or, in
the case of basic_rate, driver) defaults will be used.

The existing bintval property only used for type adhoc is moved from
wifi-iface to wifi-device, and is renamed to beacon_interval because
bintval isn't a great name. The beacon interval is property of the
wifi-device; while the choice between wifi-device and wifi-iface may
not be relevant with an adhoc network, there's no reason to configure
the same property one way for type adhoc and another for type ap. This
change isn't expected to cause many problems, as bintval was added
recently, in r25111.

Similarly, the list of basic rates, also added for type adhoc in
r25111, is a property of the device and not the interface. Further, it
ought to be represented in UCI as a list, not a string dependent on
the format that iw uses. I’ve moved it onto the device, renamed it to
basic_rate, and made it configurable for APs via hostapd. Finally, I
adapted it to use the same kb/s representation as mcast_rate; there's
precedent for this format in that it's also how madwifi interprets
mcast_rate.

Neither bintval nor basicrates were ever documented in the UCI
wireless configuration page on the wiki. When this change is
committed, I'll update the documentation as needed.

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

SVN-Revision: 25837
2011-03-02 21:08:28 +00:00
Michael Büsch
7b44be03d8 2.6.38: Let mac80211 select CONFIG_AVERAGE
SVN-Revision: 25818
2011-03-01 18:55:00 +00:00
Felix Fietkau
1f08de0a7e mac80211: improve ath9k AP A-MPDU PS buffering
SVN-Revision: 25779
2011-02-27 21:46:15 +00:00
Felix Fietkau
e21f69d640 mac80211: override CONFIG_IWLWIFI_LEGACY
SVN-Revision: 25778
2011-02-27 21:46:08 +00:00
Felix Fietkau
c7677a6e5e mac80211: set CONFIG_RTLWIFI
SVN-Revision: 25776
2011-02-27 21:37:21 +00:00
Felix Fietkau
ba5bfe48c3 p54: fix a null pointer dereference bug
SVN-Revision: 25775
2011-02-27 20:50:45 +00:00
Felix Fietkau
39570be248 mac80211: update to 2011-02-25
SVN-Revision: 25749
2011-02-27 11:22:26 +00:00
Felix Fietkau
b1b8cf1870 ath9k: fix interrupt enable/disable issues
SVN-Revision: 25575
2011-02-18 18:16:48 +00:00
Felix Fietkau
240b10673d make all wext wifi drivers select DRIVER_WEXT_SUPPORT, so that hostapd/wpa_supplicant can make it optional
SVN-Revision: 25518
2011-02-13 14:18:13 +00:00
Felix Fietkau
34e87dad4d mac80211: add a patch for keeping track of the rx bitrate of remote stations
SVN-Revision: 25441
2011-02-10 03:37:32 +00:00
Felix Fietkau
ebb2cdbea8 ath9k: remove an old tx stop workaround which conflicts with the powersave fixes
SVN-Revision: 25439
2011-02-10 03:37:23 +00:00
Felix Fietkau
6ff025f306 ath9k: improve the power save fix by closing another remaining race condition for setting the TIM bit
SVN-Revision: 25428
2011-02-08 23:35:20 +00:00
Felix Fietkau
c6996a7d7d ath9k: add fixes for AP side powersave frame buffering
SVN-Revision: 25426
2011-02-08 19:31:50 +00:00
Felix Fietkau
d807f70e47 mac80211: update to wireless-testing 2010-02-07
SVN-Revision: 25425
2011-02-08 19:31:43 +00:00
Felix Fietkau
32d08d2dea 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.

SVN-Revision: 25418
2011-02-08 12:36:25 +00:00
Felix Fietkau
55bd66663d mac80211: fix the check for cloned skbs in the tx path
SVN-Revision: 25398
2011-02-07 10:42:40 +00:00
Felix Fietkau
2ed844f6a5 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
SVN-Revision: 25378
2011-02-05 22:38:23 +00:00
Felix Fietkau
2a17a1dd1d ath9k: reduce false positives in the baseband hang check
SVN-Revision: 25359
2011-02-04 12:16:41 +00:00
Felix Fietkau
2d5c6da16a mac80211: drop retransmitted data frames from the cooked monitor interface - reduces CPU usage
SVN-Revision: 25358
2011-02-04 12:16:36 +00:00
Felix Fietkau
e00933b6d6 cfg80211: revert the max power patch - it seems to be limiting tx power too much on some devices
SVN-Revision: 25258
2011-01-30 23:35:00 +00:00
Felix Fietkau
e146d9b386 cfg80211: do not overwrite the hardware max power setting in the regulatory code, fixes reported tx power values
SVN-Revision: 25238
2011-01-29 13:51:33 +00:00
Felix Fietkau
04628c88d4 ath9k: reduce allocation size, common->cachelz is already added to the buffer size elsewhere
SVN-Revision: 25205
2011-01-28 16:58:08 +00:00
Felix Fietkau
0a54236bea ath9k: fix a compile error in the debug stubs (fixes #8737, #8745)
SVN-Revision: 25204
2011-01-28 16:58:05 +00:00
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
Felix Fietkau
f742f85c2e nl80211: fix a station dump crash triggered by sending an invalid ifindex
SVN-Revision: 23741
2010-10-31 14:32:15 +00:00
Felix Fietkau
3e7589ce1a mac80211: set GF flag in hostapd config if supported
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 23673
2010-10-27 15:04:29 +00:00
Felix Fietkau
a82ff63978 ath9k: fix aggregation flush on ar9003
SVN-Revision: 23650
2010-10-27 00:43:17 +00:00
Felix Fietkau
f3fb5d55a5 ath9k: add more pending locking fixes - fixes tx dma hang issues on reset
SVN-Revision: 23649
2010-10-27 00:43:11 +00:00
Felix Fietkau
c173d41012 mac80211: add uci support for the ad-hoc multicast rate setting
SVN-Revision: 23637
2010-10-25 23:51:12 +00:00
Felix Fietkau
6934f55f3a mac80211: add support for setting the multicast rate for ibss
SVN-Revision: 23635
2010-10-25 23:51:00 +00:00
Felix Fietkau
35cdc5d722 hostapd/mac80211: implement support for AP+STA
SVN-Revision: 23602
2010-10-23 23:39:54 +00:00
Felix Fietkau
9fcc9f026b ath9k: fix an aggregation hang issue that happens when a hardware reset is issued
SVN-Revision: 23588
2010-10-23 15:29:25 +00:00
Felix Fietkau
ad06ff1186 ath9k: fix sampling frame handling wrt. aggregation, replace minstrel_ht performance fixes for better performance
SVN-Revision: 23558
2010-10-21 00:33:00 +00:00
Felix Fietkau
1178bae74d mac80211: decrease the minstrel_ht sampling interval for faster rate adaption
SVN-Revision: 23555
2010-10-20 21:38:31 +00:00
Felix Fietkau
45c088cdf1 mac80211: improve minstrel_ht performance by ensuring that rates get sampled fast enough
SVN-Revision: 23554
2010-10-20 21:01:06 +00:00
Felix Fietkau
d9b732a591 ath9k: fix a small bug in the handling of a few tx descriptor flags
SVN-Revision: 23553
2010-10-20 21:00:57 +00:00
Felix Fietkau
e53a3539e2 ath9k: fix a crash that happens when survey stats are accessed before the interface is brought up for the first time
SVN-Revision: 23549
2010-10-20 14:01:53 +00:00
Felix Fietkau
dfddaefa6b ath9k: use the maximum rate power for the channel txpower limits
SVN-Revision: 23543
2010-10-20 01:05:30 +00:00
Felix Fietkau
935809ebb6 ath9k: add a locking fix that might prevent random memory corruption during hardware resets
SVN-Revision: 23542
2010-10-20 00:46:37 +00:00
Felix Fietkau
d430237b28 ath9k: fix tx power display
SVN-Revision: 23541
2010-10-20 00:08:17 +00:00
Felix Fietkau
6adbeb35c1 mac80211: update to wireless-testing 2010-10-19
SVN-Revision: 23540
2010-10-19 22:11:21 +00:00
Felix Fietkau
edb7be2e2b ath9k: make the regulatory override less intrusive - allow it to parse CTLs
SVN-Revision: 23539
2010-10-19 21:49:42 +00:00
Felix Fietkau
8083a4380b mac80211: update to wireless-testing 2010-10-15, add a few ath9k fixes and performance enhancements
SVN-Revision: 23470
2010-10-16 02:30:30 +00:00
Felix Fietkau
b7204be37b wifi: change the default channel from 5 to 11, 5 was a really bad choice
SVN-Revision: 23423
2010-10-13 12:22:48 +00:00
Felix Fietkau
103e70a573 ath9k: fix a few ani issues
SVN-Revision: 23412
2010-10-12 14:11:21 +00:00
Felix Fietkau
0cad2678ac ath9k: fix channel time updates when the interface is idle
SVN-Revision: 23410
2010-10-12 12:04:59 +00:00
Felix Fietkau
1897dd2c6d mac80211: fix a crash in the netlink backport
SVN-Revision: 23409
2010-10-12 12:04:52 +00:00
Jo-Philipp Wich
0f04c9ac37 mac80211: kmod-p54-common needs crc-ccitt, patch by loswillos
SVN-Revision: 23384
2010-10-10 17:40:23 +00:00
Felix Fietkau
c5b740d8a3 ath9k: fix counter overflow in survey channel time stats for the operating channel
SVN-Revision: 23381
2010-10-10 16:22:59 +00:00
Felix Fietkau
e3b3338f09 mac80211: update to a newer compat-wireless which fixes rt2800pci compile issues on 2.6.32 and below
SVN-Revision: 23374
2010-10-10 12:08:52 +00:00
Jo-Philipp Wich
2cf31be857 mac80211: don't use /usr/bin/bash in support scripts, breaks FreeBSD
SVN-Revision: 23367
2010-10-09 17:01:27 +00:00
Felix Fietkau
bbf2a906b6 ath9k: implement extended channel utilization statistics via survey
SVN-Revision: 23350
2010-10-09 00:36:54 +00:00
Felix Fietkau
cd771e9bc5 ath9k: add a fix for an aggregation delimiter size rounding error
SVN-Revision: 23349
2010-10-09 00:36:49 +00:00
Felix Fietkau
1d05f23d73 mac80211: fix netlink backport for 2.6.31 and below
SVN-Revision: 23348
2010-10-09 00:36:43 +00:00
Felix Fietkau
726123e2e1 mac80211: update to wireless-testing 2010-10-06
SVN-Revision: 23294
2010-10-07 14:27:54 +00:00
Gabor Juhos
25a71a59ae mac80211: ath9k: get tx gain type from eeprom
SVN-Revision: 23242
2010-10-05 14:10:32 +00:00
Felix Fietkau
0c99eb5023 ath9k: add a few fixes and cleanups
SVN-Revision: 23198
2010-10-03 16:57:25 +00:00
Felix Fietkau
42a49519f0 ath9k: fix regulatory issues with multiple cards
SVN-Revision: 23168
2010-10-01 15:14:15 +00:00
Felix Fietkau
1cbea05927 ath9k: compile out the ath9k rate control
SVN-Revision: 23163
2010-09-30 15:00:06 +00:00
Felix Fietkau
6f8a738587 ath9k: fetch survey data for all channels
SVN-Revision: 23154
2010-09-29 15:16:13 +00:00
Felix Fietkau
92e5e35c77 mac80211: update to wireless-testing 2010-09-28
SVN-Revision: 23149
2010-09-29 13:13:16 +00:00
Felix Fietkau
c749f9a924 ath9k: fix a warning during a failed aggregation start
SVN-Revision: 23100
2010-09-20 17:32:18 +00:00
Felix Fietkau
d6f08bcf81 ath9k: fix various aggregation related race conditions
SVN-Revision: 23097
2010-09-19 17:23:15 +00:00
Felix Fietkau
4df10391ba rt2800pci: add back ifdown hang workaround that was accidentally dropped during a compat-wireless update
SVN-Revision: 23078
2010-09-16 11:38:27 +00:00
Felix Fietkau
fc7fbe8349 mac80211: upgrade to wireless-testing 2010-09-14, replace the external carl9170 with the recently merged upstream version
SVN-Revision: 23061
2010-09-14 22:53:54 +00:00
Felix Fietkau
9c2cfd7a1b mac80211: add a pending fix for a locking error in the aggregation reorder release code
SVN-Revision: 23060
2010-09-14 21:13:01 +00:00
Felix Fietkau
2c848d33a9 ath9k: fix multi-bss operation (fixes #7914)
SVN-Revision: 23059
2010-09-14 16:26:46 +00:00
Michael Büsch
7b30b70e11 From: Joseph Roback <openwrt-devel@roback.cc>
26 Makefile patches for enabling parallel builds. Tested on Linux (8-core) and Darwin (12-core), individually and from clean build_root. The first set is from trunk, the second is from feeds/packages.

Signed-off-by: Joe Roback <joe@roback.cc>

SVN-Revision: 22965
2010-09-07 10:00:34 +00:00
Jo-Philipp Wich
a2aa84c1c7 b43: Module option added to change the GPIO LED mask. This patch exposes the GPIO mask as a module option. This makes it possible to limit the GPIO lines used by the b43 module. Useful for those using the GPIO lines for other things like mmc over GPIO.
It is helpful to those not able / interested in recompiling OpenWRT themselves.
The default action is the same as before, that is 0xf gpiomask.

Signed-off-by: Simon Gaynor <openwrt@simong.net>

SVN-Revision: 22927
2010-09-04 23:46:39 +00:00
Michael Büsch
89f806fe5f p54spi: Compile in the default eeprom image
SVN-Revision: 22926
2010-09-04 23:42:19 +00:00
Felix Fietkau
4dd1e1437b mac80211: another override
SVN-Revision: 22875
2010-09-02 20:10:50 +00:00
Felix Fietkau
72f1c12abd mac80211: add missing config override for ath9k
SVN-Revision: 22874
2010-09-02 20:02:50 +00:00
Felix Fietkau
ea70b60a07 ath9k: add a patch for dumping the eeprom contents via debugfs
SVN-Revision: 22870
2010-09-01 17:51:30 +00:00
Felix Fietkau
003ec7d795 mac80211: replace 800-nuke_led_code.patch with something smaller. most of the #ifdef spaghetti that the old patch introduced was completely unnecessary
SVN-Revision: 22866
2010-08-31 23:34:27 +00:00
Felix Fietkau
2f014eb8e8 mac80211: update to wireless-testing 2010-08-31
SVN-Revision: 22865
2010-08-31 23:34:21 +00:00
Felix Fietkau
1d6f21de61 ath9k: fix a WARN_ON when aggregation start is issued more than once, should improve stability with 802.11n
SVN-Revision: 22827
2010-08-28 17:59:03 +00:00
Felix Fietkau
c3bcd846e9 ath9k: add some extra checks to the mic failure fix
SVN-Revision: 22825
2010-08-28 16:23:45 +00:00
Michael Büsch
5106eb903a p54: Fix powersave mode
SVN-Revision: 22797
2010-08-25 13:46:40 +00:00
Felix Fietkau
05cf68cf4c ath9k: fix spurious MIC failure detection, causing instability issues in AP mode
SVN-Revision: 22795
2010-08-25 12:30:50 +00:00
Michael Büsch
4df18c296e mac80211: Fix incorrect ifdef placement in 800-nuke_led_code.patch
SVN-Revision: 22749
2010-08-21 16:25:08 +00:00
Felix Fietkau
1d1b83fa4c ath9k: remove an unnecessary BUG_ON in the aggregation code and clean up block ack window tracking to use less memory
SVN-Revision: 22688
2010-08-17 13:24:33 +00:00
Alexandros C. Couloumbis
c4e73984fa package/mac80211: fix r22422, add missing bits & bytes
SVN-Revision: 22611
2010-08-12 14:13:52 +00:00
Alexandros C. Couloumbis
a84b3efe34 package/mac80211: let build system enable led code through cflags (thank you nbd)
SVN-Revision: 22591
2010-08-11 09:36:19 +00:00
Michael Büsch
3b1628215a mac80211: Add p54spi driver
SVN-Revision: 22535
2010-08-08 19:13:52 +00:00
Felix Fietkau
e8fe990549 ath9k: fix rx tsf parsing
SVN-Revision: 22493
2010-08-04 17:26:56 +00:00
Felix Fietkau
393db419ec ath9k: improve stuck beacon recovery by reading nf values from the hw when a calibration is pending (instead of waiting for the next cal interval)
SVN-Revision: 22461
2010-08-02 01:28:27 +00:00
Felix Fietkau
9d2aa5f66f ath9k: improve stuck beacon recovery and noise floor handling. significantly improves stability under strong interference in ap mode
SVN-Revision: 22460
2010-08-02 00:08:55 +00:00
Felix Fietkau
31239d3332 ath9k: fix aggregation pause/restart handling under heavy load (thx to Lorenzo Bianconi)
SVN-Revision: 22457
2010-08-01 16:33:50 +00:00
Alexandros C. Couloumbis
524779230e package/mac80211: sync commit r22419
SVN-Revision: 22422
2010-07-31 06:21:13 +00:00
Felix Fietkau
fc16d8ae02 mac80211: update to 2010-07-29, add pending patches to fix further issues with calibration
SVN-Revision: 22419
2010-07-30 22:18:57 +00:00
Felix Fietkau
941f72b11c mac80211: minor fix for the offchannel status change notification
SVN-Revision: 22417
2010-07-30 10:52:51 +00:00
Felix Fietkau
bbd756364f ath9k: fix various calibration related bugs and clean up the code
SVN-Revision: 22408
2010-07-28 11:40:38 +00:00
Felix Fietkau
0e417cf3ce mac80211: update to wireless-testing 2010-07-26 + pending patches - adds a change that might fix some calibration issues
SVN-Revision: 22403
2010-07-27 21:04:54 +00:00
Felix Fietkau
ce8858061b ath9k: simplify noise floor calibration chainmask calculation
SVN-Revision: 22362
2010-07-23 02:22:52 +00:00
Felix Fietkau
f4331b40a4 ath9k: fix invalid noisefloor measurement values in ht20 mode
SVN-Revision: 22361
2010-07-23 02:08:24 +00:00
Felix Fietkau
90a71cd326 ath9k: fix another buffer leak in the aggregation code
SVN-Revision: 22360
2010-07-23 01:54:27 +00:00
Hauke Mehrtens
f602c71415 mac80211: fix build of ipw2100 driver
SVN-Revision: 22358
2010-07-22 18:51:26 +00:00
Jo-Philipp Wich
8344c770fc mac80211: fix handling of frag and rts options, thanks stintel!
SVN-Revision: 22355
2010-07-22 16:01:17 +00:00
Felix Fietkau
ae2c9dcb2b move the crda dependency to the kmod-cfg80211 package, get rid of crda's dependency on mac80211. this fixes circular dependency issues
SVN-Revision: 22304
2010-07-20 01:54:16 +00:00
Felix Fietkau
2fcbada24b mac80211: fix aggregation on WDS AP interfaces
SVN-Revision: 22302
2010-07-20 01:54:07 +00:00
Felix Fietkau
41872e8765 mac80211: update to wireless-testing 2010-07-16
SVN-Revision: 22301
2010-07-20 01:54:01 +00:00
Gabor Juhos
3f4e29691e ath5k: in-flash macs and eeprom for mach-eap7660d
This adds ath5k_platform.h to mac80211 and patches ath5k to respect
MAC addresses and eeprom content from platform_data, if supplied.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22188
2010-07-15 07:36:55 +00:00
Felix Fietkau
d0e2e4f693 mac80211: improve reliability of the keymiss handling fix, add another aggregation leak fix
SVN-Revision: 22152
2010-07-12 19:16:22 +00:00
Claudio Mignanti
2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Felix Fietkau
58232503a9 ath9k: remove support for hardware which was never sold. reduces binary size by ~30k
SVN-Revision: 22134
2010-07-11 15:19:43 +00:00
Felix Fietkau
b28b2b9590 ath9k: improve reliability of the noise floor calibration
SVN-Revision: 22126
2010-07-11 11:56:18 +00:00
Felix Fietkau
99698373f9 ath9k: add another batch of stability updates and misc fixes
SVN-Revision: 22123
2010-07-11 03:50:46 +00:00
Felix Fietkau
c2e40eeace mac80211: update to wireless-testing 2010-07-06, add another patch to finally fix the annoying buffer leak in ath9k
SVN-Revision: 22088
2010-07-07 17:03:00 +00:00
Felix Fietkau
e0751eb57e mac80211: fix interface teardown for kernels >= 2.6.33
SVN-Revision: 22078
2010-07-06 18:53:48 +00:00
Felix Fietkau
7c38977b3f ath9k: fix a potential buffer leak
SVN-Revision: 22048
2010-07-02 16:11:18 +00:00
Felix Fietkau
8a5671711b ath9k: fix a crash with WEP in ad-hoc mode
SVN-Revision: 22046
2010-07-02 12:46:18 +00:00
Felix Fietkau
b0658f2c89 ath9k: fix false positives in the baseband hang check by repeating the test a few times before pronouncing the hardware dead and resetting it
SVN-Revision: 22038
2010-07-01 21:41:40 +00:00
Felix Fietkau
58936672ac ath9k: clean up some code duplication related to noise floor handling
SVN-Revision: 22037
2010-07-01 21:41:35 +00:00
Felix Fietkau
bb72d77fe1 ath9k: add a missing null pointer check and some further cleanup
SVN-Revision: 22036
2010-07-01 20:51:30 +00:00
Felix Fietkau
1f278440b7 ath9k: properly sanitize calibrated noise floor values on all hardware
SVN-Revision: 22035
2010-07-01 19:43:03 +00:00
Felix Fietkau
6c48e48165 ath9k: add initval updates - should increase stability and performance on AR91xx and AR92xx
SVN-Revision: 21999
2010-06-30 21:04:44 +00:00
Alexandros C. Couloumbis
5c42c43638 mac80211: fix r21990
SVN-Revision: 21992
2010-06-30 15:21:15 +00:00
Alexandros C. Couloumbis
186fa51531 mac80211: fix compile issues on 2.6.35
SVN-Revision: 21990
2010-06-30 14:10:41 +00:00
Felix Fietkau
96436fac60 ath9k: fix TSF across hardware resets on AR913x
SVN-Revision: 21989
2010-06-30 00:10:44 +00:00
Felix Fietkau
bc13e4c08a mac80211: update to wireless-testing 2010-06-28
SVN-Revision: 21988
2010-06-30 00:10:38 +00:00
Gabor Juhos
6676527e58 rt2x00: cleanup patches
Remove 601-rt2x00-remove-mcu-requests-for-soc.patch as an equivalent patch
is already included in upstream.

Add 601-rt2x00-fix-hang-on-ifdown.patch which is not suitable for upstream
inclusion but fixes a hang on ifdown under some circumstances and thus also
fixes AP mode operation in OpenWRT.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 21975
2010-06-28 17:23:28 +00:00
Felix Fietkau
ff3d5025ac remove obsolete kernel dependencies and version checks
SVN-Revision: 21956
2010-06-26 20:44:28 +00:00
Felix Fietkau
d715665b9b mac80211: update to wireless-testing 2010-06-15
SVN-Revision: 21943
2010-06-26 20:41:34 +00:00
Hamish Guthrie
b58dda0d90 Add support for Marvell 88W8686
SVN-Revision: 21887
2010-06-23 14:53:40 +00:00
Claudio Mignanti
f5a01d10a2 mac80211: fix compile error (#6538)
SVN-Revision: 21850
2010-06-20 13:05:55 +00:00
Felix Fietkau
192d71aa46 mac80211: fix compile on systems that do not have /bin/true
SVN-Revision: 21801
2010-06-14 18:34:24 +00:00
Jo-Philipp Wich
38a2d4cab3 mac80211: rename dma_set_coherent_mask() patch to 170-dma_set_coherent_mask.patch
SVN-Revision: 21791
2010-06-13 20:07:37 +00:00
Hauke Mehrtens
1aadefd9bf mac80211: fix build of b43
SVN-Revision: 21790
2010-06-13 19:53:19 +00:00
Felix Fietkau
68779160b0 mac80211: update to 2010-06-10, add pending work with stability and throughput fixes for ath9k
SVN-Revision: 21756
2010-06-10 23:12:10 +00:00
Felix Fietkau
c890f0d4df mac80211: reduce the size of the debugfs code
SVN-Revision: 21657
2010-06-02 01:12:16 +00:00
Felix Fietkau
8e39b122c9 mac80211: remove the pid rate control algorithm to save a few kbytes
SVN-Revision: 21654
2010-06-01 23:11:43 +00:00
Felix Fietkau
013be5ebe6 ath9k: one more queue stop/start fix
SVN-Revision: 21651
2010-06-01 19:30:32 +00:00
Felix Fietkau
82e32fbb71 ath9k: fix queue stopping/starting logic, should slightly reduce RAM usage under load and make throughput more smooth
SVN-Revision: 21650
2010-06-01 17:38:01 +00:00
Felix Fietkau
4920935b98 ath9k: merge some more pending fixes - should improve throughput
SVN-Revision: 21578
2010-05-27 14:04:32 +00:00
Felix Fietkau
b674689a98 mac80211: update to wireless-testing 2010-05-24
SVN-Revision: 21568
2010-05-25 17:29:50 +00:00
Hauke Mehrtens
a8c9d6256a mac80211: use stable firmware for b43 driver as the experimental causes problems on some devices with L-PHY
This should close #6907

SVN-Revision: 21470
2010-05-16 11:16:42 +00:00
Hauke Mehrtens
bd51370d9d mac80211: remove patches already in mainline compat-wireless
SVN-Revision: 21469
2010-05-16 11:07:21 +00:00
Hauke Mehrtens
4e9881579f mac80211: update b43-fwcutter
SVN-Revision: 21468
2010-05-16 11:05:29 +00:00
Felix Fietkau
48e4708a34 mac80211: update to wireless-testing 2010-05-12 plus some pending patches
SVN-Revision: 21454
2010-05-15 15:56:51 +00:00
Hauke Mehrtens
cfec944f42 ssb: activate CONFIG_SSB_BLOCKIO in the kernel and not in compat-wireless.
Before this patch CONFIG_SSB_BLOCKIO was set to y in compat-wireless
but the in kernel ssb system had it set to n, this causes an invalid pointer.
b43 now needs CONFIG_SSB_BLOCKIO=y

SVN-Revision: 21449
2010-05-15 11:04:53 +00:00
Felix Fietkau
34ad2a0b71 ath9k: fix filtering out multi-descriptor frames, which can cause issues with 11n links because of bogus rx status data
SVN-Revision: 21351
2010-05-04 08:01:58 +00:00
Felix Fietkau
99757d3336 mac80211: use the nl80211 driver for wpa_supplicant
SVN-Revision: 21321
2010-05-02 22:03:54 +00:00
Felix Fietkau
ef710f7cf3 mac80211: enable rx/tx stbc by default if supported
SVN-Revision: 21319
2010-05-02 22:03:44 +00:00
Felix Fietkau
b583a3f450 mac80211: update to wireless-testing 2010-04-28
SVN-Revision: 21271
2010-04-30 15:55:24 +00:00
Felix Fietkau
ca1accae45 mac80211: add ap isolate support
SVN-Revision: 21178
2010-04-26 23:07:44 +00:00
Hauke Mehrtens
893bfa5588 mac80211: add pci id for WNR854T
This closes #7209 and is an addition to r21077.

SVN-Revision: 21167
2010-04-26 17:59:49 +00:00
Felix Fietkau
db0238e698 ath9k: merge some more ar9300 fixes
SVN-Revision: 21141
2010-04-24 17:24:02 +00:00
Felix Fietkau
3b9e0000ec ath9k: merge fixes for 5ghz fast clock handling
SVN-Revision: 21097
2010-04-22 18:33:55 +00:00