aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/548-ath9k_enable_gpio_chip.patch
Commit message (Collapse)AuthorAgeFilesLines
* ath9k: register GPIO chip for OF targetsMathias Kresin2019-02-101-6/+15
| | | | | | | | | | | | | | | | | | | | This partitialy reverts commit f506de2cdaf9. Registering the GPIO chip without a parent device completely breaks the ath9k GPIOs for device tree targets. As long as boards using the devicetree don't have the gpio-controller property set for the ath9k node, the unloading of the driver works as expected. Register the GPIO chip with the ath9k device as parent only for OF targets to find a trade-off between the needs of driver developers and the broken LEDs and buttons seen by users. Fixes: FS#2098 Signed-off-by: Mathias Kresin <dev@kresin.me> (cherry picked from commit d35f2a5565fc51fb277f72a8565c871ce1785588)
* ath9k: fix unloading the moduleFelix Fietkau2018-09-201-11/+6
| | | | | | | | | Registering a GPIO chip with the ath9k device as parent prevents unload, because the gpiochip core increases the module use count. Unfortunately, the only way to avoid this at the moment seems to be to register the GPIO chip without a parent device Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: drop obsolete patchMathias Kresin2017-04-081-1/+1
| | | | | | | Now that the wireless LEDs are added via platform leds this patch isn't required any longer. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath9k: ignore led_pin if ath9k GPIO controller is used with DTMathias Kresin2017-04-081-4/+6
| | | | | | | | Don't setup the default led pin if the ath9k GPIO controller is used via device tree to prevent collision. In case any of the pins exposed by the ath9k is used, the phyNtpt trigger needs to be set in userspace. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath9k: enable GPIO chip only if requested via DTMathias Kresin2017-04-081-7/+18
| | | | | | | | In case that the atheros device tree binding is used, enable access to the GPIO chip only if the gpio-controller device tree parameter is used for the ath9k node. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath9k: unset the default LED pin if used by platform ledsMathias Kresin2017-04-081-6/+6
| | | | | | | | | Unset the default LED gpio pin if the same gpio pin is used by a LED defined via platform LED. This prevents that the default led trigger gets assigned to this LED and the GPIO value gets changed on wifi up/down in case the led is not used for signaling the wifi state. Signed-off-by: Mathias Kresin <dev@kresin.me>
* mac80211: fix ath9k kernel crash with linux 4.9Felix Fietkau2017-02-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: remove the deaf rx path state check patchFelix Fietkau2017-01-311-1/+1
| | | | | | | This needs to be refined and reworked before we can safely leave it enabled by default Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: add stability fixes for long standing hang issues (FS#13, #34, #373, ↵Felix Fietkau2017-01-251-1/+1
| | | | | | | | | | | | | #383) The radio would stop communicating completely. This issue was easiest to trigger on AR913x devices, e.g. the TP-Link TL-WR1043ND, but other hardware was occasionally affected as well. The most critical issue was a race condition in disabling/enabling IRQs between the IRQ handler and the IRQ processing tasklet Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Add back the commit "ath9k: Add airtime fairness scheduler"Felix Fietkau2017-01-241-2/+2
| | | | | | | | | This reverts commit c296ba834db4ce8c71e0ad7030aab188fe60b27b. According to several reports, the issues with the airtime fairness changes are gone in current versions. It's time to re-apply the patch now. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "ath9k: Add airtime fairness scheduler"Felix Fietkau2017-01-041-2/+2
| | | | | | | | This reverts commit 528f46d0826afa01877ccc7670f2120a7a3b3ea8. After this commit, several users reported stability issues. Revert it now so it doesn't cause issues for the upcoming release Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: Add airtime fairness schedulerToke Høiland-Jørgensen2016-12-221-2/+2
| | | | | | | | | This adds a patch that introduces airtime fairness scheduling to ath9k, which can significantly improve network efficiency in mixed-rate environments. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "ath9k: Add airtime fairness scheduler"Felix Fietkau2016-12-191-2/+2
| | | | | | Accidentally pushed to the wrong branch This reverts commit 47bc081e76f6b04c0e9db687c8abb78eb437021f.
* ath9k: Add airtime fairness schedulerToke Høiland-Jørgensen2016-12-191-2/+2
| | | | | | | | | This adds a patch that introduces airtime fairness scheduling to ath9k, which can significantly improve network efficiency in mixed-rate environments. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: switch to using mac80211 intermediate software queuesFelix Fietkau2016-08-171-2/+2
| | | | | | | Provides a nice latency reduction under load, due to mac80211's fq_codel support. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: switch to using mac80211 intermediate software queuesFelix Fietkau2016-07-191-2/+2
| | | | | | | Provides a nice latency reduction under load, due to mac80211's fq_codel support. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: explicitly clear gpio chip ownerFelix Fietkau2016-07-111-5/+6
| | | | | | The core can set it based on the parent device on register Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: remove gpio chip owner field to fix module unloadingFelix Fietkau2016-07-111-6/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "ath9k: switch to using mac80211 intermediate software queues"Felix Fietkau2016-07-111-2/+2
| | | | | | | | This reverts commit 31e5ed4152c4aa826641b2db6b4245a03dd553b5. I've noticed some weird powersave related issues with this commit. Revert until they've been fixed. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: switch to using mac80211 intermediate software queuesFelix Fietkau2016-07-111-2/+2
| | | | | | | Provides a nice latency reduction under load, due to mac80211's fq_codel support. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: add beacon related stability fixesFelix Fietkau2016-07-051-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: mac80211: set the parent of the ath9k gpio_chipMartin Blumenstingl2016-07-021-5/+10
| | | | | | | | | | | | | | | | 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-021-17/+7
| | | | | | | | | 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-021-6/+8
| | | | | | | | 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>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to wireless-testing 2016-05-12Felix Fietkau2016-05-151-16/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: rework gpio chip/button support to build on platforms without ↵Felix Fietkau2016-03-071-0/+235
CONFIG_GPIOLIB Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48938