Commit Graph

162 Commits (58ca40c218871497e81d4cffacea10bef2c265bf)

Author SHA1 Message Date
Felix Fietkau 330247dd20 mac80211: iwlagn include firmware for 7260 cards
This patch enables including the firmware for Intel Dual Band Wireless-N 7260 and Intel Dual Band Wireless-AC 7260 cards in iwlagn.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:54:37 +00:00
Felix Fietkau b71f5661d7 mac80211: Enable kmod-rt2800-soc package for rt288x target
Trunk and the latest backport to Attitude Adjustment have the
kmod-rt2800-soc package hidden for the ramips_rt288x target.
This makes the dependency match the dependency given in the
TITLE field.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-21 15:03:08 +00:00
Felix Fietkau 5a201cd3f4 ath10k: update firmware and allow choice between AP and STA firmwares
This patch updates ath10k firmware to the latest version, changes the
default firmware to be the one optimized for access point operation, and
introduces a configuration option to choose the client-optimized
firmware instead during build time.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-19 14:37:12 +00:00
Imre Kaloz 567cc1ee17 [mac80211]: add add new firmware support and additional fixes for wl18xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 18:55:54 +00:00
Imre Kaloz 7777f1ed2c [mac80211][omap]: switch to the newer DT bindings for wl1xxx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 18:54:27 +00:00
Imre Kaloz 4dbf11202f [mac80211]: use newer firmware checkout
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-17 13:36:10 +00:00
Felix Fietkau 18e83ff89a ath9k: merge an aggregation related fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 10:00:56 +00:00
Felix Fietkau e7e3c5ac9a ath9k: further improvements to noise immunity handling on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-11 15:31:50 +00:00
Felix Fietkau 6b21bedc35 ath9k: add another ANI fix for older chipsets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-10 18:58:52 +00:00
Felix Fietkau 6100a5655f ath9k: improve ANI debugfs file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 10:31:05 +00:00
Felix Fietkau 28509f07a6 ath9k: fix tx queue configuration for buffered multicast frames
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 10:05:41 +00:00
Felix Fietkau 4c7ec31e4e ath9k: further reduce false baseband hang detects on older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 08:53:39 +00:00
Felix Fietkau f014be0345 mac80211: add a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-09 08:53:31 +00:00
Felix Fietkau 44de5c8d01 ath9k: improve noise immunity behavior for older chipsets (ar92xx and earlier), should improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 18:08:23 +00:00
Felix Fietkau e6fbcf4df8 mac80211: declare missing config parameter mesh_id
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-28 18:08:16 +00:00
Felix Fietkau c7c11c726c ath5k: fix enabling 5/10 mhz channel bandwidth support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-27 21:36:28 +00:00
Felix Fietkau 12ed30907b ath9k: add fixes for rx processing and baseband hang detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-25 10:27:02 +00:00
Felix Fietkau a2db25951f ath5k: mark the current survey channel as being used
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:57:09 +00:00
Felix Fietkau acfc03d554 ath9k: reduce unnecessary logspam (#14940)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:48:56 +00:00
Felix Fietkau 26fc63878b ath9k: fix issues with 5/10 mhz channel bandwidth (#14916)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:43:48 +00:00
Felix Fietkau 1577a27b74 ath9k: fix issues that have been plaguing some powersave clients since the tx queueing rework (#14092)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:11 +00:00
Felix Fietkau 8de10cb678 ath9k: show more reset causes in debugfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:07 +00:00
Felix Fietkau 17d917db53 mac80211: merge some upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:04 +00:00
Felix Fietkau b2ce41bde8 ath9k: enable u-apsd support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:01:00 +00:00
Felix Fietkau 3fe5fa17cf ath9k: add a tx locking fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-22 13:00:55 +00:00
Nicolas Thill 97afdda510 mac80211: disable libertas-sd on uml target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 22:15:52 +00:00
John Crispin ceda071dfb mac80211: add validation rules
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:34:08 +00:00
Felix Fietkau 9d93ca72fb mac80211: send wpa frames through the WMM voice queue - improves connection reliability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:55 +00:00
Felix Fietkau 97c3a186fb ath9k: add p2p client mode support powersave patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:51 +00:00
Felix Fietkau 1d5fef0379 rtl8187: fix crashes on mips caused by misaligned DMA and cache issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 15:00:36 +00:00
Hauke Mehrtens 683378e25b mac80211: add led_trigger_blink{_oneshot}()
When led support is deactivated in the kernel and
CPTCFG_BACKPORT_BUILD_LEDS is set mac80211 references
led_trigger_blink_oneshot() but it is not declared anywhere.

This fixes the following build error:
net/mac80211/led.c: In function 'ieee80211_led_rx':
net/mac80211/led.c:25:2: error: implicit declaration of function 'led_trigger_blink_oneshot' [-Werror=implicit-function-declaration]

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-08 12:19:22 +00:00
Felix Fietkau f8b48a8283 ath9k: merge tx iq calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-07 18:08:57 +00:00
Imre Kaloz 1e497fd00e [package/mac80211]: fix wl12xx compile error introduced in [39428]
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 18:29:44 +00:00
Felix Fietkau 5eca73f476 wifi: Introduce 802.11ac support
This patch introduces 802.11ac support to mac80211 and hostapd. The split of
VHT160 in two 80 MHz bands is not yet supported, since it requires an
additional user supplied parameter for the channel of the second band.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
[sven@open-mesh.com: Rebased patch, merged htmode and vhtmode,
removed special hwmode, replaced uci vht_capab list with overwritable
autoconfig, fixed hostapd integration, fixed commit description, add HT40+/-
for VHT modes, add VHT40 center_freq autoconfig, refactored major parts]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-03 13:31:44 +00:00
Felix Fietkau 0847991cf2 ath9k: merge a tx power handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-03 10:53:24 +00:00
Felix Fietkau fcaab2e4e1 mac80211: fix basic rate list processing in ad-hoc mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 14:25:09 +00:00
Felix Fietkau 2ad3cedee6 mac80211: fix processing of the distance option (#14893)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-02 14:02:56 +00:00
Felix Fietkau bda51fa53d mac80211: merge upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-01 15:33:04 +00:00
Felix Fietkau aee6c4afc1 ath9k: fix handling of the default chip pci id on ar93xx (#14886)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 11:05:21 +00:00
Felix Fietkau a89c59249a mac80211: refresh tarball with a newer backports version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-30 15:55:59 +00:00
Felix Fietkau 9130ba35ea mac80211: update to wireless-testing 2014-01-23
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-30 13:21:36 +00:00
John Crispin c51b9ad23a mac80211: enable ralink ap+sta support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:51 +00:00
John Crispin 589282a05c netifd: fix mac80211.sh to respect setting of mcast_rate
This patch fixes a bug in /lib/netifd/wireless/mac80211.sh, where
the UCI setting of wireless multicast traffic (in uci: mcast_rate)
is not respected within netifd. Especially in Freifunk mesh networks
the olsr routing as effected by this, as only the lowest mcast_rate
was used, even when uci ncast_rate was set to something else.
In function mac80211_setup_adhoc() the value of mcast_rate is missing
in json_get_vars.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:15 +00:00
Gabor Juhos b9e6e5b3ff ath9k: add workaround for AR9331 USB host controller hang with USB1.1 devices
When wifi radio is reset, some bits in (undocumented) USB registers may
flip. Patch adds setting them after radio reset (channel change, up/down).
With this patch stability of USB1.1 full-speed devices, connected directly
to AR9331 host port (no USB2.0 hub) is improved.

See "ar9331's usb stability issue" OpenWrt forum thread for details:
  <https://forum.openwrt.org/viewtopic.php?id=39956>

Based on QCA's Open HAL WAR_USB_DISABLE_PLL_LOCK_DETECT() macro:
  <https://github.com/qca/qcamain_open_hal_public/blob/master/hal/ar9300/ar9300_reset.c#L74>

Adapted to Linux mac80211 driver for 8Devices Carambola2 board by Mantas Pucka:
  <b08b59ceb4>

Ported to latest OpenWrt BB branch and tested on TP-Link TL-WR703N by
Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
[juhosg: refresh and clean up the ath9k patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-10 09:05:31 +00:00
Felix Fietkau 0c83afb6ec ath9k: merge a timer handling fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 16:02:32 +00:00
Felix Fietkau 6f5a0548e7 ath9k: merge another round of upstream (or -pending) fixes and cleanups
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-19 17:18:07 +00:00
Felix Fietkau 3aced3e94b mac80211: fix AP mode scanning issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 15:45:57 +00:00
Felix Fietkau 21794ceab0 ath9k: fix interrupt storms on AR913x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 20:23:00 +00:00
Felix Fietkau 43122f092e ath9k: merge another round of cleanups and fixes submitted to linux-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 17:07:08 +00:00
Felix Fietkau c411d7e762 ath9k: merge an interrupt processing fix for AR5008-AR9002
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 16:40:27 +00:00