Commit Graph

1174 Commits (338436797bc4f67e712dcdea702dcd7a7b551709)

Author SHA1 Message Date
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
Felix Fietkau b56cf99bb9 ath9k: merge another round of cleanups and stability fixes, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-20 18:33:21 +00:00
Felix Fietkau 71abb04e4b ath9k: fix a soft lockup on smp systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 15:58:46 +00:00
Felix Fietkau 46e56ff4d0 ath9k: remove a lock to fix a deadlock on hw reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 09:51:53 +00:00
Felix Fietkau b35a5a31cd mac80211: fix monitor mode injection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 22:10:14 +00:00
Gabor Juhos 6cbd4dde8a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 20:44:14 +00:00
Felix Fietkau c0ba491f01 ath9k: fix memory corruption issues on ar5416/ar91xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 18:55:39 +00:00
Felix Fietkau 2e12554148 mac80211: fix enabling HT40-
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-11 13:24:20 +00:00
Felix Fietkau 787f29add7 mac80211: add a fix for ht40 connections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-11 11:49:11 +00:00
Felix Fietkau 499fa67774 ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 18:46:36 +00:00
Felix Fietkau 118a4cd196 ath9k: add some calibration fixes from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 14:09:50 +00:00
Felix Fietkau 6ae52f05eb ath9k: correct a logic error in the rx path fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 15:16:52 +00:00
Felix Fietkau 3d243e744e mac80211, ath9k: merge some pending fixes from linux-wireless@
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 12:56:25 +00:00
Felix Fietkau 83842c1fc6 mac80211: update to 2013-01-07, add several ath9k stability fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 12:45:28 +00:00
Felix Fietkau d9f9ef4ef9 mac80211: apply network interface configuration for adhoc + wpa2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 21:12:33 +00:00
Felix Fietkau 0e41af577f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-04 17:41:23 +00:00
Hauke Mehrtens f57bb848e9 mac80211: b43: add firmware for HT-PHY by default.
remove firmware for LP-Phy core rev 14, I have never seen such a device.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:52:08 +00:00
Felix Fietkau 00b8e3793b ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 17:37:30 +00:00
John Crispin 4fd71cb4c3 [mac80211] fixes libertas firmware install path
fixes #12712

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 10:08:54 +00:00
Felix Fietkau 52db048af3 mac80211: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:05:57 +00:00
Felix Fietkau ff6fdc0f9b mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:05:49 +00:00
Gabor Juhos 64dc67c44a mac80211: update rt2x00 rx_status patch
Also remove the superfluous ones for ath5k, p54.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 17:49:11 +00:00
Gabor Juhos 6ff2a66a2f mac80211: zero-out rx_status in rt2x00, ath5k, p54
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 14:16:23 +00:00
Gabor Juhos 515fa69f8f mac80211: fix possible NULL pointer dereference in ath9k
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 23:21:02 +00:00
Felix Fietkau 722553af77 mac80211: fix channel context related warnings when using wds ap mode (fixes #12585)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 18:29:17 +00:00
Felix Fietkau 04d293ebae b43: fix tx path skb leaks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 16:43:01 +00:00
Gabor Juhos 23fe7d4e4f mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:46:15 +00:00
Gabor Juhos f7b644774f mac80211: ath9k: fix OTP register offsets for AR9340
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:46:13 +00:00
Felix Fietkau ed9c523990 ath5k: fix skb leaks (should fix #12199)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:42:34 +00:00
Felix Fietkau f7a9482416 mac80211: fix setting txpower (#12594)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:51:09 +00:00
Felix Fietkau ec9496391e ath9k: improve signal strength / channel noise reporting accuracy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:51:02 +00:00
Felix Fietkau af2a7d18d1 mac80211: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:50:58 +00:00
Felix Fietkau 469e1c3a80 mac80211: merge fix for carl9170 upstream regression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 13:50:54 +00:00
Hauke Mehrtens 0ef1d5d758 mac80211: do not build mwifiex driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 18:10:14 +00:00
Felix Fietkau 6ec11910ca mac80211: update to wireless-testing 2012-12-06
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 16:46:04 +00:00
Hauke Mehrtens 104526605c mac80211: brcmsmac: do a read after write when writing objmem to device.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 16:24:35 +00:00
Florian Fainelli 0e99db6d76 mac80211: add support for adm8211 wireless driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:45 +00:00
Felix Fietkau aaf2783f6c mac80211: clean up patches, replace patching config.mk with a generated sed expression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:09 +00:00
Felix Fietkau c9250641c4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 12:06:40 +00:00
Gabor Juhos 7faa98983a mac80211: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 20:41:39 +00:00
Gabor Juhos 523556378b mac80211: rename a misnamed ath9k patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 20:41:37 +00:00
Gabor Juhos e71db9dfd9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:09 +00:00
Gabor Juhos d830c243a0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:08 +00:00
Felix Fietkau ac7d1d747a mac80211: add more tx skb free fixes (hopefully final fix to #11894)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-10 02:47:33 +00:00
Felix Fietkau 4523fb277f mac80211: prevent reconfigure calls while interfaces are down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 14:59:12 +00:00
Felix Fietkau a3a0a5f116 mac80211: report tx status for dropped frames, should fix some remaining stability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 13:29:12 +00:00