Commit graph

1249 commits

Author SHA1 Message Date
Felix Fietkau
cf7abda745 ath9k: fix issues with disabling rx/tx antennas
SVN-Revision: 36035
2013-03-15 13:58:47 +00:00
Florian Fainelli
32f3b1e358 mac80211: backport required changes to support 3.9-rc kernels
SVN-Revision: 36007
2013-03-14 14:45:36 +00:00
John Crispin
d0ddec11bb fixes mbssid on ralink hardware
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35986
2013-03-12 13:52:20 +00:00
Hauke Mehrtens
281e12abae mac80211: b43: increase number of rx slots to 256 again.
SVN-Revision: 35944
2013-03-10 20:24:15 +00:00
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
2013-03-09 20:01:55 +00:00
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
2013-03-07 17:32:29 +00:00
Felix Fietkau
15e0ff9322 mac80211: add another minstrel_ht performance improvement
SVN-Revision: 35890
2013-03-05 14:32:31 +00:00
Felix Fietkau
b3e73f3a95 mac80211: merge some more minstrel_ht performance improvements
SVN-Revision: 35848
2013-03-03 12:05:33 +00:00
Felix Fietkau
5f079aacd7 mac80211: merge minstrel_ht rate control performance improvements
SVN-Revision: 35847
2013-03-02 21:00:58 +00:00
Felix Fietkau
23f460abb6 mac80211: another fix for monitor mode handling (fixes #13071)
SVN-Revision: 35846
2013-03-02 18:07:02 +00:00
Felix Fietkau
43d6e5c585 mac80211: fix sending probe requests in client mode, fixes connecting to hidden networks (#13056)
SVN-Revision: 35819
2013-02-26 21:52:59 +00:00
Felix Fietkau
325cb65009 rt2x00: prevent device probe errors with CONFIG_MAC80211_MESH disabled (#13080)
SVN-Revision: 35806
2013-02-26 15:14:32 +00:00
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
2013-02-25 19:53:31 +00:00
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
2013-02-24 01:11:20 +00:00
Felix Fietkau
414a2631b6 mac80211: disable ipv4/ipv6 address notifiers (fixes #13055)
SVN-Revision: 35762
2013-02-24 01:00:39 +00:00
Felix Fietkau
7bd713a76d mac80211: fix monitor mode channel reporting
SVN-Revision: 35761
2013-02-23 18:02:49 +00:00
Felix Fietkau
6dbdadcaa6 mac80211: fix monitor-only injection
SVN-Revision: 35760
2013-02-23 17:41:58 +00:00
Felix Fietkau
dbb21f1641 mac80211: fix wireless extension support
SVN-Revision: 35759
2013-02-23 12:48:14 +00:00
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
2013-02-23 12:13:18 +00:00
Felix Fietkau
6fbfeca6ef mac80211: select relayfs if ath9k debugfs is enabled
SVN-Revision: 35757
2013-02-23 12:12:39 +00:00
Felix Fietkau
3b1fa12cb9 mac80211: disable building the wil6210 driver
SVN-Revision: 35754
2013-02-23 01:40:24 +00:00
Felix Fietkau
e526c7bc17 mac80211: update to wireless-testing 2013-02-22
SVN-Revision: 35753
2013-02-23 01:12:36 +00:00
Felix Fietkau
c4c43eed04 ath9k: fix rssi issues
SVN-Revision: 35750
2013-02-22 20:11:55 +00:00
Felix Fietkau
d642c4465f ath9k_htc: fix signal strength reporting issues
SVN-Revision: 35749
2013-02-22 16:10:15 +00:00
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
2013-02-21 11:45:12 +00:00
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
2013-02-18 20:44:26 +00:00
Felix Fietkau
31718416e6 mac80211: add some small fixes for minstrel_ht CCK support
SVN-Revision: 35576
2013-02-13 09:53:28 +00:00
Felix Fietkau
0564b6beef mac80211: add CCK rate support to minstrel_ht to improve range
SVN-Revision: 35566
2013-02-11 18:59:14 +00:00
Felix Fietkau
1810b80ec0 mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default
SVN-Revision: 35565
2013-02-11 18:59:10 +00:00
Felix Fietkau
11e3592531 ath9k: add support for more antenna mask combinations on AR93xx
SVN-Revision: 35264
2013-01-21 12:46:37 +00:00
Felix Fietkau
e219c56a11 ath9k: merge another round of cleanups and stability fixes, refresh patches
SVN-Revision: 35255
2013-01-20 18:33:21 +00:00
Felix Fietkau
b8ee5a7a1c ath9k: fix a soft lockup on smp systems
SVN-Revision: 35152
2013-01-14 15:58:46 +00:00
Felix Fietkau
fca519e06d ath9k: remove a lock to fix a deadlock on hw reset
SVN-Revision: 35147
2013-01-14 09:51:53 +00:00
Felix Fietkau
58df48212c mac80211: fix monitor mode injection
SVN-Revision: 35145
2013-01-13 22:10:14 +00:00
Gabor Juhos
7695c8b049 mac80211: rt2x00: fix PCI eeprom patch
Fixes the following warnings:

  CC [M] <...>/drivers/net/wireless/rt2x00/rt2800pci.o
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom_file':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:95:2: warning: 'return' with a value, in function returning void [enabled by default]
<...>/drivers/net/wireless/rt2x00/rt2800pci.c: In function 'rt2800pci_read_eeprom':
<...>/drivers/net/wireless/rt2x00/rt2800pci.c:994:2: warning: 'retval' may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35143
2013-01-13 20:44:14 +00:00
Felix Fietkau
97578303ff ath9k: fix memory corruption issues on ar5416/ar91xx
SVN-Revision: 35139
2013-01-13 18:55:39 +00:00
Felix Fietkau
27828be83a mac80211: fix enabling HT40-
SVN-Revision: 35096
2013-01-11 13:24:20 +00:00
Felix Fietkau
a27167aa13 mac80211: add a fix for ht40 connections
SVN-Revision: 35094
2013-01-11 11:49:11 +00:00
Felix Fietkau
0d24c70a4b ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices
SVN-Revision: 35089
2013-01-10 18:46:36 +00:00
Felix Fietkau
7762ff1135 ath9k: add some calibration fixes from wireless-testing
SVN-Revision: 35081
2013-01-10 14:09:50 +00:00
Felix Fietkau
52b030cf16 ath9k: correct a logic error in the rx path fix
SVN-Revision: 35067
2013-01-09 15:16:52 +00:00
Felix Fietkau
ddbb25c6a7 mac80211, ath9k: merge some pending fixes from linux-wireless@
SVN-Revision: 35066
2013-01-09 12:56:25 +00:00
Felix Fietkau
5c9fd3b2d2 mac80211: update to 2013-01-07, add several ath9k stability fixes
SVN-Revision: 35063
2013-01-09 12:45:28 +00:00
Felix Fietkau
3b27974c7a mac80211: apply network interface configuration for adhoc + wpa2
SVN-Revision: 35049
2013-01-07 21:12:33 +00:00
Felix Fietkau
ba21190710 mac80211: add dependency of PACKAGE_MAC80211_DEBUGFS
I wanted to use some statistics from /sys/kernel/debug/ieee80211,
so I enabled PACKAGE_MAC80211_DEBUGFS.  But I could not use it,
because CONFIG_KERNEL_DEBUG_FS was not set and it's a little bit
hidden. After manually setting CONFIG_KERNEL_DEBUG_FS to y,
everything was fine. This patch automatically selects
CONFIG_KERNEL_DEBUG_FS if PACKAGE_MAC80211_DEBUGFS is set.

Additionally, the help text says "Say N unless you know you need this.",
but it's default y. This help text is copied verbatim from the
kernel's Kconfig and not true for us. So remove this part of the
help text

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 35014
2013-01-04 17:41:23 +00:00
Hauke Mehrtens
e8c86dd070 mac80211: b43: add firmware for HT-PHY by default.
remove firmware for LP-Phy core rev 14, I have never seen such a device.

SVN-Revision: 35000
2013-01-03 18:52:08 +00:00
Felix Fietkau
8447af36e3 ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
SVN-Revision: 34979
2013-01-02 17:37:30 +00:00
John Crispin
15e29f3d9b fixes libertas firmware install path
fixes #12712

SVN-Revision: 34961
2013-01-02 10:08:54 +00:00
Felix Fietkau
b41d96e8b7 mac80211: refresh patches
SVN-Revision: 34911
2012-12-28 21:05:57 +00:00
Felix Fietkau
29d737a976 mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance
SVN-Revision: 34910
2012-12-28 21:05:49 +00:00
Gabor Juhos
a6112c3e8a mac80211: update rt2x00 rx_status patch
Also remove the superfluous ones for ath5k, p54.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34637
2012-12-11 17:49:11 +00:00
Gabor Juhos
1a000cfcef mac80211: zero-out rx_status in rt2x00, ath5k, p54
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34627
2012-12-11 14:16:23 +00:00
Gabor Juhos
51f59a4f53 mac80211: fix possible NULL pointer dereference in ath9k
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34624
2012-12-10 23:21:02 +00:00
Felix Fietkau
b8757c644f mac80211: fix channel context related warnings when using wds ap mode (fixes #12585)
SVN-Revision: 34610
2012-12-10 18:29:17 +00:00
Felix Fietkau
e3128792fe b43: fix tx path skb leaks
SVN-Revision: 34607
2012-12-10 16:43:01 +00:00
Gabor Juhos
dfd718d13d mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34606
2012-12-10 15:46:15 +00:00
Gabor Juhos
0739a2bb9c mac80211: ath9k: fix OTP register offsets for AR9340
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34605
2012-12-10 15:46:13 +00:00
Felix Fietkau
19fc506333 ath5k: fix skb leaks (should fix #12199)
SVN-Revision: 34603
2012-12-10 15:42:34 +00:00
Felix Fietkau
cb9c63048d mac80211: fix setting txpower (#12594)
SVN-Revision: 34594
2012-12-10 13:51:09 +00:00
Felix Fietkau
8d15b064e0 ath9k: improve signal strength / channel noise reporting accuracy
SVN-Revision: 34592
2012-12-10 13:51:02 +00:00
Felix Fietkau
45a0216593 mac80211: refresh patches
SVN-Revision: 34591
2012-12-10 13:50:58 +00:00
Felix Fietkau
77c14b1a99 mac80211: merge fix for carl9170 upstream regression
SVN-Revision: 34590
2012-12-10 13:50:54 +00:00
Hauke Mehrtens
a087cde13e mac80211: do not build mwifiex driver
SVN-Revision: 34573
2012-12-07 18:10:14 +00:00
Felix Fietkau
6716ba9aad mac80211: update to wireless-testing 2012-12-06
SVN-Revision: 34571
2012-12-07 16:46:04 +00:00
Hauke Mehrtens
3365e2caf0 mac80211: brcmsmac: do a read after write when writing objmem to device.
SVN-Revision: 34570
2012-12-07 16:24:35 +00:00
Florian Fainelli
5679d5d1e1 mac80211: add support for adm8211 wireless driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34560
2012-12-06 22:40:45 +00:00
Felix Fietkau
3e5940532d mac80211: clean up patches, replace patching config.mk with a generated sed expression
SVN-Revision: 34531
2012-12-06 14:11:09 +00:00
Felix Fietkau
8516ddb133 mac80211, hostapd: Fix macfilter for multi bssid setups
Previously only the first macfilter configuration would have been used
on all interfaces. However, the configuration was always done per vif
already. Hence, move the macfilter setup into hostapd.sh where and
create one mac list file per vif.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 34470
2012-12-04 12:06:40 +00:00
Gabor Juhos
8cfe4bf9cd mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34464
2012-12-02 20:41:39 +00:00
Gabor Juhos
7a26eb9f13 mac80211: rename a misnamed ath9k patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34463
2012-12-02 20:41:37 +00:00
Gabor Juhos
6c1fbb2d5c mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
[juhosg: move ramips specific stuff into a followup patch]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34269
2012-11-20 07:19:09 +00:00
Gabor Juhos
a2e71a0bbf mac80211/rt2x00: support Rt3352 with external PA
This is needed for WiFi to work e.g. on DIR-615 rev.H1.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34268
2012-11-20 07:19:08 +00:00
Felix Fietkau
f9e59cf29c mac80211: add more tx skb free fixes (hopefully final fix to #11894)
SVN-Revision: 34133
2012-11-10 02:47:33 +00:00
Felix Fietkau
661d1efc80 mac80211: prevent reconfigure calls while interfaces are down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 34030
2012-10-31 14:59:12 +00:00
Felix Fietkau
748427f2e4 mac80211: report tx status for dropped frames, should fix some remaining stability issues
SVN-Revision: 33991
2012-10-29 13:29:12 +00:00
Felix Fietkau
c63de0e888 ath9k: add a patch that prevents excessive retry of single frames during an aggregation session
SVN-Revision: 33989
2012-10-29 12:44:37 +00:00
Gabor Juhos
e8fc46b7c5 generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33954
2012-10-27 08:55:36 +00:00
Felix Fietkau
42dc433e65 ath9k: fix a stale bf->bf_next pointer, potentially leading to double-free errors and "Failed to stop Tx DMA" errors
SVN-Revision: 33938
2012-10-25 21:41:56 +00:00
Felix Fietkau
cae349b5ad mac80211: refresh patch
SVN-Revision: 33937
2012-10-25 21:41:52 +00:00
Hauke Mehrtens
2256e862d2 mac80211: add md5sum for linux-firmware file, to download it from the mirror.
SVN-Revision: 33932
2012-10-25 16:25:45 +00:00
Hauke Mehrtens
a747f0a029 mac80211: update carl9170 firmware
SVN-Revision: 33930
2012-10-25 16:07:30 +00:00
Hauke Mehrtens
dca633f1c8 kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx

SVN-Revision: 33920
2012-10-25 14:33:47 +00:00
Felix Fietkau
3cf25176a4 ath9k: fix operating state check on changing the channel bandwidth via debugfs
SVN-Revision: 33891
2012-10-22 16:23:23 +00:00
Hauke Mehrtens
325b9323ae mac80211: update firmware from linux-firmware
* add firmware for some more intel wifi cards
 * use new firmware for some intel wifi cards
 * remove old firmware version for libertas when we also ship a more recent version
 * add rt3290.bin for rt2800-pci
 * use new firmware version for wl12xx, the old one is not supported by the driver any more

SVN-Revision: 33854
2012-10-18 14:05:23 +00:00
Felix Fietkau
07933a6644 mac80211: fix typo that broke specifying the phy name directly (deprecated)
SVN-Revision: 33853
2012-10-18 11:42:42 +00:00
Felix Fietkau
e36eb8579f mac80211: store the device path as identifier in the config instead of the mac address, makes it more robust against card replacement or user errors
SVN-Revision: 33834
2012-10-18 00:09:55 +00:00
Felix Fietkau
7c50aea1ec mac80211: merge a client mode state handling fix, refresh patches
SVN-Revision: 33821
2012-10-17 18:53:46 +00:00
Felix Fietkau
6dc858909d mac80211: remove useless menus for extra configuration
SVN-Revision: 33805
2012-10-17 12:53:08 +00:00
Felix Fietkau
cc59e71f84 mac80211: use ieee80211_free_txskb in a few more places
SVN-Revision: 33695
2012-10-10 13:02:27 +00:00
Jonas Gorski
c8203d57c5 mac80211: fix intel wifi autoload module names
The autoload directives were using wrong module names, preventing
them from being automatically inserted at boot time.

SVN-Revision: 33676
2012-10-09 23:11:12 +00:00
Hauke Mehrtens
8086b7a750 mac80211: brcmsmac: use firmware extracted from proprietary driver
The firmware from linux-firmware does not support the rev 17 core found
in a bcm4716. The firmware extracted from the proprietary driver
supports this core. Use this firmware instead by default.

SVN-Revision: 33669
2012-10-08 20:18:27 +00:00
Hauke Mehrtens
d14c6b29eb tools: add b43-tools
Move the b43-tools build from the mac80211 Makefile into an own package in tools and use the newest version of b43-tools.

SVN-Revision: 33668
2012-10-08 20:15:42 +00:00
Hauke Mehrtens
5322ca7a30 mac80211: fix spacing
SVN-Revision: 33667
2012-10-08 18:24:35 +00:00
Felix Fietkau
37e89213fd add myself as a maintainer for various packages
SVN-Revision: 33660
2012-10-08 11:41:02 +00:00
Felix Fietkau
51e2b66b57 mac80211: refresh patches
SVN-Revision: 33636
2012-10-07 21:35:33 +00:00
Felix Fietkau
e1ceb94c2f mac80211: use ieee80211_free_txskb in a few more places to prevent skb leaks
SVN-Revision: 33635
2012-10-07 21:35:29 +00:00
Felix Fietkau
8c37a0f098 ath9k: fix invalid register access on single-stream ar93xx devices
SVN-Revision: 33628
2012-10-05 16:15:55 +00:00
Gabor Juhos
c034fc2f40 mac80211/rt2x00: fix lna assignment typo in Rt3352 which went upstream
Reviewing what went into wireless-testing I found a quite nasty mistake,
probably a result of copy&past'ing from the lines below in rt2800lib.c.
This adds another patch to fix that.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33616
2012-10-04 06:34:14 +00:00
Gabor Juhos
2cffcaaae7 mac80211/rt2x00: sync Rt3352 support
The original patch was accepted into linux-next in a slightly modified form.
In order to provide integrity to follow-up patches, replace the patch in OpenWrt
with the (semantically identical) now upstream patch.
(commit 03839951515b0ea2b21d649b1fe7b63f9817d0c8 in wireless-testing)

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33615
2012-10-04 06:34:12 +00:00
Felix Fietkau
b4207dd744 mac80211: allow scans in access point mode (for site survey)
SVN-Revision: 33613
2012-10-03 19:13:20 +00:00