summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRany Hany2026-04-20 09:47:26 +0000
committerHauke Mehrtens2026-04-29 23:48:36 +0000
commite840fbfdf9d90af03338f6278a66e235703b9a0e (patch)
treefd0028030f83f391cf61a90362fe578e3a5c18b4
parent8bb268a116d58e17a2a93a406c5469e47fa1aec1 (diff)
downloadopenwrt-e840fbfdf9d90af03338f6278a66e235703b9a0e.tar.gz
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> (cherry picked from commit 5968b584bab92ef5ac8384e27e5bdd08e6e66924)
-rw-r--r--package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json7
-rw-r--r--package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-vlan.json37
2 files changed, 44 insertions, 0 deletions
diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json
index b594da8b4a..2cf08f2104 100644
--- a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json
+++ b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json
@@ -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",
diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-vlan.json b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-vlan.json
index a06c8dabf0..988a254cec 100644
--- a/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-vlan.json
+++ b/package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-vlan.json
@@ -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"