[openwrt/openwrt] qualcommax: migrate wifi configuration (ath10k) device paths for 6.12 kernel
LEDE Commits
lede-commits at lists.infradead.org
Wed Aug 27 00:50:05 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/21059cb83b202104bdc19a37c5de02cd2cc555e3
commit 21059cb83b202104bdc19a37c5de02cd2cc555e3
Author: Agustin Lorenzo <agustin.lorenzo at thinco.es>
AuthorDate: Sun Jul 20 23:51:50 2025 +0200
qualcommax: migrate wifi configuration (ath10k) device paths for 6.12 kernel
The device tree PCIe host node name has been changed in the new
6.12 kernel[1]. Hence we have to update the wifi device path to
make sure it can work properly.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=07299ba2e7d98045e6b522f7c5b97f402b15bc82
Signed-off-by: Agustin Lorenzo <agustin.lorenzo at thinco.es>
Signed-off-by: Sean Khan <datapronix at protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/19479
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
.../ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate b/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate
index 9e8879905a..c08e10bf07 100644
--- a/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate
+++ b/target/linux/qualcommax/ipq807x/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate
@@ -29,11 +29,14 @@ check_path()
config_get path "$config" path
to=${path/soc\//soc at 0\/}
+ to=${to/pci\//pcie\/}
# Checks if kernel version is less than 6.6.0, if it is and the path is using the new format,
# then path should be migrated to the old format. This would allow users on platforms with two partitions,
# to test 6.1 and 6.6.
- [ "$(get_linux_version)" -lt "606000" ] && to=${path/soc at 0\//soc\/}
+ [ "$(get_linux_version)" -lt "606000" ] && to=${to/soc at 0\//soc\/}
+
+ [ "$(get_linux_version)" -lt "612000" ] && to=${to/pcie\//pci\/}
[ "$path" = "$to" ] || do_migrate_radio "$config" "$path" "$to"
}
More information about the lede-commits
mailing list