summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Khan2025-05-28 08:48:14 +0000
committerRobert Marko2025-05-29 21:48:16 +0000
commitb90feed6ba7d8437d84fd117ce1a58f00d83806f (patch)
treeb29c956d6e1e1f9cd7cb0ac0b3d9dde23e47d491
parent7d064eef52ceec23535a45c6e06dff94b067ca05 (diff)
downloadopenwrt-b90feed6ba7d8437d84fd117ce1a58f00d83806f.tar.gz
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 <datapronix@protonmail.com> Link: https://github.com/openwrt/openwrt/pull/18946 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json7
1 files changed, 7 insertions, 0 deletions
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 3964098b57..58b665fc74 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"