211 Commits

Author SHA1 Message Date
John Crispin
1ec9a71c22 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:54 +00:00
Felix Fietkau
8f2efd6989 ath9k: fix deprecated syntax in config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-26 08:00:29 +00:00
Felix Fietkau
39270a81ac ath9k: make support for PC-OEM cards optional, reduces module size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 22:39:58 +00:00
Felix Fietkau
8e86ab9194 mac80211: mark kmod-rtlwifi as hidden (selected by rtlwifi drivers)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 12:23:14 +00:00
Felix Fietkau
25b372fe9a rt2x00: fix rt3352 rf probing (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 21:05:41 +00:00
Felix Fietkau
63da80cb40 mac80211: fix probing of rtl8180
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 21:00:42 +00:00
Felix Fietkau
4e5453c94c mac80211: update to wireless-testing 2014-05-22
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 18:48:35 +00:00
Felix Fietkau
007acb0c56 ath9k: revert a faulty rx path fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 11:09:47 +00:00
Felix Fietkau
e78459e2b7 mac80211: update to wireless-testing 2014-05-19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 09:35:17 +00:00
Felix Fietkau
dfcb7cbb0c mac80211: fix stbc configuration
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-19 22:19:07 +00:00
Felix Fietkau
a97ece5cb3 ath9k: add some rx path fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-19 19:51:45 +00:00
Felix Fietkau
9baf77b88d mac80211: fix ht capabilities for HT20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-18 21:13:03 +00:00
Felix Fietkau
0eb0fa120a mac80211: fix VHT80 channel allocation (thx, SeG)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-15 20:02:59 +00:00
Hauke Mehrtens
188d1a553a mac80211: fix warning in select_queue with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 21:54:24 +00:00
Felix Fietkau
1778f08dea 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-06 15:43:08 +00:00
Felix Fietkau
e49f8f122c mac80211: fix station info rx bitrate for IBSS mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-05 16:45:13 +00:00
Felix Fietkau
d7f5ff48ed ar71xx/ath9k: fix reading the WMAC revision on AR953x (fixes #15581)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-04 23:26:20 +00:00
Felix Fietkau
ef071c0e05 mac80211: remove obsolete check for enable_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 21:18:53 +00:00
Felix Fietkau
4c8f689bce mac80211: remove mode_11n variable for hwmode - the option only selects the band now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 21:14:59 +00:00
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