Commit graph

336 commits

Author SHA1 Message Date
Rafał Miłecki
be2abf706f kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44595
2015-03-03 23:15:49 +00:00
Rafał Miłecki
a79d10fa01 mac80211: brcmfmac: Add PCIe support option
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44466
2015-02-16 19:36:35 +00:00
Rafał Miłecki
9034bd32af mac80211: brcmfmac: Add SDIO support option
This patch adds SDIO support for the brcmfmac driver.
For now only very few boards need it.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44465
2015-02-16 19:11:38 +00:00
Jo-Philipp Wich
8f7ce3aa6d mac80211: don't hardcode /bin/bash
Instead of hardcoding /bin/bash, use /usr/bin/env bash - this fixes the
build on FreeBSD 10.1.

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

SVN-Revision: 44283
2015-02-05 23:18:47 +00:00
John Crispin
ee445d7cb2 ath5k: fix spontaneus AR5312 freezes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44252
2015-02-04 06:09:51 +00:00
John Crispin
a0cc6803c8 mac80211: Revert adding SM Power Save capability to hostapd configuration
Part of rev 44173 added setting the SM Power Save capability in the hostapd.conf
file if the driver indicated that it was supported. It appears this was
incorrect, because the field in the actual HT Capabilities field in the AP
configuration is really a state indication. Just copying the state from the
capability resulted in the AP indicating that it had SMPS enabled all the time
if it supported SMPS. This effectively just disables all clients from sending
packets to the AP with more than one spatial stream, for no good reason.
So remove this part of the change.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

SVN-Revision: 44239
2015-02-02 09:01:44 +00:00
John Crispin
00a548aea8 mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
http://patchwork.ozlabs.org/patch/434532/

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44222
2015-01-30 08:06:47 +00:00
John Crispin
b86545c86d mac80211: fix NULL pointer crash in monitor frame injection TX path
This "patch to the patch" fixes a NULL pointer derefence crash in the new
intermediate software queues. The crash can be reproduced by injecting an
802.11 frame with a BSSID that does not belong to a configured vif. The
wperf tool (https://github.com/anyfi/wperf) may be convenient for doing
this.

Signed-off-by: Johan Almbladh <ja@anyfi.net>

SVN-Revision: 44220
2015-01-30 08:06:28 +00:00
John Crispin
895edf7c43 libertas: set wireless macaddr
Update the wireless macaddr with the value retrieved from the H/W.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44175
2015-01-28 12:07:35 +00:00
John Crispin
cae76f611a libertas: configure sysfs symlinks
Update the libertas driver to configure symlinks in sysfs.  This enables
the driver to be handled correctly by the mac80211/netifd/hostapd scripts.
With this patch, the wireless interface is functional on Guruplug Server Plus.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44174
2015-01-28 12:07:29 +00:00
John Crispin
04f104e74d mac80211: Add some missing 802.11n capabilities to hostapd configuration
Add some missing 802.11n capabilities to the hostapd ht_capab string when
supported by the hardware: Spatial Multiplexing Power-Save and 7935-byte AMSDUs.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

SVN-Revision: 44173
2015-01-28 12:07:21 +00:00
John Crispin
e0aaac8434 mac80211: fix fallback to macaddr
If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink
produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't
exist) or a path that begins with '/sys/class/ieee80211' (which does not
work with the subsequent line to strip '/sys/devices' from the beginning of
the path).  Modify the checks to detect these conditions, and fallback to
using the macaddr.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44172
2015-01-28 12:07:08 +00:00
John Crispin
f283700396 mac80211: update libertas_sdio package name
Change the name of the package to match the module name so it matches the
package name referenced by the Kirkwood (Guruplug) profile.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44171
2015-01-28 12:06:59 +00:00
Felix Fietkau
768d09be87 mac80211/hostapd: fix HT mode setup for RSN ad-hoc networks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44100
2015-01-24 19:27:22 +00:00
John Crispin
94aebc6bd7 mac80211: add throughput trigger to ath10k
add a led trigger to ath10k based on the ath9k code

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

SVN-Revision: 44033
2015-01-18 10:26:57 +00:00
Felix Fietkau
a570ccd7e2 ath9k: fix irq storm issues (#18483)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43971
2015-01-14 13:20:38 +00:00
Felix Fietkau
b898695bdd mac80211: fix ad-hoc basic/multicast rate regression from r43782
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43853
2015-01-05 13:19:20 +00:00
Felix Fietkau
fe35a1cb8b package: remove references to symbols TARGET_{ps3,pxcab}.
Target pxcab and ps3 were removed from maintaince in r34764 and r34765
respectively.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 43850
2015-01-05 13:03:40 +00:00
Felix Fietkau
beb4318bc3 ath10k: fix tx rate selection for ad-hoc mode with HT
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43790
2014-12-27 13:37:32 +00:00
Felix Fietkau
ff3464eb30 mac80211: fix HT mode selection for ad-hoc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43769
2014-12-22 21:46:38 +00:00
Felix Fietkau
ff06d03a38 cfg80211: add support for changing the device mac address via sysfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43638
2014-12-11 20:07:58 +00:00
Felix Fietkau
9144cc5c2d mac80211: do not export the backports linux/module.h, it breaks out-of-tree driver builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43609
2014-12-10 21:17:05 +00:00
Felix Fietkau
03b49664e5 ath10k: init devices synchronously to fix wifi detection at boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43484
2014-12-01 20:01:05 +00:00
Felix Fietkau
62100c31d6 ath5k: fix hardware queue index assignment
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43442
2014-11-30 21:05:17 +00:00
Felix Fietkau
47f09fd345 ath9k: fix hardware tx queue allocation order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43438
2014-11-30 19:41:59 +00:00
Felix Fietkau
22b42b4233 mac80211: update regdb to master-2014-11-18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43408
2014-11-27 17:26:06 +00:00
Felix Fietkau
8f7e398350 mac80211: fix a crash on getting the channel in WDS AP mode (#18400)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43367
2014-11-24 17:13:54 +00:00
Felix Fietkau
6aeb3528a8 ath9k: fix some ar913x irq handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43342
2014-11-23 12:53:35 +00:00
Felix Fietkau
f80596c9df mac80211: fix a crash on using VHT rates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43340
2014-11-21 22:29:48 +00:00
Felix Fietkau
4d99db168c mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask is set
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43326
2014-11-19 20:17:08 +00:00
Felix Fietkau
1ffcc555ef mac80211: add an intermediate software queueing implementation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43325
2014-11-19 20:17:01 +00:00
Felix Fietkau
bc30e04a83 mac80211: add support for passing sta rate table updates to the driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43324
2014-11-19 20:16:55 +00:00
John Crispin
510ff1f1b8 ralink: merge the mt7620a/n subtargets
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43300
2014-11-19 09:19:38 +00:00
Felix Fietkau
49aca2431c mac80211: fix a crash bug in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43298
2014-11-18 22:20:50 +00:00
Felix Fietkau
9cd492b3e1 mac80211: add support for reporting tx status without attached skb
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43297
2014-11-18 22:20:45 +00:00
Felix Fietkau
7b0b8556d8 mac80211: enable minstrel_ht VHT support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43296
2014-11-18 22:20:37 +00:00
Felix Fietkau
dd5959c114 mac80211: fix VHT rate selection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43279
2014-11-16 11:39:07 +00:00
Felix Fietkau
25d508dcd9 mac80211: backport list_last_entry
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43278
2014-11-16 11:39:01 +00:00
Felix Fietkau
6abb5f7a21 mac80211: backport devm_kmemdup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43277
2014-11-16 11:38:55 +00:00
Felix Fietkau
5a05cb40ce ath9k: fix crashes when using shared IRQs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43239
2014-11-13 17:38:22 +00:00
Felix Fietkau
9809b02dec mac80211: fix kernel crash on netdev unregister on newer 3.14 kernels
Based on patch by Mark Milburn

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43224
2014-11-09 02:25:49 +00:00
Felix Fietkau
740c755805 mac80211: update to wireless-testing 2014-11-04
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43210
2014-11-07 19:41:07 +00:00
Felix Fietkau
82e2aeb599 mac80211: merge a few pending upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43208
2014-11-07 11:12:51 +00:00
Hauke Mehrtens
26e68b353f mac80211: remove unused patch
This patch added stuff that is already there and if it would be needed
this would result in a compile error.

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

SVN-Revision: 43131
2014-10-31 21:55:21 +00:00
Felix Fietkau
e6da32c086 mac80211: fix key flush handling in AP+STA
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43079
2014-10-27 11:02:23 +00:00
Felix Fietkau
78bd998e49 ath9k: add a few calibration related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43058
2014-10-25 14:45:22 +00:00
Felix Fietkau
29987caa25 rtlwifi: unbreak usb drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43052
2014-10-24 22:00:34 +00:00
Felix Fietkau
16a9ab1d58 ath: process regulatory notifiers with CONFIG_ATH_USER_REGD set
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43034
2014-10-23 13:33:18 +00:00
Felix Fietkau
3772f272d0 ath10k: fix survey output channel in-use flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43033
2014-10-23 13:33:14 +00:00
Felix Fietkau
d9ea3d2aa8 ath9k: fix tx power reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43032
2014-10-22 16:26:56 +00:00