]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
wifi-scripts: add missing 'network' property to wifi-iface schema 18946/head
authorSean Khan <datapronix@protonmail.com>
Wed, 28 May 2025 08:48:14 +0000 (04:48 -0400)
committerRobert Marko <robimarko@gmail.com>
Thu, 29 May 2025 21:48:16 +0000 (23:48 +0200)
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>
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-iface.json

index 3964098b5712dd771f3f5744c2c91f7049e724d5..58b665fc7431801b5f581906b35757996f7b96cf 100644 (file)
                        "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"