Commit graph

268 commits

Author SHA1 Message Date
Jonas Gorski
288e50a79c mac80211: enable DFS support for ath9k/10k by default
The DFS pattern detector now supports all three regions; ETSI, FCC and
JP, so there is no reason to not have it enabled anymore.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

for BCM43217 devices.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SVN-Revision: 41017
2014-06-05 14:55:03 +00:00