1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 22:18:16 +02:00
Commit Graph

510 Commits

Author SHA1 Message Date
Felix Fietkau
04573657d0 mac80211: merge a fix for minstrel expected throughput reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48648
2016-02-07 14:30:01 +00:00
Felix Fietkau
1933dc0aa3 mac80211: merge a few mesh fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48647
2016-02-07 14:29:51 +00:00
Felix Fietkau
522bba5e42 ath9k: merge fix for noise floor calibration
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48641
2016-02-07 13:29:08 +00:00
Rafał Miłecki
d99cdd4fef mac80211: add first brcmfmac patches for 14e4:4365 BCM4366 support
It's not really supported yet as it still fails with:
brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize

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

SVN-Revision: 48640
2016-02-06 17:10:10 +00:00
Felix Fietkau
b0c782be70 mac80211: add A-MSDU tx support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48637
2016-02-05 16:43:38 +00:00
Felix Fietkau
351be0fdec mac80211: parse legacy and HT rates in monitor mode injected frames
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48636
2016-02-05 16:43:25 +00:00
Felix Fietkau
ba1672bf2b mac80211: add performance improvements for A-MSDU rx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48630
2016-02-04 20:17:25 +00:00
Felix Fietkau
7695d614df mac80211: backport skb_free_frag and napi_alloc_frag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48582
2016-01-31 16:13:23 +00:00
Felix Fietkau
a6fe27a59a mac80211: fix an out of bounds access issue in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48550
2016-01-29 14:23:23 +00:00
Felix Fietkau
c1e6ef488f mac80211: merge a bunch of pending fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48536
2016-01-28 22:42:10 +00:00
Felix Fietkau
07160c774c mac80211: add iremap cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48490
2016-01-25 15:49:36 +00:00
Rafał Miłecki
529d527e2c kernel: backport bcma stuff sent for 4.6
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48449
2016-01-22 09:22:37 +00:00
Felix Fietkau
baa618790a ath9k: allow multiple virtual interfaces on DFS channels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48448
2016-01-22 00:54:34 +00:00
Felix Fietkau
145a6e9db9 mac80211: only strip the platform/ prefix from path for pci devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48440
2016-01-21 15:55:35 +00:00
Felix Fietkau
d13a1ce9d7 mac80211: fix check for existing config section from r48426
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48439
2016-01-21 15:51:52 +00:00
Felix Fietkau
df9275b25e ath9k: ignore EEPROM mismatch on flash based devices (fixes #21611)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48438
2016-01-21 15:37:43 +00:00
Felix Fietkau
d9b20a6f35 mac80211: strip platform/ prefix from device path to improve compatibility between kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48426
2016-01-21 13:28:09 +00:00
Felix Fietkau
95965cd813 mac80211: make the path phy lookup more robust regarding config upgrades, allow partial path matching
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48425
2016-01-21 13:28:04 +00:00
Felix Fietkau
82c5e2c497 mac80211: update to wireless-testing 2016-01-10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48247
2016-01-15 15:03:48 +00:00
Felix Fietkau
cb85e21fd1 ath9k: add support for a newer tx gain table used in some TP-Link devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48233
2016-01-14 02:17:49 +00:00
Imre Kaloz
2a170e4086 mac80211: resync regulatory db with master-2015-12-14
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 48219
2016-01-12 14:28:09 +00:00
Felix Fietkau
a960fcef29 mac80211: move b43legacy firmware to a separate package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48184
2016-01-10 16:37:01 +00:00
Felix Fietkau
805c40351e mac80211: remove linux-firmware download
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48183
2016-01-10 16:36:54 +00:00
Felix Fietkau
26eb793589 mac80211: move broadcom firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48182
2016-01-10 16:36:48 +00:00
Felix Fietkau
4a791c8d4e mac80211: move ti firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48181
2016-01-10 16:36:40 +00:00
Felix Fietkau
78efb85fa1 mac80211: move mediatek/ralink firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48180
2016-01-10 16:36:31 +00:00
Felix Fietkau
9e5df4a939 mac80211: move atheros/qca firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48179
2016-01-10 16:36:25 +00:00
Felix Fietkau
6d0d89dc65 mac80211: move marvell firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48178
2016-01-10 16:36:17 +00:00
Felix Fietkau
35baa05d80 mac80211: move intel firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48177
2016-01-10 16:36:08 +00:00
Felix Fietkau
9dee1adc0f mac80211: move realtek firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48176
2016-01-10 16:36:00 +00:00
Zoltan Herpai
c03f792aac mac80211: brcmfmac: copy SDIO firmwares when CONFIG_BRCMFMAC_SDIO is selected
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48162
2016-01-09 16:46:42 +00:00
Felix Fietkau
1f5f096faa mac80211: add rtl8xxxu
OpenWrt is often used to develop or test new devices
Some users might want to test and help to improve
this new driver

upstream commit notice 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa

New driver: rtl8xxxu (mac80211)
This is an alternate driver for a number of Realtek WiFi USB devices,
including RTL8723AU, RTL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU.
It was written from scratch utilizing the Linux mac80211 stack.

After spending months cleaning up the vendor provided rtl8723au
driver, which comes with it's own 802.11 stack included, I decided to
rewrite this driver from the bottom up.

Many thanks to Johannes Berg for 802.11 insights and help and Larry
Finger for help with the vendor driver.

The full git log for the development of this driver can be found here:
git git://git.kernel.org/pub/scm/linux/kernel/git/jes/linux.git
    branch rtl8723au-mac80211

This driver is still under development, but has proven to be very
stable for me. It currently supports station mode only. It has support
for OFDM and CCK rates. It does lack certain features found in the
staging driver, such as power management, AMPDU, and 40MHz channel
support. In addition it does not support AD-HOC, AP, and monitor mode
support at this point.

The driver is known to work with the following devices:
Lenovo Yoga (rtl8723au)
TP-Link TL-WN823N (rtl8192cu)
Etekcity 6R (rtl8188cu)
Daffodil LAN03 (rtl8188cu)
Alfa AWUS036NHR (rtl8188ru)

Compile tested only

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48104
2016-01-03 20:57:38 +00:00
Felix Fietkau
0f84880a9d mac80211: iwlwifi: update firmware to ucode -16 version
We don't use Kernel drivers but ucode -16 is
usable on Kernel 4.3+ - with backports and mac80211
this should work on older Kernel versions too.

Intel does not provide a changelog.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48103
2016-01-03 20:57:31 +00:00
Felix Fietkau
eee06021ca mac80211: mt7601u use linux-firmware
upstream added mt7601u firmware with commit
9df5430a3c1bf4fa92d9198b6d7d8713408ff6bc Add firmware for mt7601u. version 34

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48102
2016-01-03 20:57:23 +00:00
Felix Fietkau
2a0e1b7f8d mac80211: merge a fix for a ps-poll handling issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47958
2015-12-20 21:28:30 +00:00
John Crispin
932bc8d5eb ath9k: Allow configuration of LED polarity in platform data.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47910
2015-12-17 09:27:24 +00:00
John Crispin
4a4b0b82ec ath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47909
2015-12-17 09:27:18 +00:00
Imre Kaloz
6b04b44e21 mac80211: use the linux-firmware tree from 2015-12-07
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47822
2015-12-10 12:17:24 +00:00
Jo-Philipp Wich
3041fbb4d2 mac80211: fix passing of VHT80 in IBSS mode
The "iw" utility expects the VHT80 to be specified as uppercase "80MHZ",
change the script to reflect that.

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

SVN-Revision: 47814
2015-12-09 15:19:41 +00:00
Jo-Philipp Wich
713f698bd4 mac80211: fix disabling HT in IBSS mode (#21340)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47813
2015-12-09 15:18:43 +00:00
Hauke Mehrtens
96a938d082 mac80211: fix build of mac80211-hwsim on kernel 4.4
This genl_notify() backport should not be applied for kernel 4.4.

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

SVN-Revision: 47795
2015-12-06 13:31:58 +00:00
Felix Fietkau
028666e75f mac80211: Allow to select VHT80 in IBSS mode
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 47781
2015-12-05 09:52:10 +00:00
Felix Fietkau
8d580cd7f2 mac80211: Allow enabling tracing for the drivers that support it
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47776
2015-12-05 09:51:35 +00:00
Felix Fietkau
ba0ba1e1f5 mac80211: enable build with linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47772
2015-12-04 22:40:38 +00:00
Felix Fietkau
70ac77f869 mac80211: update to 2015-12-03
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47771
2015-12-04 22:39:37 +00:00
Jonas Gorski
418a9d4972 mac80211: put the !LINUX_4_4 dependency in the right place
Make sure all sub packages are marked as not building for 4.4.

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

SVN-Revision: 47712
2015-12-03 11:01:34 +00:00
Jonas Gorski
4454a3fb63 package: kernel: update dependencies for 4.4
Update dependencies for linux 4.4 and mark as broken where source code
needs updating.

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

SVN-Revision: 47700
2015-12-02 22:19:31 +00:00
Hauke Mehrtens
40a09b93d2 mac80211: install new firmware for ath9k-htc on target
For quite some time new firmware for ath9k-htc devices
is available in
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/

Moreover ath9k-htc kernel driver expects this new v1.4
firmware to exist in /lib/firmware/ath9k_htc.

What happens currently:
---------------------------->8--------------------------
[    7.830000] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[    7.840000] usb 1-1: Direct firmware load for
ath9k_htc/htc_9271-1.4.0.fw failed with error -2
[    7.850000] usb 1-1: Falling back to user helper
[    7.870000] usbcore: registered new interface driver ath9k_htc
[    7.880000] firmware ath9k_htc!htc_9271-1.4.0.fw:
firmware_loading_store: map pages failed
[    7.890000] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[    8.200000] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size:
50980
[    8.440000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33
credits
[   10.720000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[   10.740000] ath9k_htc 1-1:1.0: FW RMW support: Off
[   10.760000] ieee80211 phy0: Atheros AR9271 Rev:1
---------------------------->8--------------------------

And with that patch new firmware is used instead:
---------------------------->8--------------------------
[   33.920000] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[   34.230000] usb 1-1: ath9k_htc: Transferred FW:
ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[   34.480000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33
credits
[   34.740000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[   34.750000] ath9k_htc 1-1:1.0: FW RMW support: On
---------------------------->8--------------------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47693
2015-12-02 20:32:11 +00:00
John Crispin
48c709e86d mac80211: rt2x00: fix WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable bit
Signed-off-by: evaxige <evaxige@qq.com>

SVN-Revision: 47668
2015-11-28 23:24:59 +00:00
Felix Fietkau
a4e234d278 ath10k: fix memory allocation issues on platforms where DMA coherent memory is constrained
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47625
2015-11-24 19:09:45 +00:00