Commit Graph

1218 Commits (9d5510a500a1804484152adb8951dda3688658bc)

Author SHA1 Message Date
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
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau fb79dbfb7b mac80211: merge upstream legacy minstrel improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36334
11 years ago
Felix Fietkau 87395ec919 mac80211: fix a client mode reconnect issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36311
11 years ago
Felix Fietkau a41fb84d2f ath9k: fix an AR9580 specific crypto related stability issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36306
11 years ago
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
11 years ago
Felix Fietkau c42c4837b9 ath9k: fix a tx processing race condition on AR9300+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36267
11 years ago
Felix Fietkau 3a0e6c06e9 ath9k_htc: accept firmware versions newer than 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36266
11 years ago
Felix Fietkau b5a27f260b mac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36265
11 years ago
John Crispin 04d80710a9 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>

SVN-Revision: 36194
11 years ago
John Crispin 97adfa35c0 several patches to make OF work on rt2x00
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36178
11 years ago
John Crispin b4487f1e35 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>

SVN-Revision: 36177
11 years ago
Jonas Gorski 7e0b5d15c6 mac80211: backport some upstream mwl8k fixes
SVN-Revision: 36134
11 years ago
Hauke Mehrtens 5ee44cbcaf mac80211: download file with firmware for brcmsmac
This fixes #13144.

SVN-Revision: 36114
11 years ago
Hauke Mehrtens 72b5d58a2a mac80211: update brcmsmac ap patches
SVN-Revision: 36113
11 years ago
Felix Fietkau 541344b93e mac80211: merge a few minstrel_ht performance improvements
SVN-Revision: 36056
11 years ago
Felix Fietkau 132a54f646 mac80211: merge a fix for a race condition on station removal
SVN-Revision: 36053
11 years ago
Felix Fietkau 3fa31714b9 ath9k: add a fix to reduce the number of spurious tx hang detections
SVN-Revision: 36040
11 years ago
Felix Fietkau cf7abda745 ath9k: fix issues with disabling rx/tx antennas
SVN-Revision: 36035
11 years ago
Florian Fainelli 32f3b1e358 mac80211: backport required changes to support 3.9-rc kernels
SVN-Revision: 36007
11 years ago
John Crispin d0ddec11bb fixes mbssid on ralink hardware
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35986
11 years ago
Hauke Mehrtens 281e12abae mac80211: b43: increase number of rx slots to 256 again.
SVN-Revision: 35944
11 years ago
Hauke Mehrtens 681769d0c0 mac80211: decrease rx slots to 128, I hope this is a good trade of between stability and memory consumption.
SVN-Revision: 35913
11 years ago
Felix Fietkau 1f77bfff96 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>

SVN-Revision: 35900
11 years ago
Felix Fietkau 15e0ff9322 mac80211: add another minstrel_ht performance improvement
SVN-Revision: 35890
11 years ago
Felix Fietkau b3e73f3a95 mac80211: merge some more minstrel_ht performance improvements
SVN-Revision: 35848
11 years ago
Felix Fietkau 5f079aacd7 mac80211: merge minstrel_ht rate control performance improvements
SVN-Revision: 35847
11 years ago
Felix Fietkau 23f460abb6 mac80211: another fix for monitor mode handling (fixes #13071)
SVN-Revision: 35846
11 years ago
Felix Fietkau 43d6e5c585 mac80211: fix sending probe requests in client mode, fixes connecting to hidden networks (#13056)
SVN-Revision: 35819
11 years ago
Felix Fietkau 325cb65009 rt2x00: prevent device probe errors with CONFIG_MAC80211_MESH disabled (#13080)
SVN-Revision: 35806
11 years ago
Felix Fietkau f1bde82f00 ath9k: issue a cold reset after failures or after bringing the chip out of full sleep - fixes many kinds of DMA issues
SVN-Revision: 35785
11 years ago
Hauke Mehrtens 2754907a13 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.

SVN-Revision: 35763
11 years ago
Felix Fietkau 414a2631b6 mac80211: disable ipv4/ipv6 address notifiers (fixes #13055)
SVN-Revision: 35762
11 years ago
Felix Fietkau 7bd713a76d mac80211: fix monitor mode channel reporting
SVN-Revision: 35761
11 years ago
Felix Fietkau 6dbdadcaa6 mac80211: fix monitor-only injection
SVN-Revision: 35760
11 years ago
Felix Fietkau dbb21f1641 mac80211: fix wireless extension support
SVN-Revision: 35759
11 years ago
Jonas Gorski 53771fb8ee mac80211: update linux-firmware to latest revision
Fixes mwl8k AP mode for 88e8366.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35758
11 years ago
Felix Fietkau 6fbfeca6ef mac80211: select relayfs if ath9k debugfs is enabled
SVN-Revision: 35757
11 years ago
Felix Fietkau 3b1fa12cb9 mac80211: disable building the wil6210 driver
SVN-Revision: 35754
11 years ago
Felix Fietkau e526c7bc17 mac80211: update to wireless-testing 2013-02-22
SVN-Revision: 35753
11 years ago
Felix Fietkau c4c43eed04 ath9k: fix rssi issues
SVN-Revision: 35750
11 years ago
Felix Fietkau d642c4465f ath9k_htc: fix signal strength reporting issues
SVN-Revision: 35749
11 years ago
Jonas Gorski 219b7c91d6 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>

SVN-Revision: 35711
11 years ago
Hauke Mehrtens 48bc2fbff3 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>

SVN-Revision: 35671
11 years ago
Felix Fietkau 31718416e6 mac80211: add some small fixes for minstrel_ht CCK support
SVN-Revision: 35576
12 years ago
Felix Fietkau 0564b6beef mac80211: add CCK rate support to minstrel_ht to improve range
SVN-Revision: 35566
12 years ago
Felix Fietkau 1810b80ec0 mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default
SVN-Revision: 35565
12 years ago
Felix Fietkau 11e3592531 ath9k: add support for more antenna mask combinations on AR93xx
SVN-Revision: 35264
12 years ago
Felix Fietkau e219c56a11 ath9k: merge another round of cleanups and stability fixes, refresh patches
SVN-Revision: 35255
12 years ago