Felix Fietkau
7980ac363b
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
Felix Fietkau
fcd8048511
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
Felix Fietkau
3129b4f611
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
Felix Fietkau
0b4ffe59ee
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
Felix Fietkau
3694ee29cc
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
Felix Fietkau
66d1f54cc0
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
Felix Fietkau
daf32f2647
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
Felix Fietkau
6df0505104
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
Felix Fietkau
9cece552de
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
Felix Fietkau
96e4d708ed
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
Vasilis Tsiligiannis
65e7aa8087
[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
Felix Fietkau
2c83fb0ef4
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
Felix Fietkau
c01189856e
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
Felix Fietkau
b3c2781814
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
Felix Fietkau
4267b60892
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
Felix Fietkau
75d82d079b
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
Felix Fietkau
573a46a6b0
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
Hamish Guthrie
283fbdf233
[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
Felix Fietkau
6cba80ccef
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
Felix Fietkau
62af7ac841
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
Felix Fietkau
da9cae627a
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
Felix Fietkau
a30b1f77be
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
Felix Fietkau
e12476873c
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
Felix Fietkau
129e9e84d3
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
Michael Büsch
ff6b8cc14a
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
Michael Büsch
f5b3b05ba8
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
Michael Büsch
57b87afe0c
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
Felix Fietkau
5591ace0a6
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
Michael Büsch
51261269ad
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
Felix Fietkau
36cf66d067
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
Felix Fietkau
9175837d11
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
Felix Fietkau
a34694fc20
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
Felix Fietkau
1566a16430
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
Felix Fietkau
ebff4e71da
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
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