wifi-scripts: ucode: add missing fields for station/vlan schema

This adds the missing 'iface' field for both station and VLAN.
On VLAN, we add all network_config_attr to the schema as well
per wireless.uc.

Fixes: https://github.com/openwrt/openwrt/issues/22165
Signed-off-by: Rany Hany <rany_hany@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/22617
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Rany Hany 2026-04-20 12:47:26 +03:00 committed by Hauke Mehrtens
parent 7255109cad
commit 5968b584ba
2 changed files with 44 additions and 0 deletions

View File

@ -4,6 +4,13 @@
"description": "OpenWrt WiFi Station Schema",
"type": "object",
"properties": {
"iface": {
"description": "List of interfaces this station is associated with",
"type": "array",
"items": {
"type": "string"
}
},
"mac": {
"description": "The station's MAC addresses",
"type": "array",

View File

@ -4,10 +4,47 @@
"description": "OpenWrt WiFi VLAN Schema",
"type": "object",
"properties": {
"bridge_isolate": {
"description": "Enable bridge port isolation for the wireless interface",
"type": "boolean"
},
"iface": {
"description": "List of interfaces this VLAN is associated with",
"type": "array",
"items": {
"type": "string"
}
},
"isolate": {
"description": "Isolates wireless clients from each other",
"type": "boolean"
},
"multicast_to_unicast": {
"description": "Request that the AP will do multicast-to-unicast conversion for ARP, IPv4, and IPv6 frames",
"type": "boolean"
},
"name": {
"description": "VLAN name",
"type": "string"
},
"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_vlan": {
"description": "Make a wireless interface a tagged member of extra VLANs",
"type": "array",
"items": {
"type": "string"
}
},
"proxy_arp": {
"description": "Proxy ARP",
"type": "boolean"
},
"vid": {
"description": "VLAN ID",
"type": "string"