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
Felix Fietkau
e764a3ead3
ath9k_htc: accept firmware versions newer than 1.3
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:41 +00:00
Felix Fietkau
b3d001108c
mac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 22:05:36 +00:00
John Crispin
32c6b76b2e
[mac80211] add a helper that allows loading the eeprom from a MTD partition pointed to by a phandle
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-04 14:57:43 +00:00
John Crispin
4b605fd6fa
[mac80211] several patches to make OF work on rt2x00
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:29 +00:00
John Crispin
eec0f45330
[mac80211] add RT5350 wifi support
...
MTK/Ralink Acked replied and says we can merge this patch under the GPL.
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Tested-by: Michel Stempin <michel.stempin@wanadoo.fr>
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:25 +00:00
Jonas Gorski
20fb5babb4
mac80211: backport some upstream mwl8k fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 12:39:52 +00:00
Hauke Mehrtens
72c80c30eb
mac80211: download file with firmware for brcmsmac
...
This fixes #13144 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 00:54:30 +00:00
Hauke Mehrtens
c63149640d
mac80211: update brcmsmac ap patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 00:53:15 +00:00
Felix Fietkau
546ef807b7
mac80211: merge a few minstrel_ht performance improvements
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-16 16:11:43 +00:00
Felix Fietkau
b92c8d74e2
mac80211: merge a fix for a race condition on station removal
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 22:29:27 +00:00
Felix Fietkau
2c8b84c898
ath9k: add a fix to reduce the number of spurious tx hang detections
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:22:06 +00:00
Felix Fietkau
daa7bf90ba
ath9k: fix issues with disabling rx/tx antennas
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 13:58:47 +00:00
Florian Fainelli
6cb1f067dc
mac80211: backport required changes to support 3.9-rc kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 14:45:36 +00:00
John Crispin
a9b77daa6a
[mac80211] fixes mbssid on ralink hardware
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:20 +00:00
Hauke Mehrtens
533e4abffd
mac80211: b43: increase number of rx slots to 256 again.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:24:15 +00:00
Hauke Mehrtens
9fa6d10215
mac80211: decrease rx slots to 128, I hope this is a good trade of between stability and memory consumption.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 20:01:55 +00:00
Felix Fietkau
cf3d83fe4a
build: BSD compile fixes
...
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.
Mostly small pieces of code changes to get things right on the
specific platform.
Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.
Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-07 17:32:29 +00:00
Felix Fietkau
404e36aa0f
mac80211: add another minstrel_ht performance improvement
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-05 14:32:31 +00:00
Felix Fietkau
b32b1d216c
mac80211: merge some more minstrel_ht performance improvements
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:05:33 +00:00
Felix Fietkau
c28234eaf3
mac80211: merge minstrel_ht rate control performance improvements
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 21:00:58 +00:00
Felix Fietkau
df3d2b0a3c
mac80211: another fix for monitor mode handling ( fixes #13071 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 18:07:02 +00:00
Felix Fietkau
95473e3538
mac80211: fix sending probe requests in client mode, fixes connecting to hidden networks ( #13056 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 21:52:59 +00:00
Felix Fietkau
0e17e9789f
rt2x00: prevent device probe errors with CONFIG_MAC80211_MESH disabled ( #13080 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-26 15:14:32 +00:00
Felix Fietkau
7ed6b61a06
ath9k: issue a cold reset after failures or after bringing the chip out of full sleep - fixes many kinds of DMA issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 19:53:31 +00:00
Hauke Mehrtens
575c4cb452
mac80211: brcmsmac: add ap mode support
...
This does not work very well. I did not got this running in 5GHz mode and it was not very fast.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 01:11:20 +00:00
Felix Fietkau
c88549ad2c
mac80211: disable ipv4/ipv6 address notifiers ( fixes #13055 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 01:00:39 +00:00
Felix Fietkau
a54ed77ff7
mac80211: fix monitor mode channel reporting
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 18:02:49 +00:00
Felix Fietkau
bdf131a754
mac80211: fix monitor-only injection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 17:41:58 +00:00
Felix Fietkau
24e6548eea
mac80211: fix wireless extension support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 12:48:14 +00:00
Jonas Gorski
e209f99a1f
mac80211: update linux-firmware to latest revision
...
Fixes mwl8k AP mode for 88e8366.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 12:13:18 +00:00
Felix Fietkau
99ec69bf0f
mac80211: select relayfs if ath9k debugfs is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 12:12:39 +00:00
Felix Fietkau
271d1943cf
mac80211: disable building the wil6210 driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 01:40:24 +00:00
Felix Fietkau
9fe45e941a
mac80211: update to wireless-testing 2013-02-22
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 01:12:36 +00:00
Felix Fietkau
39e831c445
ath9k: fix rssi issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 20:11:55 +00:00
Felix Fietkau
929f20666b
ath9k_htc: fix signal strength reporting issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:10:15 +00:00
Jonas Gorski
66d8c4c9d3
mac80211: add missing DRIVER_11N_SUPPORT selects
...
Multiple drivers were missing their DRIVER_11N_SUPPORT despite
supporting 11N capable cards.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:12 +00:00
Hauke Mehrtens
5ff0c7a66c
mac80211: b43: Increase number of RX DMA slots
...
Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 20:44:26 +00:00
Felix Fietkau
c403c980f5
mac80211: add some small fixes for minstrel_ht CCK support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 09:53:28 +00:00
Felix Fietkau
0918304925
mac80211: add CCK rate support to minstrel_ht to improve range
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 18:59:14 +00:00
Felix Fietkau
2256cbf372
mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 18:59:10 +00:00
Felix Fietkau
cea37da121
ath9k: add support for more antenna mask combinations on AR93xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 12:46:37 +00:00