aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: brcmfmac: support dumping stationsRafał Miłecki2016-01-1013-1/+1170
| | | | | | | It allows user-space fetch associated STAs and e.g. iwinfo/luci display them. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: fix getting/setting TX powerRafał Miłecki2016-01-1018-2/+1401
| | | | | | | | This patches also adds BCM4366 support which may be found on some new routers based on BCM47094 or BCM4709C0. Unfortunately firmware is still missing for this chipset. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rename patches to use all prefixesRafał Miłecki2016-01-0945-0/+0
| | | | | | | | | | After last commit we got few unuset slots (prefixes). Use all available numbers one by one to allow more backports. This doesn't change a single patch (or order), only renames files. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: group brcmfmac patches into sets as they were sentRafał Miłecki2016-01-0948-0/+0
| | | | | | | | | | It doesn't change any single patch (or order), it only renames files. This creates some place for more backports, as we were already using 398 prefix which left only 1 slot. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48163 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: mac80211: fix disabling HT in IBSS mode (#21340)Jo-Philipp Wich2015-12-091-0/+3
| | | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r47813 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add a fix to initialize the tid field in the tx queue structFelix Fietkau2015-10-051-0/+21
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47142 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix handling of tx headroom for paddingFelix Fietkau2015-09-247-12/+34
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47042 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: reduce dma burst size on newer firmware to fix crashesFelix Fietkau2015-09-131-0/+24
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46900 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add pending brcmfmac patch fixing warm rebootsRafał Miłecki2015-08-271-0/+193
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46739 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update brcmfmac to the latest versionRafał Miłecki2015-08-2627-12/+2281
| | | | | | | | | | | This also adds one patchset of pending changes that fix support for multiple interfaces. It was somehow broken. Driver couldn't correctly match firmware and system interfaces resulting in not working APs and WARNINGs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46736 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: group last brcmfmac changes into (half) patchsetRafał Miłecki2015-08-265-0/+0
| | | | | | | | This prepares some place for backporting extra patches. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46735 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: mac80211: disable ipw2x00 for big endian targetsJonas Gorski2015-08-231-1/+1
| | | | | | | | | | | | | | | The ipw2x00 drivers assume that the system they are running is little endian, and access everything in native byte order. When run on a big endian system, everything breaks apart. Since fixing this is non trivial on a first glance, disable them for big endian targets. Backport of r46708. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make ath10k firmware v2 selectableJohn Crispin2015-07-241-0/+12
| | | | | | | | | | | | Added option for old firmware version (10.1 API v2). It seems that recent firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and this provides the option to select an older version instead. Backport of r46340 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch fixing user space picked MACsRafał Miłecki2015-07-091-0/+69
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46288 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: try to workaround some brcmfmac bug with handling interfacesRafał Miłecki2015-07-091-0/+49
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46278 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: make DMA stop related messages debug-only (#11862, #9654)Felix Fietkau2015-07-021-0/+74
| | | | | | | | | | | | | | | | | | | | | A long time ago, ath9k had issues during reset where the DMA engine would stay active and could potentially corrupt memory. To debug those issues, the driver would print warnings whenever they occur. Nowadays, these issues are gone and the primary cause of these messages is if the MAC is stuck during reset or busy processing a long transmission. This is fairly harmless, yet these messages continue to worry users. To reduce the number of bogus bug reports, turn these messages into debug messages and count their occurence in the "reset" debugfs file. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46158 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport some brcmfmac patchesRafał Miłecki2015-06-218-0/+892
| | | | | | | | | | | | | There are two important patches in this patchset: updating read pointer quicker & rework of .get_station(). There are few more upstream patches that are p2p-related and weren't backported in this commit. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46084 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix ar956x device detectionFelix Fietkau2015-06-215-8/+28
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46090 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add another fix for some rx/tx dma stop issues, refresh patchesFelix Fietkau2015-06-173-4/+35
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46008 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mac80211: bcm53xx has bcma built-inRafał Miłecki2015-06-091-3/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch for synchronous initRafał Miłecki2015-06-081-0/+114
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add brcmfmac patch reading NVRAM from platformRafał Miłecki2015-06-081-0/+80
| | | | | | | | | This allows e.g. BCM43602 to work out of box, without dumping a proper MTD partition to /lib/firmware/ NVRAM file. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)Rafał Miłecki2015-06-081-0/+32
| | | | | | | | This fixes #19803 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport today's brcmfmac changesRafał Miłecki2015-06-083-0/+223
| | | | | | | | | This adds support for SR400ac NVRAM and fixes /sys/class/ieee80211/*/macaddress Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: move ht_coex variable to mac80211.sh, guarded by 802.11n supportFelix Fietkau2015-06-061-2/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix an issue with stopping rx/tx dma on AR93xxFelix Fietkau2015-06-022-1/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make netifd script create AP interface directlyFelix Fietkau2015-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Before starting hostapd we create interface for it. The problem is we try to create STA interface just to let hostapd change it to AP later. It may fail if device doesn't support STA interfaces or if we already hit a limit. Consider following phy (it's from BCM43602 and brcmfmac): $ iw phy phy0 info | tail valid interface combinations: * #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1, total <= 3, #channels <= 1 Trying to setup 2 interfaces: STA + AP results in: radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): command failed: Operation not supported (-95) radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf radio0 (1101): Could not read interface wlan0-1 flags: No such device Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport one missed brcmfmac NVRAM-related patchRafał Miłecki2015-05-281-0/+50
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport today's brcmfmac changesRafał Miłecki2015-05-285-0/+323
| | | | | | | | | This fixes various problems with parsing platform NVRAM. It's required to get BCM43602 working in most cases. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45802 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport today's brcmfmac changesRafał Miłecki2015-05-269-0/+696
| | | | | | | | It should improve msgbuf throughput (PCIe devices like BCM43602). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make it work with 3.18.12+Jonas Gorski2015-05-2130-69/+98
| | | | | | | | | | | | | | | 3.18.12 backported 61ada528dea028331e99e8ceaed87c683ad25de2 ("sched/wait: Provide infrastructure to deal with nested blocking") from 3.19, causing the following error on load: [ 13.588000] compat: exports duplicate symbol woken_wake_function (owned by kernel) Fix this by guarding it with a check for 3.18.11 or earlier instead of 3.19. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: apply mesh parameters after starting authsae/wpa_supplicant (#16697)Felix Fietkau2015-05-091-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport brcmfmac to support multiple devices NVRAMRafał Miłecki2015-04-2410-0/+1000
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update brcmfmac to the wireless-drivers-next-for-davem-2015-04-09Rafał Miłecki2015-04-2419-0/+1850
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fallback to wpa_supplicant to setup encrypted meshFelix Fietkau2015-04-201-4/+3
| | | | | | | | | | instead of failing when authsae is not installed, also try using wpa_supplicant as the newly added -mesh variants support mesh mode and SAE encryption. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: merge a number of upstream driver fixes/improvementsFelix Fietkau2015-04-1429-25/+1114
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)Felix Fietkau2015-04-111-0/+1
| | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add start_disabled optionJohn Crispin2015-04-091-2/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make b43 N-PHY default for brcm47xx legacy subtargetRafał Miłecki2015-04-081-3/+2
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: get rid of tx power related log spamFelix Fietkau2015-04-041-0/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update the software queue patch to the version accepted upstreamFelix Fietkau2015-04-037-74/+86
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath: relax regulatory rules for default regd codeFelix Fietkau2015-04-031-0/+47
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix tx queue allocation issues (#19329)Felix Fietkau2015-03-271-3/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove a leftover patch chunk that should have been deleted in r45061Felix Fietkau2015-03-271-24/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rework memory allocation for software queueing patchFelix Fietkau2015-03-271-22/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mac80211: backport bcma patch renaming IRQ control functionRafał Miłecki2015-03-241-0/+104
| | | | | | | | | This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157 bcma: move PCI IRQ control function to host specific code Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: remove obsolete references to cris and avr32Felix Fietkau2015-03-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: disable for umlSteven Barth2015-03-231-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: include brcmfmac firmware for BCM43602Rafał Miłecki2015-03-201-0/+5
| | | | | | | | It can be found e.g. in Netgear R8000. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update linux-firmware to 2015-03-20Rafał Miłecki2015-03-201-2/+2
| | | | | | | | It includes new Broadcom firmware files for brcmfmac. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44914 3c298f89-4303-0410-b956-a3cf2f4a3e73