Commit graph

367 commits

Author SHA1 Message Date
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