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>
This commit is contained in:
Sean Khan 2025-05-28 04:48:14 -04:00 committed by Robert Marko
parent 7d064eef52
commit b90feed6ba

View file

@ -724,6 +724,13 @@
"type": "alias", "type": "alias",
"default": "nas_identifier" "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": { "network_auth_type": {
"description": "Network Authentication Type", "description": "Network Authentication Type",
"type": "string" "type": "string"