From b90feed6ba7d8437d84fd117ce1a58f00d83806f Mon Sep 17 00:00:00 2001 From: Sean Khan Date: Wed, 28 May 2025 04:48:14 -0400 Subject: [PATCH] wifi-scripts: add missing 'network' property to wifi-iface schema The ucode-based wifi interface validation is based on `hostapd.conf` specific options, which means it's missing the OpenWrt-specific 'network' property. This causes schema validation warnings like: ``` daemon.notice netifd: radio1 (1340): wifi-scripts: network is not present in the schema ``` The description is taken from the OpenWrt wiki: https://openwrt.org/docs/guide-user/network/wifi/basic#common_options1 Signed-off-by: Sean Khan Link: https://github.com/openwrt/openwrt/pull/18946 Signed-off-by: Robert Marko --- .../files-ucode/usr/share/schema/wireless.wifi-iface.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json index 3964098b571..58b665fc743 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json @@ -724,6 +724,13 @@ "type": "alias", "default": "nas_identifier" }, + "network": { + "description": "Specifies one or multiple logical network interfaces declared in the network configuration, each one should be a L3 bridge to be able to attach this L2 wireless interface.", + "type": "array", + "items": { + "type": "string" + } + }, "network_auth_type": { "description": "Network Authentication Type", "type": "string" -- 2.47.2