1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 09:47:43 +02:00
Commit Graph

798 Commits

Author SHA1 Message Date
nbd
e5c2ddb8ef ath5k: fix tx status reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 19:21:26 +00:00
nbd
0fb56fb478 ath9k: properly count retries when frames are filtered due to excessive retries when a client is not in powersave mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:22:01 +00:00
nbd
75c5ede9ee mac80211: fix reading the station flags in debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:21:57 +00:00
hauke
855a73d79a mac80211: add Intel wireless drivers.
This adds the Intel wireless drivers for their normal cards.

Thank you framer99 for the patch, I extended it a little bit.

This closes #7227


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 16:17:21 +00:00
nbd
f53132ef54 ath9k: improve the rx dma stop fix, add more debugging output in case the issue still occurs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 12:18:43 +00:00
nbd
063b9eca01 mac80211: fix support for iftype wds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 01:04:44 +00:00
nbd
c0b61bdf0a mac80211: update to wireless-testing 2011-04-06
adds some more pending patches which (among other things) fix the 'failed to stop RX DMA' messages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 18:42:22 +00:00
nbd
d0c6aec8d9 ath9k: fall back to the default noise floor if the calibrated one is not available, fixes signal strength display in initial scan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:04:05 +00:00
juhosg
3d74008d68 mac80211: move 620-rt2x00_soc_led_support.patch to the correct place
* fixes [26463]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 09:03:33 +00:00
juhosg
3063a1d914 mac80211: update rt2800-{pci,usb} dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:43:02 +00:00
juhosg
381fe000fd mac80211: rt2800-lib doesn't depend on rt2x00-usb
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:42:59 +00:00
juhosg
59dd24394e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:42:58 +00:00
nbd
98a6131a74 mac80211: increase delay between aggregation session negotiation attempts - improves interop with intel clients
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 17:34:55 +00:00
nbd
80fbca446e mac80211: rtl818x depends on kmod-usb-core
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 17:34:51 +00:00
nbd
09702f9b67 ath9k: fix missing chip wakeups causing instability issues on at least AR5416 (probably on other devices as well); fixes #9107
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 22:04:38 +00:00
nbd
1a74e76fb9 ath9k-htc: enable debugfs support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 16:53:46 +00:00
nbd
f8f2e630ae mac80211: fix duplicate probe request reception (triggering unnecessary probe responses in multi-BSSID setups)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 16:06:42 +00:00
nbd
997a13bb0d ath9k: fix adhoc beacon issues (#9163)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 01:10:01 +00:00
nbd
f6c7475856 mac80211: add all drivers to PKG_CONFIG_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 12:33:14 +00:00
nbd
e6674fcd00 ath9k: fix reported signal strength
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 11:38:39 +00:00
nbd
6f0ee4af94 ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix some AP mode stability issues on these chips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 14:27:32 +00:00
nbd
91c9f2c7d5 mac80211: disable an unnecessary backport to reduce code size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 14:06:29 +00:00
nbd
c6607f1b03 mac80211: remove an obsolete backport patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 14:06:25 +00:00
nbd
2a6f8ab8cf mac80211: add a pending patch to remove the dependency on ecb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:28:22 +00:00
nbd
f27317a2dc mac80211: fix zd1211 config override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:20:14 +00:00
nbd
1da648ca46 mac80211: update to wireless-testing 2011-03-24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:12:28 +00:00
nbd
597d73f857 ath9k: fix chip wakeup on interface start - should fix some instability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 16:36:48 +00:00
nbd
e4378812ac mac80211: fix a deadlock in minstrel_ht when a HT client without valid MCS rates connects
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 14:00:59 +00:00
nbd
03f57539d9 mac80211: fix dropping multicast proberequest frames for ad-hoc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-24 13:38:20 +00:00
nbd
b139cef40a ath9k: add a few de-bloating and optimization patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-23 20:16:58 +00:00
nbd
f8662e2c22 ath9k: merge a pending patch for fixing a stopped queue issue (mostly for client mode)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-23 20:16:53 +00:00
nbd
5034ff8395 mac80211: update to wireless-testing 2011-03-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 21:00:58 +00:00
nbd
d692939b93 ath9k: add a patch from linux-wireless@ for reducing driver size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 00:41:55 +00:00
nbd
3ae6fa1722 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 03:19:35 +00:00
nbd
77d61d596b ath9k: re-run nfcal only when stuck beacons become more frequent
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:26 +00:00
nbd
909794c243 ath9k: increase ATH_BCBUF, allows creating 8 virtual APs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:22 +00:00
nbd
0614dd953e ath9k: improve precision of beacon timer calculations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:17 +00:00
nbd
9217fded49 ath9k: add some minor debugfs cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:12 +00:00
nbd
ab31e75d1b hostapd: add a separate config symbol for 802.11n driver support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 20:21:28 +00:00
nbd
55205a9f6b mac80211: add an aggregation rx reorder timeout handling fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-16 02:57:04 +00:00
nbd
7350a80ed1 ath9k: force the rx chainmask on ar913x to 0x7 - fixes calibration issues with 2-antenna devices such as the wrt160nl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 01:36:48 +00:00
nbd
90ed8e260f ath9k: enable an ar913x specific hardware fix for sending block-ack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 01:36:45 +00:00
acinonyx
73b9ef150f [package] mac80211: Fix unique device autodetection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 00:44:02 +00:00
nbd
a96b37d703 mac80211: fix ath9k/ath9k-htc description (thx, swalker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-14 14:04:49 +00:00
nbd
f04f75166a ath9k: split package into kmod-ath9k and kmod-ath9k-common, add a new package for ath9k_htc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 18:38:50 +00:00
nbd
7ae2f49748 mac80211: update to wireless-testing 2011-03-11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 18:38:37 +00:00
nbd
7746d05fee mac80211/ath9k: improve pending patches based on review feedback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 20:55:54 +00:00
nbd
fdb9acb4b9 mac80211: fix spurious channel type changes when vifs are created/deleted
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 19:23:38 +00:00
nbd
fae87953ac ath9k: add a patch to fix the interoperability issues with intel clients (fixes #8830)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 16:04:37 +00:00
hcg
dedb5eabcc [mac80211] Add wext support to libertas-sd driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 09:24:25 +00:00
nbd
5f2df5abc5 mac80211: redirect EAP frames on AP VLAN interfaces to the main AP interface to fix a bridging related race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 18:00:45 +00:00
nbd
bc3a5f824f ath9k: improve tx dma fixes based on review feedback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:37:26 +00:00
nbd
08ba7e8685 ath9k: get rid of most of those annoying dma tx stop issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 00:53:05 +00:00
nbd
a78831d207 zd1211rw: fix #define collision for register names triggered by compat patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 03:41:27 +00:00
nbd
da27ab47b3 mac80211: fix minstrel_ht sampling intervals (patch by Daniel Halperin)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 03:41:22 +00:00
nbd
1776ea0ccd 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 00:37:25 +00:00
mb
3028eab08b mac80211: Add scan race fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 14:01:46 +00:00
mb
b70c6b1168 mac80211: print message on hw restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:36:43 +00:00
mb
40bef39c64 mac80211: Don't include p54spi default eeprom
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:21:58 +00:00
nbd
768662b701 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 21:08:28 +00:00
mb
0814286378 2.6.38: Let mac80211 select CONFIG_AVERAGE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 18:55:00 +00:00
nbd
b1ba030093 mac80211: improve ath9k AP A-MPDU PS buffering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:46:15 +00:00
nbd
2d90f605f5 mac80211: override CONFIG_IWLWIFI_LEGACY
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:46:08 +00:00
nbd
a736924ce9 mac80211: set CONFIG_RTLWIFI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:37:21 +00:00
nbd
51a59f0c51 p54: fix a null pointer dereference bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 20:50:45 +00:00
nbd
266275eef4 mac80211: update to 2011-02-25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 11:22:26 +00:00
nbd
4856cc94bb 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
nbd
2b9729ded6 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
nbd
5a2812db7d 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
nbd
239c6f2e2d 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
nbd
87664be80e 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
nbd
22ecf6d623 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
nbd
88bf917365 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
nbd
a76eddd489 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
nbd
71fadbe986 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
nbd
3d93bd05f8 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
nbd
d9504fed20 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
nbd
4e5d814acd 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
nbd
1f25573feb 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
nbd
2bd31a6676 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
nbd
636cc564f0 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
nbd
60c0cecdea 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
nbd
3344f8e40c 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
jow
8d510f3c87 [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
acinonyx
96418c0a98 [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
jow
9afe60a2f4 [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
jow
4b099d9265 [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
jow
028570018d [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
nbd
b1059b17d9 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
nbd
593e983ee0 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
nbd
9eacd21000 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
nbd
10b359c8c9 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
nbd
2fd6778e99 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
nbd
6f72126ba8 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
nbd
98ec8455f2 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
nbd
0acb33d358 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
nbd
19cc42b1db 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
nbd
877b7eb1f0 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
nbd
44c11a9bf7 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
nbd
cf7cf41639 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
nbd
f45629be8f 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
nbd
995df6badb 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
nbd
42d75d55ce 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
nbd
c9796711a9 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
nbd
63a8d84c77 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
nbd
90a38a8694 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
nbd
1480761fe1 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
jow
9577fc90b0 [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
nbd
d7933a9d76 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
nbd
b5f7d6d238 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
nbd
870635662e 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
kaloz
d08a50c7da [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
nbd
cbe34afecd 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
kaloz
3e84836591 [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
kaloz
6062e7c069 [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
nbd
fbe9671879 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
nbd
d6f780b09c 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
nbd
1fc276b837 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
nbd
52ee110fd7 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
acoul
82090c99a3 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
8d00d695a0 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
hauke
81ec835fad 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 14:59:53 +00:00
hauke
23582bfcb2 mac80211: activate ahb bud for ath5k driver if on atheros target.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 14:57:40 +00:00
jow
fe23d30dfa [package] mac80211: rename max_clients option to maxassoc, this brings it in line with broadcom
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 13:33:55 +00:00
nbd
32dcd7a566 hostapd: add support for specifying the maximum number of clients
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:56:56 +00:00
nbd
f0925afdb8 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
nbd
495d32b8aa 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
nbd
1433ed72bf 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
nbd
ebed3dea7a 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
nbd
1f0c4a1528 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
nbd
4cc2bb43c8 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
nbd
5fa1eb9a4c 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
nbd
5ef2ad3dc6 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
nbd
b3dcbabe27 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
nbd
b419f641ee 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
nbd
a186e3031e 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
nbd
2e3a7d5dc7 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
nbd
9cfc824465 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
nbd
7605312319 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
nbd
14c4949ade 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
nbd
6e85bda4ce 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
nbd
88e0ef4de7 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
nbd
83cc2deba9 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
nbd
863b4e07f5 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
jow
0df11abb3b [package] mac80211: use iw for txpower control (#8416)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 18:43:47 +00:00
nbd
d59cf23092 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
nbd
5dd2f7eb57 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
nbd
342bbc147b ath9k: fix a DMA related race condition at hw reset time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 16:26:38 +00:00
nbd
cb875ff79e 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 01:32:15 +00:00
nbd
bb03c545e8 mac80211: update to wireless-testing 2010-11-30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 01:32:04 +00:00