[PATCH] ath79: migrate Archer C5 5GHz radio device paths

git at aiyionpri.me git at aiyionpri.me
Mon Mar 28 09:07:59 PDT 2022


From: Jan-Niklas Burfeind <git at aiyionpri.me>

When upgrading a TP-Link Archer C5 v1 from ar71xx to ath79,
the 5ghz radio stops working because the device path changed.

Same has been done for the Archer C7 before:

commit e19506f20618 ("ath79: migrate Archer C7 5GHz radio device paths")

Signed-off-by: Jan-Niklas Burfeind <git at aiyionpri.me>
---
The Archer C5's hardware is rather similar to the Archer C7 rev2;
a backport of this patch lies in the gluon repo:

I was not sure where to send that to.

oftc-user torv confirmed, he needed to drop his configuration when he
migrated to recent major versions from ar71xx.

Thanks
Jan-Niklas


 .../ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration
index 35e7c4452c..f7393a0d03 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration
+++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration
@@ -14,6 +14,7 @@ migrate_wifi_path() {
 			board=$(board_name)
 
 			case "$board" in
+				tplink,archer-c5-v1|\
 				tplink,archer-c7-v1|\
 				tplink,archer-c7-v2|\
 				zyxel,emg2926-q10a|\
-- 
2.35.1




More information about the openwrt-devel mailing list