Hauke Mehrtens
65914db872
mac80211: add rt2x00-mmio package to store the common parts for SoC and PCI access
...
This should fix a build error on ramips.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-20 15:03:28 +00:00
Felix Fietkau
1183ac2997
ath9k: fix cabq depth accounting
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-20 13:10:31 +00:00
Hauke Mehrtens
7c6fb560a9
mac80211: libertas-sd depends on mmc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:36:52 +00:00
Hauke Mehrtens
4b4690d27e
mac80211: copy the backport-include files to staging_dir
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:36:22 +00:00
Hauke Mehrtens
f8295a8ac6
mac80211: do not use CPTCFG_SSB and CPTCFG_BCMA
...
ssb and bcma are not build by compat-wireless / backports and the
config symbols are also not taken from there. Use the in kernel config
symbols. This fixes a build error in brcmsmac/led.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:33:31 +00:00
Hauke Mehrtens
5a1584f8d9
mac80211: do not build RT2X00_LIB_XXX when XXX is not available in the kernel.
...
It was possible to select RT2X00_LIB_PCI without PCI being selected.
This closes #13720
mrkiko thanks for testing.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-19 21:29:34 +00:00
Felix Fietkau
828e8d9ec3
ath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-16 12:56:16 +00:00
Felix Fietkau
eec5a38d06
mac80211: fix disabling rfkill support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-16 09:25:41 +00:00
Felix Fietkau
5fb5b75668
mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-15 20:14:06 +00:00
Felix Fietkau
a07aa729d6
ath9k: fix paprd descriptor setup
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-07 16:11:56 +00:00
Felix Fietkau
1d3baf2fd2
ath9k: improve multicast buffering handling, take care of the MORE_DATA flag properly
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-07 16:04:06 +00:00
Felix Fietkau
e14fd898ae
ath9k: fix a regression in the powersave handling related changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 19:16:20 +00:00
Felix Fietkau
93d5e2e9cc
ath9k: merge a fix for ar9550 eeprom access
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 19:16:16 +00:00
Felix Fietkau
d95c3bd674
ath9k: fix some issues in the ap powersave fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 10:21:44 +00:00
Felix Fietkau
2b9432a431
ath9k: fix a null pointer deref issue in the powersave fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 20:58:28 +00:00
Felix Fietkau
867d235634
ath9k: prevent excessive buffered multicast traffic from drowning out regular traffic
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 14:15:57 +00:00
Felix Fietkau
0b57935885
ath9k: improve AP mode powersave buffering handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 14:15:52 +00:00
Felix Fietkau
f0cf4ce779
ath9k: increase ANI poll interval to 300 ms to get it close to the listen period
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-03 14:15:43 +00:00
Felix Fietkau
0a860b5f30
mac80211: fix a crash issue introduced in the active monitor code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 21:20:22 +00:00
Felix Fietkau
82d0836e7b
ath9k: fix some issues in PA predistortion (still disabled by default)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 16:07:29 +00:00
Felix Fietkau
fbe37f1e87
mac80211: add support for "active" monitor interfaces which allow userspace tools to connect to APs via injection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-28 11:10:41 +00:00
Felix Fietkau
18c6ed3ae3
mac80211: merge AP VLAN / WDS related fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-24 11:54:47 +00:00
Felix Fietkau
8e6bff8bef
mac80211: fix station info tx bytes ( #13567 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 13:06:17 +00:00
Felix Fietkau
c316eb9e8f
ath9k: merge some ar934x stability fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-23 10:22:13 +00:00
Jonas Gorski
61e79bfb45
mac80211: remove superfluous patch
...
This is already handles in compat-3.8.h as prandom* was introduced
in 3.8; only the aliases were removed in 3.10.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 12:06:57 +00:00
Jonas Gorski
17e300c5b1
mac80211: make it build with 3.10-rc1
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-19 18:36:06 +00:00
Felix Fietkau
1aca3426e7
ath9k: fix some more aggregation related issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-18 19:36:22 +00:00
Felix Fietkau
fadaa3f96f
ath9k: merge some aggregation / rate handling related fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-17 09:37:19 +00:00
Felix Fietkau
c9bdfb5f49
mac80211: add a rate control rate selection fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-16 11:41:54 +00:00
Felix Fietkau
8cdf6f2c24
mac80211: add mesh_param support
...
This patch add mesh_param support in mac80211.sh
It suppose that this patch http://patchwork.openwrt.org/patch/3540/ is applied (add HT support for mesh)
Tested with rspro(ar9280)/wr1043nd, BB r36211
see also this http://lists.open80211s.org/pipermail/devel/2012-June/003352.html
(mesh_hwmp_rootmode 1 & mesh_gate_announcements 1
=> mesh_hwmp_rootmode 4 & mesh_gate_announcements 1)
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-15 09:36:10 +00:00
Felix Fietkau
aa991a6faf
mac80211: add HT support for mesh
...
This is a quick patch to enable HT for mesh mode
https://github.com/cozybit/open80211s/wiki/HOWTO#high-throughput
http://lists.open80211s.org/pipermail/devel/2012-March/002990.html
For my test setup the speed increased from 1-2 Mbytes/sec to 8-10 Mbytes/sec (iperf)
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-15 09:36:02 +00:00
Felix Fietkau
f0e5605316
mac80211: fix AP mode action frame handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-14 11:02:01 +00:00
Felix Fietkau
513f364119
mac80211: fix client mode state handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-14 11:01:54 +00:00
Felix Fietkau
d910ab64ce
mac80211: merge a client mode channel switch handling fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 09:14:03 +00:00
Felix Fietkau
ebed4991a9
ar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce the frequency of DMA stop failures
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 09:12:19 +00:00
Hauke Mehrtens
e7e3b88858
mac80211: brcmsmac: remove initial support for core rev 28
...
To add support for core rev 28 there are a lot more changes needed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 17:59:24 +00:00
Hauke Mehrtens
e3827a1241
mac80211: b43: only use gpio 0 and 1 for the wifi led
...
sometimes b43 truned the gpio for the switch reset on.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 17:57:30 +00:00
Hauke Mehrtens
6b3aa2a1be
mac80211: b43: Handle DMA RX descriptor underrun
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-28 16:55:53 +00:00
Felix Fietkau
5357d2db60
ath9k: fix keycache handling with many connected clients
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-27 09:56:18 +00:00
Felix Fietkau
0bf9995a89
mac80211: refresh patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-27 09:56:14 +00:00
Felix Fietkau
26bf4e16d8
mac80211: update to wireless-testing 2013-04-16 + backports
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 10:52:03 +00:00
Felix Fietkau
ae76b2a314
mac80211: use the original mac address for the first virtual interface
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-23 16:32:24 +00:00
Felix Fietkau
5bca958995
mac80211: rework mac address allocation
...
If the first byte is available in the address mask, use only that one -
set the local bit and xor it with the id << 2. This ensures that there
are no hardware BSSID & BSSID-mask conflicts with devices that have
almost the same MAC address with just a small offset. The MAC address
conflict has been observed in a deployment with some devices from the
same batch when running with multiple interfaces.
If only some bits of the last byte are available, xor the id onto the
last MAC address byte (relevant mostly for Ralink devices).
In other cases (should not happen at this point), use the previous MAC
address offset calculation but without the local bit.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:57 +00:00
Felix Fietkau
ab8468d344
build: consistently use 'depends on' instead of 'depends'
...
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Felix Fietkau
a2043c1856
ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-16 10:53:02 +00:00
Felix Fietkau
5bf86f4072
mac80211: merge upstream legacy minstrel improvements
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-15 13:54:42 +00:00
Felix Fietkau
05f6116355
mac80211: fix a client mode reconnect issue
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 21:17:33 +00:00
Felix Fietkau
dcf4015151
ath9k: fix an AR9580 specific crypto related stability issue
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:26:08 +00:00
Felix Fietkau
1d5383210b
mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-10 13:11:33 +00:00
Felix Fietkau
3d67b6f70e
ath9k: fix a tx processing race condition on AR9300+
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:45 +00:00