openwrt/package
Rany Hany e4d5e76af0
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
wifi-scripts: update phys after rename_phy_by_name call
This fixes a failed bring up of the radio on bootup
if the model defines a rename of phy in its /etc/board.json.
This specifically impacts Redmi AX6S and any router that does so
in its /etc/board.json. The fix fortunately is simple, just update
phy name in phys after rename.

The entry that specifically causes this issue is the following:

{
	<omitted>
	"wlan": {
		"wl0": {
			"path": "platform/18000000.wmac",
			"info": {
				"antenna_rx": 15,
				"antenna_tx": 15,
				"bands": {
					"2G": {
						"ht": true,
						"max_width": 40,
						"modes": [
							"NOHT",
							"HT20",
							"HT40"
						],
						"default_channel": 1
					}
				},
				"radios": [
				]
			}
		},
	...
}

The issue is that after rename, referenced phy in config is going to be
wl0 but in phys array it is still phy0; and so it fails to find phy
and does not bring up radio.

Fixes: https://github.com/openwrt/openwrt/issues/20250
Fixes: https://github.com/openwrt/openwrt/issues/20339
Signed-off-by: Rany Hany <rany_hany@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/21175
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-12-16 20:22:51 +01:00
..
base-files image: add CONFIG_EXTRA_IMAGE_NAME 2025-12-12 22:06:06 +00:00
boot sunxi: image: sync target profiles names with DT compatible 2025-12-16 01:44:34 +01:00
devel kselftests-bpf: drop dependency on kernel 6.6 2025-11-27 12:47:16 +01:00
firmware ipq-wifi: add entry for Netgear RBK40 2025-12-16 10:29:33 +01:00
kernel kernel: add network teaming modules 2025-12-10 23:54:39 +01:00
libs libcap: Revert "libcap: update to 2.77" 2025-12-16 01:24:47 +01:00
network wifi-scripts: update phys after rename_phy_by_name call 2025-12-16 20:22:51 +01:00
system apk: bump to 3.0.2 2025-12-12 13:59:39 +01:00
utils ucode: update to Git HEAD (2025-12-01) 2025-12-10 23:38:08 +01:00
Makefile package: do not sign individual APK packages 2025-10-09 12:52:43 +02:00