Commit graph

224 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Felix Fietkau
18ae41edf0 ath9k: merge ar9580/ar955x initval updates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43029
2014-10-22 13:32:12 +00:00
Felix Fietkau
201fb55ac5 ath9k: merge a regulatory handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43028
2014-10-22 13:32:06 +00:00
Felix Fietkau
f3ee419dbc ath9k: merge a fix for queue start/stop handling (fixes #18164, #18130)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43011
2014-10-21 16:30:01 +00:00
Felix Fietkau
f0d9e712e4 mac80211: update to 2014-10-08
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42952
2014-10-18 17:38:59 +00:00
Felix Fietkau
8609ca69e0 mac80211: add a few upstream ath9k / mac80211 fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42849
2014-10-08 15:09:53 +00:00
Felix Fietkau
1161df826f ath9k: add a fix for dynack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42703
2014-09-30 21:36:04 +00:00
Felix Fietkau
cbc069f9c1 ath9k: add back missing fixes from the last version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42701
2014-09-29 18:51:25 +00:00
Felix Fietkau
a03d97d383 ath9k: fix some issues with ar934x rev 3 (especially ad-hoc mode)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42686
2014-09-27 20:52:11 +00:00
Felix Fietkau
8be721208d mac80211: update to wireless-testing 2014-09-26
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42683
2014-09-27 20:51:43 +00:00
Felix Fietkau
6ea49c5e13 ath9k_htc: fix decryption errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42530
2014-09-14 11:40:51 +00:00
Felix Fietkau
4ba3d616be ath9k: fix pll clock initialization on newer soc devices (fixes #14916)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42453
2014-09-09 08:03:00 +00:00
Felix Fietkau
3c5412e6c3 ath9k: add some ani related stability / performance fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42443
2014-09-08 16:45:30 +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