Commit Graph

316 Commits (aa4cbcc9bbdaa824856d4feb9e2ead156e263a39)

Author SHA1 Message Date
John Crispin 40bf3736f8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 11:40:38 +00:00
Felix Fietkau 786d33be63 mac80211: fix crash when unloading drivers (#17706)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 20:41:01 +00:00
John Crispin c1333c5602 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:36:01 +00:00
Hauke Mehrtens fe64c487e2 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:23:20 +00:00
Felix Fietkau d7a542d8eb mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-02 19:51:58 +00:00
Felix Fietkau 3bd4699941 ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-02 19:51:54 +00:00
Jonas Gorski 507c862cb4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 21:56:43 +00:00
Hauke Mehrtens 51b0b19039 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 21:15:42 +00:00
Jo-Philipp Wich 9887616a35 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 09:48:07 +00:00
Felix Fietkau a775d0d065 mac80211: merge a few WDS-AP related fixes (#14756, #16802)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-25 14:24:03 +00:00
Imre Kaloz 9ec29aa78b [mac80211]: package the mwifiex-pcie driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 10:18:06 +00:00
Felix Fietkau 857cd1fa40 ath9k: fix a long standing aggregation related tx lockup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 13:44:44 +00:00
Hauke Mehrtens fc8bc353d9 mac80211: b43: update b43 to version master-2014-07-22
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-22 21:42:07 +00:00
Felix Fietkau 1413678b07 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-22 19:05:19 +00:00
Imre Kaloz 876ef9b7fd [mac80211]: fix typo
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-19 20:14:49 +00:00
Imre Kaloz 4d29ce1e4a [mac80211]: allow ath10k to initialize using the board.bin contents
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-19 13:18:59 +00:00
Hauke Mehrtens 41489cbfe8 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-16 20:30:30 +00:00
Hauke Mehrtens 0500f1f2a2 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-16 20:28:08 +00:00
Felix Fietkau 233fa8a2bf ath9k: add a fix for tx pending frame accounting, fixes some tx hang issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-16 18:26:21 +00:00
Hauke Mehrtens 7bb7cda1c1 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-15 21:58:03 +00:00
Hauke Mehrtens 35c8c127b5 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 15:39:31 +00:00
Hauke Mehrtens 6be23f52ec 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 15:37:34 +00:00
Felix Fietkau c4eb977caf 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 12:29:27 +00:00
Hauke Mehrtens 1287291e35 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 10:58:14 +00:00
Hauke Mehrtens c697e27174 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-06 10:34:34 +00:00
Hauke Mehrtens 1e1faa2ebe mac80211: update regulatory database to master-2014-06-13
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 22:27:32 +00:00
John Crispin 2369dc9d54 mac80211: enable driver compilation for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:21 +00:00
John Crispin a45b9cfc44 mac80211: add support for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:18 +00:00
Felix Fietkau 4854574bda mac80211: disable greenfield by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-22 11:52:53 +00:00
Felix Fietkau 95169666fe 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-22 11:42:24 +00:00
Felix Fietkau e1f6b5c359 mac80211: disable the clk_* backport, it is unused by drivers and has the wrong ifdef
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-13 13:29:18 +00:00
Felix Fietkau deb568f03c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-13 10:10:05 +00:00
Felix Fietkau 40502cb503 revert an accidentally committed patch chunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-13 09:40:14 +00:00
Felix Fietkau a045629b04 kernel: fix pkt_type filter mask for packet sockets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-13 09:34:03 +00:00
Felix Fietkau 42bf643ad3 b43: fix a regression on G-PHY devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 14:44:26 +00:00
Felix Fietkau 8d9ccbc8a0 rt2x00: fix crash when using TKIP on USB devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 14:44:23 +00:00
Felix Fietkau 242bbb888d ath9k: fix initial noise floor calibration on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 11:41:12 +00:00
Felix Fietkau ed21ddeef7 ath9k: make noise floor calibration and periodic calibration mutually exclusive
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 11:41:08 +00:00
Felix Fietkau 6e8cf95b8b b43: fix frequency reporting, fixes scan issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 11:41:04 +00:00
Felix Fietkau 087761d420 ath9k: do a chip reset if noise floor calibration fails, should improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 11:28:58 +00:00
Felix Fietkau 758e298a5d brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like WRT54G
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 15:19:40 +00:00
Felix Fietkau 772ff2ddf4 mac80211: b43: fix B43_USE_SSB dependency
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 12:04:55 +00:00
Felix Fietkau b023acbfab b43: fix ssb/bcma dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 16:24:21 +00:00
Felix Fietkau 551bf8f697 ath9k: add a fix for rx overrun processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 23:33:57 +00:00
Felix Fietkau c1f236cf78 ath9k: add a fix for ANI related stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 23:33:54 +00:00
Felix Fietkau f1ae7d3817 ath9k: fix enabling PC-OEM card support (#16624)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 15:13:28 +00:00
Felix Fietkau a7e6fe6891 mac80211: merge a series of cleanups/fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:07 +00:00
Felix Fietkau 97dbd21bf8 ath9k: merge a p2p powersave handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:03 +00:00
Felix Fietkau 68d6347183 rt2x00: merge beacon setup fixes, disable unused hw beacon slots
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:09:14 +00:00
Felix Fietkau 48b954881f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 13:51:15 +00:00
Felix Fietkau 93b86d3bd1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 13:51:11 +00:00
Felix Fietkau b52c3cbf96 mac80211: backport a powersave related fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-03 13:59:43 +00:00
Felix Fietkau b07019b2b8 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-03 13:59:24 +00:00
Felix Fietkau 2b7a36380b mac80211: b43: make support for BCMA optional
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 18:17:48 +00:00
Felix Fietkau aa6eaba623 mac80211: b43: make B43_PHY_LP configurable
This allows saving 11772 B if disabled.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 18:17:44 +00:00
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