Commit Graph

374 Commits (a43bcc980eace8aa9f8429eca09155c537aaf7a3)

Author SHA1 Message Date
Felix Fietkau b5073ca2c8 mac80211: merge a number of upstream driver fixes/improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45432
9 years ago
Felix Fietkau daaed6f251 netifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)
Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 45379
9 years ago
John Crispin d564779563 mac80211: add start_disabled option
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45326
9 years ago
Rafał Miłecki e4c35bd9fb mac80211: make b43 N-PHY default for brcm47xx legacy subtarget
Subtarget legacy is supposed to support all ssb SoC except for BCM4705.
There are few BCM4703 devices with 802.11n supprt (WRT160N v1.0, v1.1).
Few BCM4704 devices with 802.11n: ASUS WL-500W, Linksys WRT150N v1.0 &
v1.1, Linksys WRT300N v1.0, Netgear WNDR3300 v1, WNR834B v1 & v2.

It seems we have to enable N-PHY for legacy as well to support above.
Unfortunately it increases root.squashfs size by 48 460 B.

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

SVN-Revision: 45309
9 years ago
Felix Fietkau 94850b0068 mac80211: get rid of tx power related log spam
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45271
9 years ago
Felix Fietkau 98cd35e477 mac80211: update the software queue patch to the version accepted upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45265
9 years ago
Felix Fietkau 3cc4fd7370 ath: relax regulatory rules for default regd code
Most AP devices out there do not have a properly programmed regulatory
domain code, which means they are limited to US frequencies by default.

This has been a major annoyance for a long time now. Since no fix for
the manfuacturing process seems to be forthcoming, the only sane option
seems to be to allow users to change the country code in such cases.

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

SVN-Revision: 45252
9 years ago
Felix Fietkau 54dd25eef4 mac80211: fix tx queue allocation issues (#19329)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45069
9 years ago
Felix Fietkau b67719f571 mac80211: remove a leftover patch chunk that should have been deleted in r45061
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45064
9 years ago
Felix Fietkau 7cc4cbb4d3 mac80211: rework memory allocation for software queueing patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45061
9 years ago
Rafał Miłecki a7724918c9 kernel: mac80211: backport bcma patch renaming IRQ control function
This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157
bcma: move PCI IRQ control function to host specific code

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

SVN-Revision: 44969
9 years ago
Felix Fietkau 5d9eeab64a build: remove obsolete references to cris and avr32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44965
9 years ago
Steven Barth 321ff8d516 mac80211: disable for uml
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44953
9 years ago
Rafał Miłecki aafe123d02 mac80211: include brcmfmac firmware for BCM43602
It can be found e.g. in Netgear R8000.

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

SVN-Revision: 44915
9 years ago
Rafał Miłecki bd82b403cf mac80211: update linux-firmware to 2015-03-20
It includes new Broadcom firmware files for brcmfmac.

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

SVN-Revision: 44914
9 years ago
Felix Fietkau 9143cf5fc9 mac80211: merge a few performance enhancements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44910
9 years ago
Felix Fietkau f7a861615c mac80211: update software queueing patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44909
9 years ago
Imre Kaloz 211a4484a1 mac80211: fix 5ghz variable name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44907
9 years ago
Imre Kaloz 8f91c80ea1 mac80211: when looking for VHT, check 5GHz support as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44906
9 years ago
Felix Fietkau 2e5125c3d6 mac80211: add some improvements to the software queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44872
9 years ago
Rafał Miłecki f60113762a mac80211: include brcmfmac USB firmware only if support was enabled
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44808
9 years ago
Rafał Miłecki 190cd817b0 mac80211: add option for USB support in brcmfmac
This makes it consistent with other buses configuration.

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

SVN-Revision: 44807
9 years ago
Rafał Miłecki e5d89ea721 mac80211: update wiki URLs
linuxwireless.org was moved to wireless.wiki.kernel.org and it RO now

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

SVN-Revision: 44806
9 years ago
Felix Fietkau ff92fe5770 mac80211: add missing dependency for brcmfmac with SDIO support enabled (fixes #19184)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44790
9 years ago
Felix Fietkau 876fb249a8 ath9k: disable TPC support for now until bugs have been found and fixed
SVN-Revision: 44768
9 years ago
Felix Fietkau ea5c986aa6 ath9k: always select relay support, not just when debugfs is enabled - fixes an unresolved symbol error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44754
9 years ago
Felix Fietkau 34f831dbd8 ath: fix selecting the module individually (#19162)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44750
9 years ago
Felix Fietkau 90b3984e60 mac80211: fix a rounding issue in minstrel MCS rate duration calculation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44749
9 years ago
Felix Fietkau 25d13b89ee mac80211: improve powersave handling in the tx queue rework patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44748
9 years ago
Felix Fietkau fce7d5cfc9 mac80211: fix a pointer handling error in the new tx queueing code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44738
9 years ago
Felix Fietkau 1850e0f0a7 Rename 'atheros' target to 'ath25'
Rename 'atheros' target to more precise 'ath25'.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44736
9 years ago
Felix Fietkau 690808a3ba ath9k: fix a beacon enable handling bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44696
9 years ago
Felix Fietkau a67cd94def mac80211: add missing header file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44670
9 years ago
Felix Fietkau 790e704fc7 mac80211: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44669
9 years ago
Felix Fietkau 24e29efb2f mac80211: Use newer firmware for ath10k
Patch by Bryan Forbes <bryan@reigndropsfall.net>

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

SVN-Revision: 44656
9 years ago
Felix Fietkau 1e5b7c17b0 mac80211: update to wireless-testing 2015-03-09
Based on patch by Bryan Forbes <bryan@reigndropsfall.net>

Also update mt76 to update for API changes

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

SVN-Revision: 44655
9 years ago
John Crispin 8f99faaf21 ath5k: fix reset race
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44603
9 years ago
John Crispin ecde3110b5 ath5k: channel change fix
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44602
9 years ago
Rafał Miłecki be2abf706f kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44595
9 years ago
Rafał Miłecki a79d10fa01 mac80211: brcmfmac: Add PCIe support option
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44466
10 years ago
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
10 years ago
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
10 years ago
John Crispin ee445d7cb2 ath5k: fix spontaneus AR5312 freezes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44252
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago