Skip to content

Commit 5968b58

Browse files
rany2hauke
authored andcommitted
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: openwrt/openwrt#22165 Signed-off-by: Rany Hany <rany_hany@riseup.net> Link: openwrt/openwrt#22617 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
1 parent 7255109 commit 5968b58

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-station.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"description": "OpenWrt WiFi Station Schema",
55
"type": "object",
66
"properties": {
7+
"iface": {
8+
"description": "List of interfaces this station is associated with",
9+
"type": "array",
10+
"items": {
11+
"type": "string"
12+
}
13+
},
714
"mac": {
815
"description": "The station's MAC addresses",
916
"type": "array",

package/network/config/wifi-scripts/files-ucode/usr/share/schema/wireless.wifi-vlan.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,47 @@
44
"description": "OpenWrt WiFi VLAN Schema",
55
"type": "object",
66
"properties": {
7+
"bridge_isolate": {
8+
"description": "Enable bridge port isolation for the wireless interface",
9+
"type": "boolean"
10+
},
11+
"iface": {
12+
"description": "List of interfaces this VLAN is associated with",
13+
"type": "array",
14+
"items": {
15+
"type": "string"
16+
}
17+
},
18+
"isolate": {
19+
"description": "Isolates wireless clients from each other",
20+
"type": "boolean"
21+
},
22+
"multicast_to_unicast": {
23+
"description": "Request that the AP will do multicast-to-unicast conversion for ARP, IPv4, and IPv6 frames",
24+
"type": "boolean"
25+
},
726
"name": {
827
"description": "VLAN name",
928
"type": "string"
1029
},
30+
"network": {
31+
"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.",
32+
"type": "array",
33+
"items": {
34+
"type": "string"
35+
}
36+
},
37+
"network_vlan": {
38+
"description": "Make a wireless interface a tagged member of extra VLANs",
39+
"type": "array",
40+
"items": {
41+
"type": "string"
42+
}
43+
},
44+
"proxy_arp": {
45+
"description": "Proxy ARP",
46+
"type": "boolean"
47+
},
1148
"vid": {
1249
"description": "VLAN ID",
1350
"type": "string"

0 commit comments

Comments
 (0)