Commit graph

558 commits

Author SHA1 Message Date
Felix Fietkau
f7a861615c mac80211: update software queueing patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44909
2015-03-20 16:24:06 +00:00
Imre Kaloz
211a4484a1 mac80211: fix 5ghz variable name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44907
2015-03-20 12:13:11 +00:00
Imre Kaloz
8f91c80ea1 mac80211: when looking for VHT, check 5GHz support as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44906
2015-03-20 11:47:16 +00:00
Felix Fietkau
2e5125c3d6 mac80211: add some improvements to the software queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44872
2015-03-17 17:14:43 +00:00
Rafał Miłecki
f60113762a mac80211: include brcmfmac USB firmware only if support was enabled
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44808
2015-03-16 07:04:28 +00:00
Rafał Miłecki
190cd817b0 mac80211: add option for USB support in brcmfmac
This makes it consistent with other buses configuration.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44807
2015-03-16 06:52:26 +00:00
Rafał Miłecki
e5d89ea721 mac80211: update wiki URLs
linuxwireless.org was moved to wireless.wiki.kernel.org and it RO now

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44806
2015-03-16 06:39:10 +00:00
Felix Fietkau
ff92fe5770 mac80211: add missing dependency for brcmfmac with SDIO support enabled (fixes #19184)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44790
2015-03-15 17:51:16 +00:00
Felix Fietkau
876fb249a8 ath9k: disable TPC support for now until bugs have been found and fixed
SVN-Revision: 44768
2015-03-15 07:10:38 +00:00
Felix Fietkau
ea5c986aa6 ath9k: always select relay support, not just when debugfs is enabled - fixes an unresolved symbol error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44754
2015-03-14 12:12:25 +00:00
Felix Fietkau
34f831dbd8 ath: fix selecting the module individually (#19162)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44750
2015-03-14 02:00:50 +00:00
Felix Fietkau
90b3984e60 mac80211: fix a rounding issue in minstrel MCS rate duration calculation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44749
2015-03-14 02:00:44 +00:00
Felix Fietkau
25d13b89ee mac80211: improve powersave handling in the tx queue rework patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44748
2015-03-14 02:00:36 +00:00
Felix Fietkau
fce7d5cfc9 mac80211: fix a pointer handling error in the new tx queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44738
2015-03-13 05:17:06 +00:00
Felix Fietkau
1850e0f0a7 Rename 'atheros' target to 'ath25'
Rename 'atheros' target to more precise 'ath25'.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44736
2015-03-13 03:02:28 +00:00
Felix Fietkau
690808a3ba ath9k: fix a beacon enable handling bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44696
2015-03-12 16:21:53 +00:00
Felix Fietkau
a67cd94def mac80211: add missing header file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44670
2015-03-11 16:36:35 +00:00
Felix Fietkau
790e704fc7 mac80211: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44669
2015-03-11 16:25:09 +00:00
Felix Fietkau
24e29efb2f mac80211: Use newer firmware for ath10k
Patch by Bryan Forbes <bryan@reigndropsfall.net>

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

SVN-Revision: 44656
2015-03-11 15:02:54 +00:00
Felix Fietkau
1e5b7c17b0 mac80211: update to wireless-testing 2015-03-09
Based on patch by Bryan Forbes <bryan@reigndropsfall.net>

Also update mt76 to update for API changes

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

SVN-Revision: 44655
2015-03-11 15:02:47 +00:00
John Crispin
8f99faaf21 ath5k: fix reset race
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44603
2015-03-05 20:24:50 +00:00
John Crispin
ecde3110b5 ath5k: channel change fix
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44602
2015-03-05 20:24:45 +00:00
Rafał Miłecki
be2abf706f kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44595
2015-03-03 23:15:49 +00:00
Rafał Miłecki
a79d10fa01 mac80211: brcmfmac: Add PCIe support option
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44466
2015-02-16 19:36:35 +00:00
Rafał Miłecki
9034bd32af mac80211: brcmfmac: Add SDIO support option
This patch adds SDIO support for the brcmfmac driver.
For now only very few boards need it.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44465
2015-02-16 19:11:38 +00:00
Jo-Philipp Wich
8f7ce3aa6d mac80211: don't hardcode /bin/bash
Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the
build on FreeBSD 10.1.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44283
2015-02-05 23:18:47 +00:00
John Crispin
ee445d7cb2 ath5k: fix spontaneus AR5312 freezes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44252
2015-02-04 06:09:51 +00:00
John Crispin
a0cc6803c8 mac80211: Revert adding SM Power Save capability to hostapd configuration
Part of rev 44173 added setting the SM Power Save capability in the hostapd.conf
file if the driver indicated that it was supported. It appears this was
incorrect, because the field in the actual HT Capabilities field in the AP
configuration is really a state indication. Just copying the state from the
capability resulted in the AP indicating that it had SMPS enabled all the time
if it supported SMPS. This effectively just disables all clients from sending
packets to the AP with more than one spatial stream, for no good reason.
So remove this part of the change.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

SVN-Revision: 44239
2015-02-02 09:01:44 +00:00
John Crispin
00a548aea8 mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
http://patchwork.ozlabs.org/patch/434532/

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44222
2015-01-30 08:06:47 +00:00
John Crispin
b86545c86d mac80211: fix NULL pointer crash in monitor frame injection TX path
This "patch to the patch" fixes a NULL pointer derefence crash in the new
intermediate software queues. The crash can be reproduced by injecting an
802.11 frame with a BSSID that does not belong to a configured vif. The
wperf tool (https://github.com/anyfi/wperf) may be convenient for doing
this.

Signed-off-by: Johan Almbladh <ja@anyfi.net>

SVN-Revision: 44220
2015-01-30 08:06:28 +00:00
John Crispin
895edf7c43 libertas: set wireless macaddr
Update the wireless macaddr with the value retrieved from the H/W.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44175
2015-01-28 12:07:35 +00:00
John Crispin
cae76f611a libertas: configure sysfs symlinks
Update the libertas driver to configure symlinks in sysfs.  This enables
the driver to be handled correctly by the mac80211/netifd/hostapd scripts.
With this patch, the wireless interface is functional on Guruplug Server Plus.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44174
2015-01-28 12:07:29 +00:00
John Crispin
04f104e74d mac80211: Add some missing 802.11n capabilities to hostapd configuration
Add some missing 802.11n capabilities to the hostapd ht_capab string when
supported by the hardware: Spatial Multiplexing Power-Save and 7935-byte AMSDUs.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

SVN-Revision: 44173
2015-01-28 12:07:21 +00:00
John Crispin
e0aaac8434 mac80211: fix fallback to macaddr
If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink
produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't
exist) or a path that begins with '/sys/class/ieee80211' (which does not
work with the subsequent line to strip '/sys/devices' from the beginning of
the path).  Modify the checks to detect these conditions, and fallback to
using the macaddr.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44172
2015-01-28 12:07:08 +00:00
John Crispin
f283700396 mac80211: update libertas_sdio package name
Change the name of the package to match the module name so it matches the
package name referenced by the Kirkwood (Guruplug) profile.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44171
2015-01-28 12:06:59 +00:00
Felix Fietkau
768d09be87 mac80211/hostapd: fix HT mode setup for RSN ad-hoc networks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44100
2015-01-24 19:27:22 +00:00
John Crispin
94aebc6bd7 mac80211: add throughput trigger to ath10k
add a led trigger to ath10k based on the ath9k code

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

SVN-Revision: 44033
2015-01-18 10:26:57 +00:00
Felix Fietkau
a570ccd7e2 ath9k: fix irq storm issues (#18483)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43971
2015-01-14 13:20:38 +00:00
Felix Fietkau
b898695bdd mac80211: fix ad-hoc basic/multicast rate regression from r43782
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43853
2015-01-05 13:19:20 +00:00
Felix Fietkau
fe35a1cb8b package: remove references to symbols TARGET_{ps3,pxcab}.
Target pxcab and ps3 were removed from maintaince in r34764 and r34765
respectively.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 43850
2015-01-05 13:03:40 +00:00
Felix Fietkau
beb4318bc3 ath10k: fix tx rate selection for ad-hoc mode with HT
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43790
2014-12-27 13:37:32 +00:00
Felix Fietkau
ff3464eb30 mac80211: fix HT mode selection for ad-hoc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43769
2014-12-22 21:46:38 +00:00
Felix Fietkau
ff06d03a38 cfg80211: add support for changing the device mac address via sysfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43638
2014-12-11 20:07:58 +00:00
Felix Fietkau
9144cc5c2d mac80211: do not export the backports linux/module.h, it breaks out-of-tree driver builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43609
2014-12-10 21:17:05 +00:00
Felix Fietkau
03b49664e5 ath10k: init devices synchronously to fix wifi detection at boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43484
2014-12-01 20:01:05 +00:00
Felix Fietkau
62100c31d6 ath5k: fix hardware queue index assignment
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43442
2014-11-30 21:05:17 +00:00
Felix Fietkau
47f09fd345 ath9k: fix hardware tx queue allocation order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43438
2014-11-30 19:41:59 +00:00
Felix Fietkau
22b42b4233 mac80211: update regdb to master-2014-11-18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43408
2014-11-27 17:26:06 +00:00
Felix Fietkau
8f7e398350 mac80211: fix a crash on getting the channel in WDS AP mode (#18400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43367
2014-11-24 17:13:54 +00:00
Felix Fietkau
6aeb3528a8 ath9k: fix some ar913x irq handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43342
2014-11-23 12:53:35 +00:00
Felix Fietkau
f80596c9df mac80211: fix a crash on using VHT rates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43340
2014-11-21 22:29:48 +00:00
Felix Fietkau
4d99db168c mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask is set
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43326
2014-11-19 20:17:08 +00:00
Felix Fietkau
1ffcc555ef mac80211: add an intermediate software queueing implementation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43325
2014-11-19 20:17:01 +00:00
Felix Fietkau
bc30e04a83 mac80211: add support for passing sta rate table updates to the driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43324
2014-11-19 20:16:55 +00:00
John Crispin
510ff1f1b8 ralink: merge the mt7620a/n subtargets
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43300
2014-11-19 09:19:38 +00:00
Felix Fietkau
49aca2431c mac80211: fix a crash bug in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43298
2014-11-18 22:20:50 +00:00
Felix Fietkau
9cd492b3e1 mac80211: add support for reporting tx status without attached skb
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43297
2014-11-18 22:20:45 +00:00
Felix Fietkau
7b0b8556d8 mac80211: enable minstrel_ht VHT support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43296
2014-11-18 22:20:37 +00:00
Felix Fietkau
dd5959c114 mac80211: fix VHT rate selection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43279
2014-11-16 11:39:07 +00:00
Felix Fietkau
25d508dcd9 mac80211: backport list_last_entry
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43278
2014-11-16 11:39:01 +00:00
Felix Fietkau
6abb5f7a21 mac80211: backport devm_kmemdup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43277
2014-11-16 11:38:55 +00:00
Felix Fietkau
5a05cb40ce ath9k: fix crashes when using shared IRQs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43239
2014-11-13 17:38:22 +00:00
Felix Fietkau
9809b02dec mac80211: fix kernel crash on netdev unregister on newer 3.14 kernels
Based on patch by Mark Milburn

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

SVN-Revision: 43224
2014-11-09 02:25:49 +00:00
Felix Fietkau
740c755805 mac80211: update to wireless-testing 2014-11-04
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43210
2014-11-07 19:41:07 +00:00
Felix Fietkau
82e2aeb599 mac80211: merge a few pending upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43208
2014-11-07 11:12:51 +00:00
Hauke Mehrtens
26e68b353f mac80211: remove unused patch
This patch added stuff that is already there and if it would be needed
this would result in a compile error.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43131
2014-10-31 21:55:21 +00:00
Felix Fietkau
e6da32c086 mac80211: fix key flush handling in AP+STA
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43079
2014-10-27 11:02:23 +00:00
Felix Fietkau
78bd998e49 ath9k: add a few calibration related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43058
2014-10-25 14:45:22 +00:00
Felix Fietkau
29987caa25 rtlwifi: unbreak usb drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43052
2014-10-24 22:00:34 +00:00
Felix Fietkau
16a9ab1d58 ath: process regulatory notifiers with CONFIG_ATH_USER_REGD set
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43034
2014-10-23 13:33:18 +00:00
Felix Fietkau
3772f272d0 ath10k: fix survey output channel in-use flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43033
2014-10-23 13:33:14 +00:00
Felix Fietkau
d9ea3d2aa8 ath9k: fix tx power reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43032
2014-10-22 16:26:56 +00:00
Felix Fietkau
18ae41edf0 ath9k: merge ar9580/ar955x initval updates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43029
2014-10-22 13:32:12 +00:00
Felix Fietkau
201fb55ac5 ath9k: merge a regulatory handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43028
2014-10-22 13:32:06 +00:00
Felix Fietkau
f3ee419dbc ath9k: merge a fix for queue start/stop handling (fixes #18164, #18130)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43011
2014-10-21 16:30:01 +00:00
Felix Fietkau
e641bb026b mac80211: add a maintenance script for upstream backport commits
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42953
2014-10-18 17:39:04 +00:00
Felix Fietkau
f0d9e712e4 mac80211: update to 2014-10-08
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42952
2014-10-18 17:38:59 +00:00
John Crispin
20940138ac scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 42911
2014-10-14 12:21:11 +00:00
Felix Fietkau
2e9157a866 mac80211: remove NO-IR from channel 36-48
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42882
2014-10-12 15:49:38 +00:00
Felix Fietkau
fbe1b7ecdf mac80211: remove error from detect script
Signed-off-by: Michel Stam <m.stam@fugro.nl>

SVN-Revision: 42861
2014-10-09 09:04:24 +00:00
Felix Fietkau
8609ca69e0 mac80211: add a few upstream ath9k / mac80211 fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42849
2014-10-08 15:09:53 +00:00
Felix Fietkau
8cc9f46dfa ath10k: update firmware to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42768
2014-10-05 14:59:59 +00:00
Felix Fietkau
063074cf0c mac80211_hwsim: select 802.11n support for hostapd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42766
2014-10-05 11:50:42 +00:00
Felix Fietkau
1161df826f ath9k: add a fix for dynack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42703
2014-09-30 21:36:04 +00:00
Felix Fietkau
cbc069f9c1 ath9k: add back missing fixes from the last version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42701
2014-09-29 18:51:25 +00:00
Felix Fietkau
a03d97d383 ath9k: fix some issues with ar934x rev 3 (especially ad-hoc mode)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42686
2014-09-27 20:52:11 +00:00
Felix Fietkau
8be721208d mac80211: update to wireless-testing 2014-09-26
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42683
2014-09-27 20:51:43 +00:00
Felix Fietkau
6ea49c5e13 ath9k_htc: fix decryption errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42530
2014-09-14 11:40:51 +00:00
Felix Fietkau
4ba3d616be ath9k: fix pll clock initialization on newer soc devices (fixes #14916)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42453
2014-09-09 08:03:00 +00:00
Felix Fietkau
3c5412e6c3 ath9k: add some ani related stability / performance fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42443
2014-09-08 16:45:30 +00:00
Jonas Gorski
288e50a79c mac80211: enable DFS support for ath9k/10k by default
The DFS pattern detector now supports all three regions; ETSI, FCC and
JP, so there is no reason to not have it enabled anymore.

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

SVN-Revision: 42431
2014-09-07 09:38:13 +00:00
John Crispin
e82f16117f mac80211: rt2x00: fix of ht20/ht40 switching fix
r42348 uses a wrong register

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 42349
2014-09-01 13:19:32 +00:00
John Crispin
567c909af0 mac80211: rt2x00 correctly set ht20/ht40 filter
Simple patch to correct ht20/ht40 switching. Tested with rt3290/rt3352/rt5350

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 42348
2014-09-01 11:40:38 +00:00
Felix Fietkau
f086c08c76 mac80211: fix crash when unloading drivers (#17706)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42329
2014-08-29 20:41:01 +00:00
John Crispin
bbcf1fa610 mac80211/rt2x00: allow disabling bands through dts
Add dts property ralink,2ghz and ralink,5ghz
e.g. disable 2ghz band:
wmac@10180000 {
  status = "okay";
  ralink,2ghz = <0>;
}

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 42281
2014-08-25 06:36:01 +00:00
Hauke Mehrtens
33264155cb mac80211: fix warning with kernel 3.14
This fixes a redefinition of net_get_random_once() warning.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42141
2014-08-11 20:23:20 +00:00
Felix Fietkau
498619dc1f mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41953
2014-08-02 19:51:58 +00:00
Felix Fietkau
183e5954b4 ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41952
2014-08-02 19:51:54 +00:00
Jonas Gorski
7272ccbf24 mac80211: b43: include ucode30 by default
Fixes

b43-phy0 ERROR: Firmware file "b43-open/ucode30_mimo.fw" not found

for BCM43217 devices.

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

SVN-Revision: 41943
2014-08-01 21:56:43 +00:00
Hauke Mehrtens
83c803086c mac80211: b43: update b43 to version master-2014-07-29-1
This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki.

b43_wflush16 was put into an extra function because it is pretty big in asm.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41900
2014-07-30 21:15:42 +00:00
Jo-Philipp Wich
1c0557cfa8 mac80211: support wildcard paths when matching phys
This change introduces support for wildcard patterns in "option path"
of section "wifi-device".

Objective is to allow paths like "*/usb[0-9]/*/*" in order to claim
any usb device using the same backend type, regardless of its bus
address or phy name.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41873
2014-07-29 09:48:07 +00:00
Felix Fietkau
8b4a312ed9 mac80211: merge a few WDS-AP related fixes (#14756, #16802)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41827
2014-07-25 14:24:03 +00:00
Imre Kaloz
a8486aeff3 package the mwifiex-pcie driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41820
2014-07-24 10:18:06 +00:00
Felix Fietkau
ad4a351f19 ath9k: fix a long standing aggregation related tx lockup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41815
2014-07-23 13:44:44 +00:00
Hauke Mehrtens
3d5412bd06 mac80211: b43: update b43 to version master-2014-07-22
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41805
2014-07-22 21:42:07 +00:00
Felix Fietkau
1e710a93eb mac80211: fix a null pointer deref when querying station info when rate control is not initialized (#17061)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41801
2014-07-22 19:05:19 +00:00
Imre Kaloz
286780b44a fix typo
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41762
2014-07-19 20:14:49 +00:00
Imre Kaloz
988e29e5ad allow ath10k to initialize using the board.bin contents
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41756
2014-07-19 13:18:59 +00:00
Hauke Mehrtens
7a8f2a73ce mac80211: add new b43 config option to issue rebuild
With this patch mac80211 will be rebuild when one of these config
options was changed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41677
2014-07-16 20:30:30 +00:00
Hauke Mehrtens
f857ae864a mac80211: b43: fix PHY_G support.
I missed adding B43_PHY_G to .local-symbols, without this it will not
be added to autoconf.h

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41676
2014-07-16 20:28:08 +00:00
Felix Fietkau
952c87aeeb ath9k: add a fix for tx pending frame accounting, fixes some tx hang issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41673
2014-07-16 18:26:21 +00:00
Hauke Mehrtens
025144800a mac80211: b43: backport b43 patches from wireless testing
This brings b43 up to wireless-testing/master master-2014-07-15

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41668
2014-07-15 21:58:03 +00:00
Hauke Mehrtens
ba54356d49 brcm47xx: deactivate ssb and old phy code for new devices
This deactivates ssb and G-PHY code in b43 for the mips74k profile in
brcm47xx.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41594
2014-07-12 15:39:31 +00:00
Hauke Mehrtens
1b67e879a7 mac80211: b43: backport b43 patches from wireless testing
This brings b43 up to wireless-testing/master master-2014-07-10

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41593
2014-07-12 15:37:34 +00:00
Felix Fietkau
f34cbdcf61 mac80211: Fix config variable name for dtim_period
The vif option dtim_period was accidently renamed dtim_interval in r38988
("netifd: add wireless configuration support and port mac80211 to the new
framework"). This is wrong and makes the dtim_period/dtim_interval a dead
option because the rest of the config generation code still uses dtim_period.

Reported-by: Jeppe Ledet-Pedersen <jlp@steinwurf.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 41557
2014-07-10 12:29:27 +00:00
Hauke Mehrtens
5d96f266c9 mac80211: b43: add support for firmware 784.2
This adds firmware 784.2 for b43 as an option.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41524
2014-07-06 10:58:14 +00:00
Hauke Mehrtens
37518a7c53 mac80211: update linux-firmware
This updates linux-firmware to version
7f388b4885cf64d6b7833612052d20d4197af96f from 2014-06-04.
In addition it adds new firmware for Intel, Broadcom and Realtek devices.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41523
2014-07-06 10:34:34 +00:00
Hauke Mehrtens
eef5698535 mac80211: update regulatory database to master-2014-06-13
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41489
2014-07-02 22:27:32 +00:00
John Crispin
e7b9bec305 mac80211: enable driver compilation for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41442
2014-07-01 10:26:21 +00:00
John Crispin
b5fe5d5ba3 mac80211: add support for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41441
2014-07-01 10:26:18 +00:00
Felix Fietkau
2c9c7ada6e mac80211: disable greenfield by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41300
2014-06-22 11:52:53 +00:00
Felix Fietkau
b9019462f3 mac80211: revert a faulty upstream change which is causing channel 12 to be enabled for US regdomain
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41298
2014-06-22 11:42:24 +00:00
Felix Fietkau
0f87ca021f mac80211: disable the clk_* backport, it is unused by drivers and has the wrong ifdef
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41181
2014-06-13 13:29:18 +00:00
Felix Fietkau
867ba199f8 mac80211: fix disabling of 802.11n features
r40682 ("mac80211: clean up ht capability handling, drop the use of the
ht_capab list, use individual variables instead") removed the ht_capab list and
replaced it with optional variables to disable features for a phy. But these
variables weren't added in drv_mac80211_init_device_config and thus didn't make
any difference when modifying /etc/config/wireless.

Signed-off-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 41180
2014-06-13 10:10:05 +00:00
Felix Fietkau
205dd2e3c9 revert an accidentally committed patch chunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41179
2014-06-13 09:40:14 +00:00
Felix Fietkau
841b730f98 kernel: fix pkt_type filter mask for packet sockets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41178
2014-06-13 09:34:03 +00:00
Felix Fietkau
e2c4d320c7 b43: fix a regression on G-PHY devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41162
2014-06-12 14:44:26 +00:00
Felix Fietkau
39c5660cbd rt2x00: fix crash when using TKIP on USB devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41161
2014-06-12 14:44:23 +00:00
Felix Fietkau
c77311f689 ath9k: fix initial noise floor calibration on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41156
2014-06-12 11:41:12 +00:00
Felix Fietkau
f3e37c359d ath9k: make noise floor calibration and periodic calibration mutually exclusive
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41155
2014-06-12 11:41:08 +00:00
Felix Fietkau
f2e5a82296 b43: fix frequency reporting, fixes scan issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41154
2014-06-12 11:41:04 +00:00
Felix Fietkau
d373178835 ath9k: do a chip reset if noise floor calibration fails, should improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41113
2014-06-11 11:28:58 +00:00
Felix Fietkau
dec0d7f025 brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like WRT54G
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41041
2014-06-07 15:19:40 +00:00
Felix Fietkau
8b4dd24444 mac80211: b43: fix B43_USE_SSB dependency
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41040
2014-06-07 12:04:55 +00:00
Felix Fietkau
11a0bcdfca b43: fix ssb/bcma dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41037
2014-06-06 16:24:21 +00:00
Felix Fietkau
75d3a6abb7 ath9k: add a fix for rx overrun processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41029
2014-06-05 23:33:57 +00:00
Felix Fietkau
5fc3c8252a ath9k: add a fix for ANI related stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41028
2014-06-05 23:33:54 +00:00
Felix Fietkau
22fcfab353 ath9k: fix enabling PC-OEM card support (#16624)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41021
2014-06-05 15:13:28 +00:00
Felix Fietkau
fcb680357e mac80211: merge a series of cleanups/fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41018
2014-06-05 14:55:07 +00:00
Felix Fietkau
b7ce76b4b9 ath9k: merge a p2p powersave handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41017
2014-06-05 14:55:03 +00:00
Felix Fietkau
236e7ee239 rt2x00: merge beacon setup fixes, disable unused hw beacon slots
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41016
2014-06-05 14:09:14 +00:00
Felix Fietkau
2454ee8645 mac80211: b43: make support for SSB optional
Now we have a choice submenu, just like b43 in the mainline.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41015
2014-06-05 13:51:15 +00:00
Felix Fietkau
fd20a64136 mac80211: b43: update BCM4716 patch to compile without SSB
B43_SSB is optional after recent upstream changes.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41014
2014-06-05 13:51:11 +00:00
Felix Fietkau
21b0a8d8a4 mac80211: backport a powersave related fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40995
2014-06-03 13:59:43 +00:00
Felix Fietkau
eb3a2b12ae mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40994
2014-06-03 13:59:24 +00:00
Felix Fietkau
cd428b41bf mac80211: b43: make support for BCMA optional
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40985
2014-06-02 18:17:48 +00:00
Felix Fietkau
4e56e7ee61 mac80211: b43: make B43_PHY_LP configurable
This allows saving 11772 B if disabled.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40984
2014-06-02 18:17:44 +00:00
John Crispin
43de2d08de mac80211: query driver for max A-MPDU length exponent
This patch enables netifd to query 802.11ac-driver for the maximum
supported A-MPDU length exponent, possibly increasing VHT throughput by
more aggressive frame aggregation.

v2: refreshed patch

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

SVN-Revision: 40938
2014-06-02 12:44:54 +00:00
Felix Fietkau
a5f8365f40 ath9k: fix deprecated syntax in config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40860
2014-05-26 08:00:29 +00:00
Felix Fietkau
48855aab6c ath9k: make support for PC-OEM cards optional, reduces module size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40859
2014-05-25 22:39:58 +00:00
Felix Fietkau
92b716ff72 mac80211: mark kmod-rtlwifi as hidden (selected by rtlwifi drivers)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40845
2014-05-25 12:23:14 +00:00
Felix Fietkau
d90ec19e95 rt2x00: fix rt3352 rf probing (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40837
2014-05-23 21:05:41 +00:00
Felix Fietkau
b13b61f98c mac80211: fix probing of rtl8180
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40836
2014-05-23 21:00:42 +00:00
Felix Fietkau
ca49c000b6 mac80211: update to wireless-testing 2014-05-22
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40834
2014-05-23 18:48:35 +00:00
Felix Fietkau
740a322cf8 ath9k: revert a faulty rx path fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40802
2014-05-20 11:09:47 +00:00
Felix Fietkau
8513629e3e mac80211: update to wireless-testing 2014-05-19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40800
2014-05-20 09:35:17 +00:00
Felix Fietkau
2ddcd59f16 mac80211: fix stbc configuration
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40783
2014-05-19 22:19:07 +00:00
Felix Fietkau
acf1c98271 ath9k: add some rx path fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40780
2014-05-19 19:51:45 +00:00
Felix Fietkau
385b08d475 mac80211: fix ht capabilities for HT20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40776
2014-05-18 21:13:03 +00:00
Felix Fietkau
8a75eac80b mac80211: fix VHT80 channel allocation (thx, SeG)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40770
2014-05-15 20:02:59 +00:00
Hauke Mehrtens
6f71e6c309 mac80211: fix warning in select_queue with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40737
2014-05-08 21:54:24 +00:00
Felix Fietkau
1268274b5d mac80211: reset ht_capab for each device
... or else "option htmode" is added multiple times to
the second and following device sections.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 40711
2014-05-06 15:43:08 +00:00
Felix Fietkau
b0e436e10c mac80211: fix station info rx bitrate for IBSS mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40696
2014-05-05 16:45:13 +00:00
Felix Fietkau
b4d93a52cf ar71xx/ath9k: fix reading the WMAC revision on AR953x (fixes #15581)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40695
2014-05-04 23:26:20 +00:00
Felix Fietkau
32a806cf8a mac80211: remove obsolete check for enable_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40694
2014-05-03 21:18:53 +00:00
Felix Fietkau
bc86119785 mac80211: remove mode_11n variable for hwmode - the option only selects the band now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40693
2014-05-03 21:14:59 +00:00
Felix Fietkau
c9b99da7a5 ath: Add config option for DFS support
This patch adds a config option to enable DFS in ath9k and ath10k
drivers (with ath10k you need the AP-branch firmware). I'm not entirely
sure about the regulatory compliance issues, though. As far as I
understand, enabling the DFS_CERTIFIED config options implies that the
device is certified for DFS. No doubt the original firmware has obtained
such a certification, but not with the open source drivers. I suppose
that as long as this is disabled in default builds (like ATH_USER_REGD)
everything should be fine, but it would be nice to have out-of-the-box
OpenWrt support for DFS. I'm also not sure whether the description of
the configuration option should say something about regulatory compliance.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40692
2014-05-03 21:14:56 +00:00
Felix Fietkau
6c5f0f0caa ath5k: merge a tx power handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40691
2014-05-03 21:14:52 +00:00
Felix Fietkau
7bf399a87a mac80211: restrict ath9k/ath10k DFS support to ETSI
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40689
2014-05-03 21:14:45 +00:00
Felix Fietkau
09aa3ae9f6 mac80211: enable CFG80211_CERTIFICATION_ONUS by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40688
2014-05-03 21:14:41 +00:00
Felix Fietkau
427ae707cd ath9k: merge a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40687
2014-05-03 21:14:38 +00:00
Felix Fietkau
8897093981 mac80211: add support for htmode=VHT20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40686
2014-05-03 19:58:54 +00:00
Felix Fietkau
a9aee857de mac80211: force upper channel for HT40 when autochannel is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40685
2014-05-03 18:50:06 +00:00
Felix Fietkau
4bd862a300 mac80211: add automatic ht40 mode handling for 2.4 ghz
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40684
2014-05-03 18:44:32 +00:00
Felix Fietkau
54625965c4 mac80211: clean up vht capability processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40683
2014-05-03 18:38:24 +00:00
Felix Fietkau
58bda3a0e1 mac80211: clean up ht capability handling, drop the use of the ht_capab list, use individual variables instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40682
2014-05-03 18:38:20 +00:00
Felix Fietkau
52846f0ff5 mac80211: disable 802.11n support if htmode is not set to HT* or VHT*
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40681
2014-05-03 18:38:16 +00:00
Felix Fietkau
24791e0dd8 mac80211: simplify HT40 handling, derive lower/upper channel mode automatically from channel index
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40680
2014-05-03 18:38:09 +00:00
Zoltan Herpai
39efc2ac23 mac80211: add TMSC firmware to 8192cu module to properly support 8188CUS
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40615
2014-05-01 09:55:03 +00:00
Felix Fietkau
5438bc68b5 ath9k: merge a fix for a race condition on init
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40591
2014-04-29 15:52:08 +00:00
Felix Fietkau
11c23fded0 ath9k: merge fixes for stability issues under heavy load
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40590
2014-04-29 15:52:03 +00:00
Felix Fietkau
5c91b4020b ath9k: add a fix for tx queueing and aggregation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40586
2014-04-28 16:35:25 +00:00
Hauke Mehrtens
277fb57449 mac80211: Fix build errors due to missing string function declarations
Building mac80211 failed, due to missing function declarations in compat/backport-3.15.c
This patch adds the linux/string.h header file to provide these function declarations

Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com>

SVN-Revision: 40584
2014-04-27 21:53:58 +00:00
Felix Fietkau
7e34e45dcf ath9k: add ANI fix for ar913x to improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40573
2014-04-27 14:39:06 +00:00
John Crispin
0a1f564381 mac80211: allow to select the rt2x00-soc module for the ramips/rt3883 subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40560
2014-04-23 07:52:47 +00:00
John Crispin
ca27248c9f mac80211: refresh rt2x00 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40559
2014-04-23 07:52:37 +00:00
John Crispin
8be12510c9 mac80211: rt2x00: add support for the RT3662/RT3883 SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40558
2014-04-23 07:52:18 +00:00
John Crispin
3bc77db5f5 802.11s: fix authsae support in netifd
This patch implements support for 802.11s protected mesh wireless networks (using authsae) in the netifd framework.

Until meshd-nl80211 implements a proper -P option for the PID file, this uses shell backgrounding in order to be able to get the PID for the process.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 40497
2014-04-12 21:22:17 +00:00
Felix Fietkau
134c036fc9 mac80211: add back missing tx power handling fix (#12750)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40440
2014-04-10 08:52:33 +00:00
Felix Fietkau
f95990a73b mac80211: fix warnings triggered by tx power changes when using WDS AP (#15491)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40430
2014-04-08 22:11:27 +00:00
Felix Fietkau
26b8bb6150 mac80211: fix user antenna gain calculation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40429
2014-04-08 22:11:23 +00:00
Felix Fietkau
fe2c9b4e1d ath9k: fix AP mode crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40428
2014-04-08 22:11:19 +00:00
Felix Fietkau
b8795d6b66 ath9k: fix some ANI related stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40427
2014-04-08 22:11:13 +00:00
Felix Fietkau
4e155c80d3 mac80211: update to wireless-testing 2014-03-31
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40393
2014-04-06 10:41:23 +00:00
Jo-Philipp Wich
f5fce5e0da mac80211: skip antenna gain when compiling regdb.txt (#15397)
The antenna gain attribute has been removed from the upstream regulatory database.
Incorperate patch from Luis R. Rodriguez to skip the parsing of the gain attribute
in genregdb.awk in order to emit proper rules again.

Also refresh fuzzy patches while we're at it.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40296
2014-03-28 16:05:46 +00:00
Imre Kaloz
23e3526dc4 update regulatory database to 2013-11-27
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40293
2014-03-27 11:28:51 +00:00
Felix Fietkau
04d99f29cf mac80211: iwlagn include firmware for 7260 cards
This patch enables including the firmware for Intel Dual Band Wireless-N 7260 and Intel Dual Band Wireless-AC 7260 cards in iwlagn.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

SVN-Revision: 39988
2014-03-21 15:54:37 +00:00
Felix Fietkau
2ba3e0ebe6 mac80211: Enable kmod-rt2800-soc package for rt288x target
Trunk and the latest backport to Attitude Adjustment have the
kmod-rt2800-soc package hidden for the ramips_rt288x target.
This makes the dependency match the dependency given in the
TITLE field.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 39976
2014-03-21 15:03:08 +00:00
Felix Fietkau
c1a86f1ef2 ath10k: update firmware and allow choice between AP and STA firmwares
This patch updates ath10k firmware to the latest version, changes the
default firmware to be the one optimized for access point operation, and
introduces a configuration option to choose the client-optimized
firmware instead during build time.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

SVN-Revision: 39957
2014-03-19 14:37:12 +00:00
Imre Kaloz
531dc9fe42 add add new firmware support and additional fixes for wl18xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39947
2014-03-18 18:55:54 +00:00
Imre Kaloz
aabce5cf6a switch to the newer DT bindings for wl1xxx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39946
2014-03-18 18:54:27 +00:00
Imre Kaloz
8a7d3c8a1b use newer firmware checkout
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39933
2014-03-17 13:36:10 +00:00
Felix Fietkau
73d9ad0c95 ath9k: merge an aggregation related fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39886
2014-03-12 10:00:56 +00:00
Felix Fietkau
c112b16dd8 ath9k: further improvements to noise immunity handling on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39879
2014-03-11 15:31:50 +00:00
Felix Fietkau
dd7524f3f9 ath9k: add another ANI fix for older chipsets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39865
2014-03-10 18:58:52 +00:00
Felix Fietkau
f7f1a496df ath9k: improve ANI debugfs file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39849
2014-03-09 10:31:05 +00:00
Felix Fietkau
977f161400 ath9k: fix tx queue configuration for buffered multicast frames
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39848
2014-03-09 10:05:41 +00:00
Felix Fietkau
646ff55b06 ath9k: further reduce false baseband hang detects on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39847
2014-03-09 08:53:39 +00:00
Felix Fietkau
976ae17c67 mac80211: add a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39846
2014-03-09 08:53:31 +00:00
Felix Fietkau
a2068afd77 ath9k: improve noise immunity behavior for older chipsets (ar92xx and earlier), should improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39767
2014-02-28 18:08:23 +00:00
Felix Fietkau
cec0f8420d mac80211: declare missing config parameter mesh_id
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39766
2014-02-28 18:08:16 +00:00
Felix Fietkau
95c97bf201 ath5k: fix enabling 5/10 mhz channel bandwidth support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39758
2014-02-27 21:36:28 +00:00
Felix Fietkau
ccccc104b3 ath9k: add fixes for rx processing and baseband hang detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39751
2014-02-25 10:27:02 +00:00
Felix Fietkau
8167b27bca ath5k: mark the current survey channel as being used
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39691
2014-02-22 13:57:09 +00:00
Felix Fietkau
08255e0237 ath9k: reduce unnecessary logspam (#14940)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39690
2014-02-22 13:48:56 +00:00
Felix Fietkau
3ae79cd848 ath9k: fix issues with 5/10 mhz channel bandwidth (#14916)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39689
2014-02-22 13:43:48 +00:00
Felix Fietkau
ec4ab71c54 ath9k: fix issues that have been plaguing some powersave clients since the tx queueing rework (#14092)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39688
2014-02-22 13:01:11 +00:00
Felix Fietkau
b75914d2fb ath9k: show more reset causes in debugfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39687
2014-02-22 13:01:07 +00:00
Felix Fietkau
ca82dfe31b mac80211: merge some upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39686
2014-02-22 13:01:04 +00:00
Felix Fietkau
fc0a51c2e1 ath9k: enable u-apsd support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39685
2014-02-22 13:01:00 +00:00
Felix Fietkau
b44e9bff9d ath9k: add a tx locking fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39684
2014-02-22 13:00:55 +00:00
Nicolas Thill
41d3230b0c mac80211: disable libertas-sd on uml target
SVN-Revision: 39630
2014-02-18 22:15:52 +00:00
John Crispin
7d4103ddd4 mac80211: add validation rules
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39622
2014-02-18 13:34:08 +00:00
Felix Fietkau
c0bec2b315 mac80211: send wpa frames through the WMM voice queue - improves connection reliability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39572
2014-02-11 15:00:55 +00:00
Felix Fietkau
cd7fb9a51f ath9k: add p2p client mode support powersave patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39571
2014-02-11 15:00:51 +00:00
Felix Fietkau
8e43f3443e rtl8187: fix crashes on mips caused by misaligned DMA and cache issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39570
2014-02-11 15:00:36 +00:00
Hauke Mehrtens
274c16e81e mac80211: add led_trigger_blink{_oneshot}()
When led support is deactivated in the kernel and
CPTCFG_BACKPORT_BUILD_LEDS is set mac80211 references
led_trigger_blink_oneshot() but it is not declared anywhere.

This fixes the following build error:
net/mac80211/led.c: In function 'ieee80211_led_rx':
net/mac80211/led.c:25:2: error: implicit declaration of function 'led_trigger_blink_oneshot' [-Werror=implicit-function-declaration]

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39530
2014-02-08 12:19:22 +00:00
Felix Fietkau
da3053f25a ath9k: merge tx iq calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39527
2014-02-07 18:08:57 +00:00
Imre Kaloz
11155b27ad fix wl12xx compile error introduced in [39428]
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39506
2014-02-06 18:29:44 +00:00
Felix Fietkau
38587f87ed wifi: Introduce 802.11ac support
This patch introduces 802.11ac support to mac80211 and hostapd. The split of
VHT160 in two 80 MHz bands is not yet supported, since it requires an
additional user supplied parameter for the channel of the second band.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
[sven@open-mesh.com: Rebased patch, merged htmode and vhtmode,
removed special hwmode, replaced uci vht_capab list with overwritable
autoconfig, fixed hostapd integration, fixed commit description, add HT40+/-
for VHT modes, add VHT40 center_freq autoconfig, refactored major parts]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 39456
2014-02-03 13:31:44 +00:00
Felix Fietkau
169213a1b4 ath9k: merge a tx power handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39455
2014-02-03 10:53:24 +00:00
Felix Fietkau
6106bdd002 mac80211: fix basic rate list processing in ad-hoc mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39450
2014-02-02 14:25:09 +00:00
Felix Fietkau
c95698e596 mac80211: fix processing of the distance option (#14893)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39447
2014-02-02 14:02:56 +00:00
Felix Fietkau
b9a605b8bf mac80211: merge upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39442
2014-02-01 15:33:04 +00:00
Felix Fietkau
68cd44f975 ath9k: fix handling of the default chip pci id on ar93xx (#14886)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39432
2014-01-31 11:05:21 +00:00
Felix Fietkau
9abf24166a mac80211: refresh tarball with a newer backports version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39428
2014-01-30 15:55:59 +00:00
Felix Fietkau
eb7a1ba94b mac80211: update to wireless-testing 2014-01-23
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39427
2014-01-30 13:21:36 +00:00
John Crispin
2bf5a25f87 mac80211: enable ralink ap+sta support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39239
2014-01-12 12:07:51 +00:00
John Crispin
c1a2a87f3a netifd: fix mac80211.sh to respect setting of mcast_rate
This patch fixes a bug in /lib/netifd/wireless/mac80211.sh, where
the UCI setting of wireless multicast traffic (in uci: mcast_rate)
is not respected within netifd. Especially in Freifunk mesh networks
the olsr routing as effected by this, as only the lowest mcast_rate
was used, even when uci ncast_rate was set to something else.
In function mac80211_setup_adhoc() the value of mcast_rate is missing
in json_get_vars.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>

SVN-Revision: 39232
2014-01-12 12:07:15 +00:00
Gabor Juhos
8384c0dba0 ath9k: add workaround for AR9331 USB host controller hang with USB1.1 devices
When wifi radio is reset, some bits in (undocumented) USB registers may
flip. Patch adds setting them after radio reset (channel change, up/down).
With this patch stability of USB1.1 full-speed devices, connected directly
to AR9331 host port (no USB2.0 hub) is improved.

See "ar9331's usb stability issue" OpenWrt forum thread for details:
  <https://forum.openwrt.org/viewtopic.php?id=39956>

Based on QCA's Open HAL WAR_USB_DISABLE_PLL_LOCK_DETECT() macro:
  <https://github.com/qca/qcamain_open_hal_public/blob/master/hal/ar9300/ar9300_reset.c#L74>

Adapted to Linux mac80211 driver for 8Devices Carambola2 board by Mantas Pucka:
  <b08b59ceb4>

Ported to latest OpenWrt BB branch and tested on TP-Link TL-WR703N by
Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
[juhosg: refresh and clean up the ath9k patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39212
2014-01-10 09:05:31 +00:00
Felix Fietkau
41cbd0a389 ath9k: merge a timer handling fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39150
2013-12-20 16:02:32 +00:00
Felix Fietkau
bac83378e7 ath9k: merge another round of upstream (or -pending) fixes and cleanups
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39138
2013-12-19 17:18:07 +00:00
Felix Fietkau
5d79ad06c1 mac80211: fix AP mode scanning issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39098
2013-12-16 15:45:57 +00:00
Felix Fietkau
4b03d33e31 ath9k: fix interrupt storms on AR913x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39062
2013-12-15 20:23:00 +00:00
Felix Fietkau
a55649082a ath9k: merge another round of cleanups and fixes submitted to linux-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39054
2013-12-14 17:07:08 +00:00
Felix Fietkau
9084b75506 ath9k: merge an interrupt processing fix for AR5008-AR9002
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39053
2013-12-14 16:40:27 +00:00
Jo-Philipp Wich
10972d9f02 mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
SVN-Revision: 39028
2013-12-10 16:24:52 +00:00
Felix Fietkau
be0395261b mac80211: fix using custom wifi-iface ifname option with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39003
2013-12-08 18:00:01 +00:00
Felix Fietkau
f56030265d mac80211: merge an ibss dfs locking fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39002
2013-12-08 14:48:34 +00:00
Felix Fietkau
7a260c3620 ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39001
2013-12-08 14:48:30 +00:00