Commit graph

1260 commits

Author SHA1 Message Date
Hauke Mehrtens
07757044bf mac80211: add rt2x00-mmio package to store the common parts for SoC and PCI access
This should fix a build error on ramips.

SVN-Revision: 36978
2013-06-20 15:03:28 +00:00
Felix Fietkau
b954cfdf6a ath9k: fix cabq depth accounting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36977
2013-06-20 13:10:31 +00:00
Hauke Mehrtens
5c1d33b331 mac80211: libertas-sd depends on mmc
SVN-Revision: 36975
2013-06-19 21:36:52 +00:00
Hauke Mehrtens
ce6c46b5f7 mac80211: copy the backport-include files to staging_dir
SVN-Revision: 36974
2013-06-19 21:36:22 +00:00
Hauke Mehrtens
c37970cd5c 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

SVN-Revision: 36973
2013-06-19 21:33:31 +00:00
Hauke Mehrtens
c86eeac435 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.

SVN-Revision: 36972
2013-06-19 21:29:34 +00:00
Felix Fietkau
749e989215 ath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36941
2013-06-16 12:56:16 +00:00
Felix Fietkau
50f12e1b98 mac80211: fix disabling rfkill support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36940
2013-06-16 09:25:41 +00:00
Felix Fietkau
5ca4d24cd1 mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36939
2013-06-15 20:14:06 +00:00
Felix Fietkau
23aa9546ce ath9k: fix paprd descriptor setup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36881
2013-06-07 16:11:56 +00:00
Felix Fietkau
0924782279 ath9k: improve multicast buffering handling, take care of the MORE_DATA flag properly
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36880
2013-06-07 16:04:06 +00:00
Felix Fietkau
29464f1367 ath9k: fix a regression in the powersave handling related changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36859
2013-06-05 19:16:20 +00:00
Felix Fietkau
1d301e00af ath9k: merge a fix for ar9550 eeprom access
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36858
2013-06-05 19:16:16 +00:00
Felix Fietkau
d401a206d9 ath9k: fix some issues in the ap powersave fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36829
2013-06-04 10:21:44 +00:00
Felix Fietkau
2d4b5405f7 ath9k: fix a null pointer deref issue in the powersave fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36828
2013-06-03 20:58:28 +00:00
Felix Fietkau
791c103df7 ath9k: prevent excessive buffered multicast traffic from drowning out regular traffic
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36825
2013-06-03 14:15:57 +00:00
Felix Fietkau
532aee10fd ath9k: improve AP mode powersave buffering handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36824
2013-06-03 14:15:52 +00:00
Felix Fietkau
b35dfca744 ath9k: increase ANI poll interval to 300 ms to get it close to the listen period
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36823
2013-06-03 14:15:43 +00:00
Felix Fietkau
6e5dd8c0b9 mac80211: fix a crash issue introduced in the active monitor code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36751
2013-05-28 21:20:22 +00:00
Felix Fietkau
e875338294 ath9k: fix some issues in PA predistortion (still disabled by default)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36744
2013-05-28 16:07:29 +00:00
Felix Fietkau
e6250644be 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>

SVN-Revision: 36743
2013-05-28 11:10:41 +00:00
Felix Fietkau
4ed6aabbfb mac80211: merge AP VLAN / WDS related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36699
2013-05-24 11:54:47 +00:00
Felix Fietkau
10a697faaf mac80211: fix station info tx bytes (#13567)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36697
2013-05-23 13:06:17 +00:00
Felix Fietkau
4402cdc066 ath9k: merge some ar934x stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36695
2013-05-23 10:22:13 +00:00
Jonas Gorski
c901854ce4 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>

SVN-Revision: 36666
2013-05-20 12:06:57 +00:00
Jonas Gorski
89e299259c mac80211: make it build with 3.10-rc1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36661
2013-05-19 18:36:06 +00:00
Felix Fietkau
2ff74a75b6 ath9k: fix some more aggregation related issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36656
2013-05-18 19:36:22 +00:00
Felix Fietkau
7f847fe47c ath9k: merge some aggregation / rate handling related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36648
2013-05-17 09:37:19 +00:00
Felix Fietkau
ab3982a841 mac80211: add a rate control rate selection fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36645
2013-05-16 11:41:54 +00:00
Felix Fietkau
059a636ab5 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>

SVN-Revision: 36640
2013-05-15 09:36:10 +00:00
Felix Fietkau
325629b4fc 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>

SVN-Revision: 36639
2013-05-15 09:36:02 +00:00
Felix Fietkau
29cd45f752 mac80211: fix AP mode action frame handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36633
2013-05-14 11:02:01 +00:00
Felix Fietkau
c27351f2fa mac80211: fix client mode state handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36632
2013-05-14 11:01:54 +00:00
Felix Fietkau
1b52dacef0 mac80211: merge a client mode channel switch handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36531
2013-05-03 09:14:03 +00:00
Felix Fietkau
18c588a570 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>

SVN-Revision: 36530
2013-05-03 09:12:19 +00:00
Hauke Mehrtens
3cbc3b73aa mac80211: brcmsmac: remove initial support for core rev 28
To add support for core rev 28 there are a lot more changes needed.

SVN-Revision: 36477
2013-04-28 17:59:24 +00:00
Hauke Mehrtens
b014140c2e mac80211: b43: only use gpio 0 and 1 for the wifi led
sometimes b43 truned the gpio for the switch reset on.

SVN-Revision: 36476
2013-04-28 17:57:30 +00:00
Hauke Mehrtens
c807a7737f mac80211: b43: Handle DMA RX descriptor underrun
SVN-Revision: 36474
2013-04-28 16:55:53 +00:00
Felix Fietkau
6a2dd833cf ath9k: fix keycache handling with many connected clients
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36467
2013-04-27 09:56:18 +00:00
Felix Fietkau
fab1ddff73 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36466
2013-04-27 09:56:14 +00:00
Felix Fietkau
accc6e309e mac80211: update to wireless-testing 2013-04-16 + backports
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36448
2013-04-26 10:52:03 +00:00
Felix Fietkau
e119a8a107 mac80211: use the original mac address for the first virtual interface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36408
2013-04-23 16:32:24 +00:00
Felix Fietkau
df10e201eb 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>

SVN-Revision: 36353
2013-04-17 15:36:57 +00:00
Felix Fietkau
96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Felix Fietkau
023105284f ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36344
2013-04-16 10:53:02 +00:00
Felix Fietkau
fb79dbfb7b mac80211: merge upstream legacy minstrel improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36334
2013-04-15 13:54:42 +00:00
Felix Fietkau
87395ec919 mac80211: fix a client mode reconnect issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36311
2013-04-10 21:17:33 +00:00
Felix Fietkau
a41fb84d2f ath9k: fix an AR9580 specific crypto related stability issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36306
2013-04-10 13:26:08 +00:00
Felix Fietkau
e01a24f4f8 mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36305
2013-04-10 13:11:33 +00:00
Felix Fietkau
c42c4837b9 ath9k: fix a tx processing race condition on AR9300+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36267
2013-04-07 22:05:45 +00:00