Felix Fietkau
bf55314c5f
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 21:14:56 +00:00
Felix Fietkau
82b7058bc1
ath5k: merge a tx power handling fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 21:14:52 +00:00
Felix Fietkau
8e309ccf9d
mac80211: restrict ath9k/ath10k DFS support to ETSI
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 21:14:45 +00:00
Felix Fietkau
a6999a3f1f
mac80211: enable CFG80211_CERTIFICATION_ONUS by default
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 21:14:41 +00:00
Felix Fietkau
da8e80aa2d
ath9k: merge a few upstream fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 21:14:38 +00:00
Felix Fietkau
39784086fe
mac80211: add support for htmode=VHT20
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 19:58:54 +00:00
Felix Fietkau
fcc9d6fb0c
mac80211: force upper channel for HT40 when autochannel is enabled
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 18:50:06 +00:00
Felix Fietkau
15f447a3f5
mac80211: add automatic ht40 mode handling for 2.4 ghz
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 18:44:32 +00:00
Felix Fietkau
abbb0b0145
mac80211: clean up vht capability processing
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 18:38:24 +00:00
Felix Fietkau
f9ca9710e1
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 18:38:20 +00:00
Felix Fietkau
0eaeceba02
mac80211: disable 802.11n support if htmode is not set to HT* or VHT*
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 18:38:16 +00:00
Felix Fietkau
e41485344a
mac80211: simplify HT40 handling, derive lower/upper channel mode automatically from channel index
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 18:38:09 +00:00
Zoltan HERPAI
ba17777f21
mac80211: add TMSC firmware to 8192cu module to properly support 8188CUS
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 09:55:03 +00:00
Felix Fietkau
e9a3416550
ath9k: merge a fix for a race condition on init
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 15:52:08 +00:00
Felix Fietkau
d1e0abf3a8
ath9k: merge fixes for stability issues under heavy load
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 15:52:03 +00:00
Felix Fietkau
30f7bcfffd
ath9k: add a fix for tx queueing and aggregation
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-28 16:35:25 +00:00
Hauke Mehrtens
d8f04251d2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-27 21:53:58 +00:00
Felix Fietkau
4634f9737d
ath9k: add ANI fix for ar913x to improve stability
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-27 14:39:06 +00:00
John Crispin
959e7bbe3f
mac80211: allow to select the rt2x00-soc module for the ramips/rt3883 subtarget
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 07:52:47 +00:00
John Crispin
f983adcfa3
mac80211: refresh rt2x00 patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 07:52:37 +00:00
John Crispin
6e3de004f9
mac80211: rt2x00: add support for the RT3662/RT3883 SoCs
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 07:52:18 +00:00
John Crispin
b41d91bff6
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:17 +00:00
Felix Fietkau
1d5076d98d
mac80211: add back missing tx power handling fix ( #12750 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 08:52:33 +00:00
Felix Fietkau
2dd9057feb
mac80211: fix warnings triggered by tx power changes when using WDS AP ( #15491 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 22:11:27 +00:00
Felix Fietkau
4012b63ad3
mac80211: fix user antenna gain calculation
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 22:11:23 +00:00
Felix Fietkau
2d7b490808
ath9k: fix AP mode crash issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 22:11:19 +00:00
Felix Fietkau
658d48c1e5
ath9k: fix some ANI related stability issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 22:11:13 +00:00
Felix Fietkau
9f34772a47
mac80211: update to wireless-testing 2014-03-31
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 10:41:23 +00:00
Jo-Philipp Wich
d82118c592
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-28 16:05:46 +00:00
Imre Kaloz
e0200200b8
[mac80211]: update regulatory database to 2013-11-27
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 11:28:51 +00:00
Felix Fietkau
330247dd20
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:37 +00:00
Felix Fietkau
b71f5661d7
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:03:08 +00:00
Felix Fietkau
5a201cd3f4
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-19 14:37:12 +00:00
Imre Kaloz
567cc1ee17
[mac80211]: add add new firmware support and additional fixes for wl18xx
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 18:55:54 +00:00
Imre Kaloz
7777f1ed2c
[mac80211][omap]: switch to the newer DT bindings for wl1xxx
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 18:54:27 +00:00
Imre Kaloz
4dbf11202f
[mac80211]: use newer firmware checkout
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-17 13:36:10 +00:00
Felix Fietkau
18e83ff89a
ath9k: merge an aggregation related fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 10:00:56 +00:00
Felix Fietkau
e7e3c5ac9a
ath9k: further improvements to noise immunity handling on older chips
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 15:31:50 +00:00
Felix Fietkau
6b21bedc35
ath9k: add another ANI fix for older chipsets
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 18:58:52 +00:00
Felix Fietkau
6100a5655f
ath9k: improve ANI debugfs file
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 10:31:05 +00:00
Felix Fietkau
28509f07a6
ath9k: fix tx queue configuration for buffered multicast frames
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 10:05:41 +00:00
Felix Fietkau
4c7ec31e4e
ath9k: further reduce false baseband hang detects on older chips
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 08:53:39 +00:00
Felix Fietkau
f014be0345
mac80211: add a few upstream fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 08:53:31 +00:00
Felix Fietkau
44de5c8d01
ath9k: improve noise immunity behavior for older chipsets (ar92xx and earlier), should improve stability
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 18:08:23 +00:00
Felix Fietkau
e6fbcf4df8
mac80211: declare missing config parameter mesh_id
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 18:08:16 +00:00
Felix Fietkau
c7c11c726c
ath5k: fix enabling 5/10 mhz channel bandwidth support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-27 21:36:28 +00:00
Felix Fietkau
12ed30907b
ath9k: add fixes for rx processing and baseband hang detection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-25 10:27:02 +00:00
Felix Fietkau
a2db25951f
ath5k: mark the current survey channel as being used
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:57:09 +00:00
Felix Fietkau
acfc03d554
ath9k: reduce unnecessary logspam ( #14940 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:48:56 +00:00
Felix Fietkau
26fc63878b
ath9k: fix issues with 5/10 mhz channel bandwidth ( #14916 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:43:48 +00:00
Felix Fietkau
1577a27b74
ath9k: fix issues that have been plaguing some powersave clients since the tx queueing rework ( #14092 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:11 +00:00
Felix Fietkau
8de10cb678
ath9k: show more reset causes in debugfs
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:07 +00:00
Felix Fietkau
17d917db53
mac80211: merge some upstream fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:04 +00:00
Felix Fietkau
b2ce41bde8
ath9k: enable u-apsd support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:00 +00:00
Felix Fietkau
3fe5fa17cf
ath9k: add a tx locking fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:00:55 +00:00
Nicolas Thill
97afdda510
mac80211: disable libertas-sd on uml target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 22:15:52 +00:00
John Crispin
ceda071dfb
mac80211: add validation rules
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:08 +00:00
Felix Fietkau
9d93ca72fb
mac80211: send wpa frames through the WMM voice queue - improves connection reliability
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:55 +00:00
Felix Fietkau
97c3a186fb
ath9k: add p2p client mode support powersave patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:51 +00:00
Felix Fietkau
1d5fef0379
rtl8187: fix crashes on mips caused by misaligned DMA and cache issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:36 +00:00
Hauke Mehrtens
683378e25b
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-08 12:19:22 +00:00
Felix Fietkau
f8b48a8283
ath9k: merge tx iq calibration fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-07 18:08:57 +00:00
Imre Kaloz
1e497fd00e
[package/mac80211]: fix wl12xx compile error introduced in [39428]
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 18:29:44 +00:00
Felix Fietkau
5eca73f476
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-03 13:31:44 +00:00
Felix Fietkau
0847991cf2
ath9k: merge a tx power handling fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-03 10:53:24 +00:00
Felix Fietkau
fcaab2e4e1
mac80211: fix basic rate list processing in ad-hoc mode
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 14:25:09 +00:00
Felix Fietkau
2ad3cedee6
mac80211: fix processing of the distance option ( #14893 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 14:02:56 +00:00
Felix Fietkau
bda51fa53d
mac80211: merge upstream fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-01 15:33:04 +00:00
Felix Fietkau
aee6c4afc1
ath9k: fix handling of the default chip pci id on ar93xx ( #14886 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 11:05:21 +00:00
Felix Fietkau
a89c59249a
mac80211: refresh tarball with a newer backports version
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-30 15:55:59 +00:00
Felix Fietkau
9130ba35ea
mac80211: update to wireless-testing 2014-01-23
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-30 13:21:36 +00:00
John Crispin
c51b9ad23a
mac80211: enable ralink ap+sta support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:51 +00:00
John Crispin
589282a05c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:15 +00:00
Gabor Juhos
b9e6e5b3ff
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-10 09:05:31 +00:00
Felix Fietkau
0c83afb6ec
ath9k: merge a timer handling fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 16:02:32 +00:00
Felix Fietkau
6f5a0548e7
ath9k: merge another round of upstream (or -pending) fixes and cleanups
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-19 17:18:07 +00:00
Felix Fietkau
3aced3e94b
mac80211: fix AP mode scanning issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 15:45:57 +00:00
Felix Fietkau
21794ceab0
ath9k: fix interrupt storms on AR913x
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 20:23:00 +00:00
Felix Fietkau
43122f092e
ath9k: merge another round of cleanups and fixes submitted to linux-wireless
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 17:07:08 +00:00
Felix Fietkau
c411d7e762
ath9k: merge an interrupt processing fix for AR5008-AR9002
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 16:40:27 +00:00
Jo-Philipp Wich
0e678c997e
mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-10 16:24:52 +00:00
Felix Fietkau
a382c54c55
mac80211: fix using custom wifi-iface ifname option with netifd
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 18:00:01 +00:00
Felix Fietkau
51ee2f6812
mac80211: merge an ibss dfs locking fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:34 +00:00
Felix Fietkau
765f7a61ce
ath9k: merge initval and tx gain table updates, calibration fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:30 +00:00
Felix Fietkau
349320d647
mac80211: refresh patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:25 +00:00
Imre Kaloz
0020922ea9
[mac80211]: add support for the wl18xx, split wlcore from wl12xx
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-06 14:07:13 +00:00
Felix Fietkau
eef37ce291
ath9k: fix length handling of unaggregated frames (might resolve some rts/cts issues)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-04 22:59:36 +00:00
Felix Fietkau
d1b9d7eb2c
mac80211: fix ad-hoc network setup with netifd ( #14564 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 16:22:56 +00:00
Felix Fietkau
3fab0ab03f
netifd: add wireless configuration support and port mac80211 to the new framework
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:41:03 +00:00
Hauke Mehrtens
9761d473cd
mac80211: b43: improve PCIe host controller workaround
...
This is only needed by BCM4716 and not by BCM4706, I haven't seen any
problems there. Adds the write flush for some more parts where the phy
control regs are written.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 17:23:19 +00:00
Hauke Mehrtens
591d19fcf2
mac80211: remove DMI_EXACT_MATCH
...
DMI_EXACT_MATCH was added to the kernel in version 3.10.21 and collides
with backports version. DMI_EXACT_MATCH is only used by the intel GPU
driver which is not build by OpenWrt, so remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 17:20:32 +00:00
Imre Kaloz
620833b3a1
add device tree based initialization to wl12xx
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:40:07 +00:00
Felix Fietkau
bc1d810b5b
mac80211: include 802.11n support when wl12xx is selected
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:08:38 +00:00
Felix Fietkau
406817c4a6
ath9k: merge initval updates
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 10:56:05 +00:00
Imre Kaloz
28c7e1b274
[mac80211]: fix typo in wl128x firmware names
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 09:02:17 +00:00
Imre Kaloz
e43d5edd0b
[mac80211]: wl12xx could need the wl128x firmware files, too
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 17:46:45 +00:00
Felix Fietkau
8092d1a7ad
mac80211: merge another round of upstream fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 11:25:31 +00:00
Felix Fietkau
4d6e9371a3
hostapd: add support for auto-channel selection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 15:43:30 +00:00
Felix Fietkau
97948a8d2c
mac80211: fix reorder issues with multicast packets (client mode)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 17:33:50 +00:00
Felix Fietkau
9d4b797142
mac80211: fix an overflow issue in minstrel_ht
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 17:33:46 +00:00