summaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches
Commit message (Collapse)AuthorAgeFilesLines
* ath10k: fix a compiler warningFelix Fietkau2016-07-091-1/+10
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k: fix #if vs #ifdef in led trigger patchFelix Fietkau2016-07-091-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport brcmfmac changes from 2016-07-08Rafał Miłecki2016-07-084-2/+161
| | | | | | | | | | | | | | | To work correctly hostapd requires wireless driver to allow interfaces removal. It was working with brcmfmac only partially. Firmware for BCM43602 got some special hack (feature?) that allowed removing all interfaces by disabling mbss mode. It wasn't working with BCM4366 firmware and remaining interfaces were preventing hostapd from starting again. Those patches add support for "interface_remove" firmware method which works with BCM4366 firmware and they make it finally possible to use BCM4366 & brcmfmac & multiple interfaces. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mac80211: backport brcmfmac changes from 2016-06-29Rafał Miłecki2016-07-065-0/+362
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ath9k: add beacon related stability fixesFelix Fietkau2016-07-0510-15/+908
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: move include statements for skb_get_hash_perturb() to prevent ↵Felix Fietkau2016-07-031-10/+4
| | | | | | issues with newer kernels Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport skb_get_hash_perturb() for 4.1 and olderFelix Fietkau2016-07-031-0/+28
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: mac80211: set the parent of the ath9k gpio_chipMartin Blumenstingl2016-07-022-10/+15
| | | | | | | | | | | | | | | | This allows gpiolib to re-use ath9k's devicetree node as GPIO controller. Example: ath9k: ath9k@0 { #gpio-cells = <2>; gpio-controller; } Now the ath9k node can be used just like any other GPIO controller: gpios = <&ath9k 1 GPIO_ACTIVE_HIGH>; Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: mac80211: enable the gpio controller for all ath9k devicesMartin Blumenstingl2016-07-022-22/+12
| | | | | | | | | This enables ath9k's built-in GPIO controller for all chip versions (instead of an explicit whitelist). This also allows us to get rid of some duplicate code between hw.c and gpio.c because hw.c already determines the number of GPIOs. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: mac80211: fold the AR9280 GPIO patch into the ath9k GPIO patchMartin Blumenstingl2016-07-023-38/+13
| | | | | | | | This folds 550-ath9k_add_ar9280_gpio_chip.patch into 548-ath9k_enable_gpio_chip.patch because the former patch only extends code which is introduced in the latter. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* mac80211: refresh patchesMathias Kresin2016-07-023-51/+57
| | | | | Signed-off-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* ath10k: fix tx performance regression on older chipsetsFelix Fietkau2016-07-022-2/+75
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: enable STBC and LDPC for VHT ratesFelix Fietkau2016-07-021-0/+81
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to wireless-testing 2016-06-20Felix Fietkau2016-07-0232-783/+592
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix skb size calculation in 4addr mode (FS#24)Jo-Philipp Wich2016-06-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | The PDU length of incoming LLC frames is set to the total skb payload size in __ieee80211_data_to_8023() of net/wireless/util.c which incorrectly includes the length of the IEEE 802.11 header. The resulting LLC frame header has a too large PDU length, causing the llc_fixup_skb() function of net/llc/llc_input.c to reject the incoming skb, effectively breaking STP. Solve the problem by properly substracting the IEEE 802.11 frame header size from the PDU length, allowing the LLC processor to pick up the incoming control messages. Special thanks to Gerry Rozema for tracking down the regression and proposing a suitable patch. Fixes FS#24. References: https://bugs.lede-project.org/index.php?do=details&task_id=24 Reported-by: Gerry Rozema <gerryr@rozeware.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath10k: merge some more pending upstream fixesFelix Fietkau2016-06-173-2/+128
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: ath10k fix otp check patchAdrian Panella2016-06-131-1/+1
| | | | | | Fix patch to match new updated package version Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ath10k: merge some pending stability fixesFelix Fietkau2016-06-118-6/+326
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-074-6/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel/mac80211: skip ath10k OTP check if caldata foundAsh Benz2016-05-271-0/+42
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* mac80211: brcmfmac: return -ENFILE if interface existsRafał Miłecki2016-05-301-1/+1
| | | | | | | This makes brcmfmac compatible with mac80211 which uses dev_alloc_name (and so returns -ENFILE on error). Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mac80211: fix unaligned accesses in the tx pathFelix Fietkau2016-05-191-0/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: Fix TX99 supportHelmut Schaa2016-05-181-4/+8
| | | | | | | The patch 300-ath9k-force-rx_clear-when-disabling-rx.patch broke TX99 support in ath9k. Fix the patch by only applying rx_clear if TX99 mode is not used. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
* mac80211: fix a module build/dependency issue that was breaking lib80211Felix Fietkau2016-05-161-0/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to wireless-testing 2016-05-12Felix Fietkau2016-05-15140-9893/+639
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: ath9k: add GPIO support for AR9280 chipJohn Crispin2016-04-261-0/+27
| | | | | | | | | | Enable access to GPIO on Atheros wireless chip AR9280. Support for 9280 is added to existing 9285/9287 subsystem because these 3 chips differ only in number of GPIO pins. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 49251
* mac80211: add brcmfmac regression ("NULL pointer dereference") fixRafał Miłecki2016-04-251-0/+26
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49222
* mac80211: update brcmfmac including missing boardrev workaroundRafał Miłecki2016-04-1613-8/+1439
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49174
* brcmfmac: Add Raspberry Pi 3 supportJohn Crispin2016-03-161-0/+27
| | | | | | | | | | - Enable SDIO support on brcmfmac. - Disable power managment for brcm2708 target. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49023
* mac80211: backport brcmfmac patchset with driver setting conceptRafał Miłecki2016-03-0722-3/+4468
| | | | | | | | | | This prepares brcmfmac for better country handling and fixes BCM4360 support which was always failing with: [ 13.249195] brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48959
* mac80211: rework gpio chip/button support to build on platforms without ↵Felix Fietkau2016-03-072-153/+124
| | | | | | | | CONFIG_GPIOLIB Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48938
* mac80211: ath9k: enable GPIO buttonsFelix Fietkau2016-03-051-0/+169
| | | | | | | | | | Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48921
* mac80211: improve rate control performanceFelix Fietkau2016-03-031-0/+77
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48897
* mac80211: add a number of pending fixesFelix Fietkau2016-03-025-0/+180
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48883
* mac80211: refresh patchFelix Fietkau2016-03-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48882
* mac80211: ath9k: enable access to GPIOFelix Fietkau2016-03-021-0/+243
| | | | | | | | | | Enable access to GPIO chip and its pins for Atheros AR92xx wireless devices. For now AR9285 and AR9287 are supported. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> Acked-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 48881
* mac80211: ath9k: set default state for platform LEDsFelix Fietkau2016-03-021-0/+29
| | | | | | | | | | Support default state for platform LEDs connected to ath9k device. Now LEDs are correctly set on or off at ath9k module initialization. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> Acked-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 48880
* mac80211: ath9k: enable platform WLAN LED nameFelix Fietkau2016-03-021-0/+48
| | | | | | | | | Enable platform-supplied WLAN LED name for ath9k device. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> Acked-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 48879
* mac80211: backport brcmfmac fix for primary channel in 80 MHz modeRafał Miłecki2016-02-252-1/+65
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48782
* mac80211: backport brcmfmac fix for sdio sg table alloc crashRafał Miłecki2016-02-252-0/+118
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48781
* mac80211: fix an RTS/CTS issue in minstrel_htFelix Fietkau2016-02-251-0/+26
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48759
* mac80211: sync a-msdu tx patch with the latest upstream submissionFelix Fietkau2016-02-251-35/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48758
* mac80211: set default aggregation timeout to 0 to improve stabilityFelix Fietkau2016-02-181-0/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48744
* mac80211: update A-MSDU tx support to the latest versionFelix Fietkau2016-02-182-7/+91
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48743
* mac80211: fix a crash in monitor mode injectionFelix Fietkau2016-02-141-0/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48719
* mac80211: improve a-msdu rx performance by avoiding unnecessary data copyingFelix Fietkau2016-02-081-0/+132
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48673
* mac80211: fix a memory leak in a-msdu rxFelix Fietkau2016-02-081-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48672
* mac80211: update A-MSDU tx patch to the latest versionFelix Fietkau2016-02-081-19/+27
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48671
* mac80211: refresh patchFelix Fietkau2016-02-081-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48670
* mac80211: fix flowrings infinite loops in brcmfmac on BCM4366Rafał Miłecki2016-02-071-0/+307
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48653