[openwrt/openwrt] wifi-scripts: add missing 'network' property to wifi-iface schema
LEDE Commits
lede-commits at lists.infradead.org
Thu May 29 14:48:20 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b90feed6ba7d8437d84fd117ce1a58f00d83806f
commit b90feed6ba7d8437d84fd117ce1a58f00d83806f
Author: Sean Khan <datapronix at protonmail.com>
AuthorDate: Wed May 28 04:48:14 2025 -0400
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 at protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/18946
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
.../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 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"
More information about the lede-commits
mailing list