mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 01:46:11 +02:00
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:
parent
7255109cad
commit
5968b584ba
@ -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",
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user