Commit Graph

259 Commits (51b0b1903939c6d7f4e56da0b037a731b906ca41)

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