]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
wifi-scripts: ucode: add missing fields for station/vlan schema 22617/head
authorRany Hany <rany_hany@riseup.net>
Mon, 20 Apr 2026 09:47:26 +0000 (12:47 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 26 Apr 2026 12:12:20 +0000 (14:12 +0200)
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>
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json
package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-vlan.json

index b594da8b4ad514f7c843998f53117b8e3b3ba05c..2cf08f2104aa8251c4642f3cf8f2f423935751b5 100644 (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",
index a06c8dabf0b78a7746735881d7312121219f333e..988a254cec88590aeb93e3abb43e540f4b45b76f 100644 (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"