1
0
Fork 0
forked from mirror/openwrt
openwrt/package/kernel/mac80211
Edward Chow a1f5273d27 mac80211: ath9k: patch hw.c for gpio mask from dt
"qca,gpio-mask" used to be read between ath9k_hw_init() and
ath9k_init_queues(). After 12913c3c56
it is read in ath9k_of_init(), but it gets overwritten by
ath9k_gpio_cap_init() during the call of ath9k_hw_init(), and causes
https://github.com/openwrt/openwrt/issues/22340

If keeping the most of 12913c3c56,
ath9k_gpio_cap_init() could be patched to keep the existing non-zero
gpio mask (coming from device tree).

Tested on Netgear WNDR4500 v3:
[   22.558083] ath9k 0000:00:00.0: enabling device (0000 -> 0002)
[   22.569548] ath: phy1: Use overridden gpio mask 0xf6ff

Signed-off-by: Edward Chow <equu@openmail.cc>
Link: https://github.com/openwrt/openwrt/pull/22376
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-19 22:10:03 +01:00
..
patches mac80211: ath9k: patch hw.c for gpio mask from dt 2026-03-19 22:10:03 +01:00
scripts mac80211: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ath.mk mac80211: ath12k: backport thermal sensor support 2026-03-13 19:52:59 +01:00
broadcom.mk mac80211: broadcom: fix Makefile syntax error 2026-03-15 10:56:13 +01:00
intel.mk mac80211: iwlwifi: Add DRIVER_11BE_SUPPORT 2025-09-04 12:09:35 +02:00
Makefile mac80211: update to version 6.18.7 2026-01-27 23:24:02 +01:00
marvell.mk treewide: remove DRIVER_11N_SUPPORT 2022-12-13 10:54:50 +01:00
ralink.mk mac80211: ralink: remove rt2x00soc.ko 2025-12-08 18:47:45 +01:00
realtek.mk mac80211: realtek: rtw88: add RTL8822CS support 2025-10-16 21:39:16 +02:00