openwrt/package
Edward Chow 975b02a5bb 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
(cherry picked from commit a1f5273)
Link: https://github.com/openwrt/openwrt/pull/22508
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-20 13:32:05 +01:00
..
base-files OpenWrt v25.12.1: revert to branch defaults 2026-03-17 23:31:00 +01:00
boot uboot-envtools: fix meraki mx60 definition 2026-03-19 10:40:13 +01:00
devel gdb: add CPPFLAGS 2026-02-17 22:30:19 +01:00
firmware wireless-regdb: update to version 2026.02.04 2026-02-24 20:25:42 +01:00
kernel mac80211: ath9k: patch hw.c for gpio mask from dt 2026-03-20 13:32:05 +01:00
libs libubox: set abi version to previous bump for stable release 2026-03-15 19:35:03 +01:00
network wifi-scripts: ucode: use correct antenna count for SU beamformee 2026-03-20 11:10:10 +01:00
system procd: update to git HEAD 2026-03-13 23:17:30 +00:00
utils jsonfilter: update to Git HEAD (2026-03-16) 2026-03-16 00:52:52 +01:00
Makefile build: use STAGING_DIR for special APK package versions 2026-03-07 10:12:44 +01:00