Commit graph

687 commits

Author SHA1 Message Date
Gabor Juhos
8e1a827487 mac80211: add WLAN LED support for Ralink RT305x SoC Devices
This patch adds WLAN LED support to the mac80211 driver for Ralink
rt2x00/rt2800 (rt305x) SoC devices. The current driver in
kmod-rt2800-lib is based upon PCI, not SoC. The WLAN LED drivers in
rt2800lib.c set the LED brightness via an MCU request, but do nothing
for SoC. This patch checks for SoC and sets the register to enable the
WLAN LED (instead of an MCU request).  This fixes the WLAN LED for
RT305x devices (such as the HW550-3G).

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26463
2011-04-04 08:42:58 +00:00
Felix Fietkau
aa550f9307 mac80211: increase delay between aggregation session negotiation attempts - improves interop with intel clients
SVN-Revision: 26444
2011-04-03 17:34:55 +00:00
Felix Fietkau
8f958a12a2 mac80211: rtl818x depends on kmod-usb-core
SVN-Revision: 26443
2011-04-03 17:34:51 +00:00
Felix Fietkau
b9e759ae5a ath9k: fix missing chip wakeups causing instability issues on at least AR5416 (probably on other devices as well); fixes #9107
SVN-Revision: 26418
2011-04-02 22:04:38 +00:00
Felix Fietkau
6f446d9419 ath9k-htc: enable debugfs support
SVN-Revision: 26412
2011-04-02 16:53:46 +00:00
Felix Fietkau
f5eeb3f74d mac80211: fix duplicate probe request reception (triggering unnecessary probe responses in multi-BSSID setups)
SVN-Revision: 26408
2011-04-02 16:06:42 +00:00
Felix Fietkau
8becf17417 ath9k: fix adhoc beacon issues (#9163)
SVN-Revision: 26395
2011-04-02 01:10:01 +00:00
Felix Fietkau
f5a50227a3 mac80211: add all drivers to PKG_CONFIG_DEPENDS
SVN-Revision: 26369
2011-03-30 12:33:14 +00:00
Felix Fietkau
15e79b479a ath9k: fix reported signal strength
SVN-Revision: 26368
2011-03-30 11:38:39 +00:00
Felix Fietkau
da0ac5027e ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix some AP mode stability issues on these chips
SVN-Revision: 26316
2011-03-27 14:27:32 +00:00
Felix Fietkau
98267669b0 mac80211: disable an unnecessary backport to reduce code size
SVN-Revision: 26303
2011-03-26 14:06:29 +00:00
Felix Fietkau
75e785511a mac80211: remove an obsolete backport patch
SVN-Revision: 26302
2011-03-26 14:06:25 +00:00
Felix Fietkau
0c98b6b2d2 mac80211: add a pending patch to remove the dependency on ecb
SVN-Revision: 26295
2011-03-25 21:28:22 +00:00
Felix Fietkau
70a2413ffd mac80211: fix zd1211 config override
SVN-Revision: 26294
2011-03-25 21:20:14 +00:00
Felix Fietkau
1938d5a669 mac80211: update to wireless-testing 2011-03-24
SVN-Revision: 26293
2011-03-25 21:12:28 +00:00
Felix Fietkau
ea6bf64605 ath9k: fix chip wakeup on interface start - should fix some instability issues
SVN-Revision: 26290
2011-03-25 16:36:48 +00:00
Felix Fietkau
1526792622 mac80211: fix a deadlock in minstrel_ht when a HT client without valid MCS rates connects
SVN-Revision: 26287
2011-03-25 14:00:59 +00:00
Felix Fietkau
2eda9ca634 mac80211: fix dropping multicast proberequest frames for ad-hoc
SVN-Revision: 26284
2011-03-24 13:38:20 +00:00
Felix Fietkau
4cbdad0e9d ath9k: add a few de-bloating and optimization patches
SVN-Revision: 26281
2011-03-23 20:16:58 +00:00
Felix Fietkau
80239ff7b0 ath9k: merge a pending patch for fixing a stopped queue issue (mostly for client mode)
SVN-Revision: 26280
2011-03-23 20:16:53 +00:00
Felix Fietkau
ee7f3d21f4 mac80211: update to wireless-testing 2011-03-22
SVN-Revision: 26273
2011-03-22 21:00:58 +00:00
Felix Fietkau
b85cfd52d8 ath9k: add a patch from linux-wireless@ for reducing driver size
SVN-Revision: 26264
2011-03-22 00:41:55 +00:00
Felix Fietkau
eaa07dd900 mac80211: initialize the last rx time when creating a station
should hopefully finally take care of the nasty reassociation issues which showed up as
Jan  1 00:51:10 OpenWrt daemon.info hostapd: wlan0: STA 00:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity
right after associating, leading to an immediate disconnect.
Will probably fix #8343, #8830 and others.

SVN-Revision: 26251
2011-03-21 03:19:35 +00:00
Felix Fietkau
562468651d ath9k: re-run nfcal only when stuck beacons become more frequent
SVN-Revision: 26250
2011-03-21 02:22:26 +00:00
Felix Fietkau
bc8410cd76 ath9k: increase ATH_BCBUF, allows creating 8 virtual APs
SVN-Revision: 26249
2011-03-21 02:22:22 +00:00
Felix Fietkau
4838baefa7 ath9k: improve precision of beacon timer calculations
SVN-Revision: 26248
2011-03-21 02:22:17 +00:00
Felix Fietkau
c12de7c4c1 ath9k: add some minor debugfs cleanups
SVN-Revision: 26247
2011-03-21 02:22:12 +00:00
Felix Fietkau
de2b5158a1 hostapd: add a separate config symbol for 802.11n driver support
SVN-Revision: 26212
2011-03-17 20:21:28 +00:00
Felix Fietkau
61bce8b1f0 mac80211: add an aggregation rx reorder timeout handling fix
SVN-Revision: 26185
2011-03-16 02:57:04 +00:00
Felix Fietkau
8d08f4473b ath9k: force the rx chainmask on ar913x to 0x7 - fixes calibration issues with 2-antenna devices such as the wrt160nl
SVN-Revision: 26168
2011-03-15 01:36:48 +00:00
Felix Fietkau
8144d60d83 ath9k: enable an ar913x specific hardware fix for sending block-ack
SVN-Revision: 26167
2011-03-15 01:36:45 +00:00
Vasilis Tsiligiannis
f55fe56225 mac80211: Fix unique device autodetection
SVN-Revision: 26165
2011-03-15 00:44:02 +00:00
Felix Fietkau
1e89670f0e mac80211: fix ath9k/ath9k-htc description (thx, swalker)
SVN-Revision: 26160
2011-03-14 14:04:49 +00:00
Felix Fietkau
484a793dd4 ath9k: split package into kmod-ath9k and kmod-ath9k-common, add a new package for ath9k_htc
SVN-Revision: 26130
2011-03-13 18:38:50 +00:00
Felix Fietkau
66a6f82ee3 mac80211: update to wireless-testing 2011-03-11
SVN-Revision: 26128
2011-03-13 18:38:37 +00:00
Felix Fietkau
3a77dae1d4 mac80211/ath9k: improve pending patches based on review feedback
SVN-Revision: 26041
2011-03-11 20:55:54 +00:00
Felix Fietkau
3efcd0a1fc mac80211: fix spurious channel type changes when vifs are created/deleted
SVN-Revision: 26038
2011-03-11 19:23:38 +00:00
Felix Fietkau
6160443867 ath9k: add a patch to fix the interoperability issues with intel clients (fixes #8830)
SVN-Revision: 26036
2011-03-11 16:04:37 +00:00
Hamish Guthrie
53805b9c7d Add wext support to libertas-sd driver
SVN-Revision: 26028
2011-03-11 09:24:25 +00:00
Felix Fietkau
0f6ddd5116 mac80211: redirect EAP frames on AP VLAN interfaces to the main AP interface to fix a bridging related race condition
SVN-Revision: 26016
2011-03-10 18:00:45 +00:00
Felix Fietkau
34f90988dd ath9k: improve tx dma fixes based on review feedback
SVN-Revision: 26005
2011-03-10 13:37:26 +00:00
Felix Fietkau
2aa1e6f1bb ath9k: get rid of most of those annoying dma tx stop issues
SVN-Revision: 25988
2011-03-10 00:53:05 +00:00
Felix Fietkau
fb15c3737c zd1211rw: fix #define collision for register names triggered by compat patches
SVN-Revision: 25965
2011-03-09 03:41:27 +00:00
Felix Fietkau
730dc33c75 mac80211: fix minstrel_ht sampling intervals (patch by Daniel Halperin)
SVN-Revision: 25964
2011-03-09 03:41:22 +00:00
Felix Fietkau
1b7f3d2a31 ath9k: remove support for in-bss promisc mode, the rx filter flag is too broad and in-bss promisc mode is not particularly useful. should fix most (or all) instances of "ath: Could not stop RX..." error messages
SVN-Revision: 25963
2011-03-09 00:37:25 +00:00
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