Skip to content
Snippets Groups Projects
Commit a509bcfc authored by Jakob Olsson's avatar Jakob Olsson
Browse files

update uci.wireless.json

parent 82b5787f
No related branches found
No related tags found
No related merge requests found
{ {
"definitions": { "definitions": {
"channel_2_t": { "channel_2_t": {
"description": "Specifies the wireless channel to use. “auto” defaults to the lowest available channel.", "description": "Specifies the wireless channel to use. 'auto' defaults to the lowest available channel.",
"title": "2.4GHz Channel", "title": "2.4GHz Channel",
"type": "integer", "type": "integer",
"default": "auto", "default": "auto",
"minimum": 1, "minimum": 1,
"maximum": 14 "maximum": 14
}, },
"channel_5_t": { "channel_5_t": {
"description": "Specifies the wireless channel to use. “auto” defaults to the lowest available channel.", "description": "Specifies the wireless channel to use. 'auto' defaults to the lowest available channel.",
"title": "5GHz Channel", "title": "5GHz Channel",
"type": "integer", "type": "integer",
"default": "auto", "default": "auto",
"minimum": 32, "minimum": 32,
"maximum": 200 "maximum": 200
}, },
"channels_2_t": { "channels_2_t": {
"description": "Use specific channels, when channel is in “auto” mode. This option allows hostapd to select one of the provided channels when a channel should be automatically selected. Channels can be provided as range using hyphen ('-') or individual channels can be specified by space (' ') separated values.", "description": "Use specific channels, when channel is in 'auto' mode. This option allows hostapd to select one of the provided channels when a channel should be automatically selected. Channels can be provided as range using hyphen ('-') or individual channels can be specified by space (' ') separated values.",
"title": "2.4GHz Channels", "title": "2.4GHz Channels",
"type": "array", "type": "array",
"items": { "$ref": "#/definitions/channel_2_t"} "items": {
}, "$ref": "#/definitions/channel_2_t"
"channels_5_t": { }
"description": "Use specific channels, when channel is in “auto” mode. This option allows hostapd to select one of the provided channels when a channel should be automatically selected. Channels can be provided as range using hyphen ('-') or individual channels can be specified by space (' ') separated values.", },
"title": "5GHz Channels", "channels_5_t": {
"type": "array", "description": "Use specific channels, when channel is in 'auto' mode. This option allows hostapd to select one of the provided channels when a channel should be automatically selected. Channels can be provided as range using hyphen ('-') or individual channels can be specified by space (' ') separated values.",
"items": { "$ref": "#/definitions/channel_5_t"} "title": "5GHz Channels",
}, "type": "array",
"macaddr_t": { "items": {
"description": "Specifies the radio adapter associated to this section, it is not used to change the device mac but to identify the underlying interface.", "$ref": "#/definitions/channel_5_t"
"title": "MAC Address", }
"type": "string", },
"minLength": 17, "macaddr_t": {
"maxLength": 17, "description": "Specifies the radio adapter associated to this section, it is not used to change the device mac but to identify the underlying interface.",
"pattern":"^([0-9a-fA-F][0-9a-fA-F]:){5}[0-9a-fA-F][0-9a-fA-F]$" "title": "MAC Address",
}, "type": "string",
"nasid_t": { "minLength": 17,
"title": "MAC Address", "maxLength": 17,
"type": "string", "pattern": "^([0-9a-fA-F][0-9a-fA-F]:){5}[0-9a-fA-F][0-9a-fA-F]$"
"minLength": 1, },
"maxLength": 48, "nasid_t": {
"pattern":"^([0-9a-fA-F]){1,48}$" "title": "MAC Address",
}, "type": "string",
"iface_t": { "minLength": 1,
"title": "Interface", "maxLength": 48,
"type": "string", "pattern": "^([0-9a-fA-F]){1,48}$"
"minLength": 1, },
"maxLength": 16 "iface_t": {
}, "title": "Interface",
"ssid_t": { "type": "string",
"title": "SSID", "minLength": 1,
"type": "string", "maxLength": 16
"minLength": 0, },
"maxLength": 32 "ssid_t": {
}, "title": "SSID",
"nstations_t": { "type": "string",
"title": "Number of stations", "minLength": 0,
"type": "integer", "maxLength": 32
"minimum": 0, },
"maximum": 2007 "nstations_t": {
}, "title": "Number of stations",
"bandwidth_2_t": { "type": "integer",
"title": "Bandwidth", "minimum": 0,
"type": "integer", "maximum": 2007
"enum": [ },
20, "bandwidth_2_t": {
40 "title": "Bandwidth",
] "type": "integer",
}, "enum": [
"bandwidth_5_t": { 20,
"title": "Bandwidth", 40
"type": "integer", ]
"enum": [ },
20, "bandwidth_5_t": {
40, "title": "Bandwidth",
80, "type": "integer",
160 "enum": [
] 20,
}, 40,
"port_t": { 80,
"type": "integer", 160
"minimum": 1, ]
"maximum": 65535 },
}, "port_t": {
"server_t": { "type": "integer",
"type": "string", "minimum": 1,
"oneOf": [ "maximum": 65535
{ "format": "ipv4" }, },
{ "format": "ipv6" } "server_t": {
] "type": "string",
} "oneOf": [
}, {
"$schema": "http://json-schema.org/draft-07/schema#", "format": "ipv4"
"$id": "https://www.iopsys.eu/dataelements", },
"properties": { {
"wifi-status": { "format": "ipv6"
"type":"object", }
"properties": { ]
"wlan": { "type": "boolean" }, }
"wps": { "type": "boolean" }, },
"sched_status": { "$schema": "http://json-schema.org/draft-07/schema#",
"type": "boolean", "$id": "https://www.iopsys.eu/dataelements",
"default": 0 "properties": {
}, "wifi-status": {
"schedule": { "type": "integer" } "type": "object",
} "properties": {
}, "wlan": {
"bandsteering": { "type": "boolean"
"type":"object", },
"properties": { "wps": {
"enabled": { "type": "boolean" }, "type": "boolean"
"policy": { "type": "integer" } },
} "sched_status": {
}, "type": "boolean",
"apsteerings": { "default": 0
"type": "object", },
"properties": { "schedule": {
"enabeld": { "type": "boolean" } "type": "integer"
} }
}, }
"wifi-device": { },
"type":"object", "bandsteering": {
"required": [ "type": "object",
"type", "properties": {
"channel" "enabled": {
], "type": "boolean"
"allOf": [ },
{ "policy": {
"if": { "type": "integer"
"properties": { }
"band": { }
"const": "b" },
} "apsteerings": {
} "type": "object",
}, "properties": {
"then": { "enabeld": {
"properties": { "type": "boolean"
"channel": { }
"oneOf": [ }
{ },
"type": "string", "wifi-device": {
"const": "auto" "type": "object",
}, "required": [
{ "$ref": "#/definitions/channels_2_t" } "type",
] "channel"
}, ],
"bandwidth": { "$ref": "#/definitions/bandwidth_2_t"}, "allOf": [
"channels": { "$ref": "#/definitions/channels_2_t" } {
} "if": {
}, "properties": {
"else": { "band": {
"properties": { "const": "b"
"channel": { }
"oneOf": [ }
{ },
"type": "string", "then": {
"const": "auto" "properties": {
}, "channel": {
{ "$ref": "#/definitions/channels_5_t" } "oneOf": [
] {
}, "type": "string",
"bandwidth": { "$ref": "#/definitions/bandwidth_5_t"}, "const": "auto"
"channels": { "$ref": "#/definitions/channels_5_t" } },
} {
} "$ref": "#/definitions/channels_2_t"
}, }
{ ]
"if": { },
"properties": { "bandwidth": {
"country": { "$ref": "#/definitions/bandwidth_2_t"
"type": "string", },
"minLength": 2, "channels": {
"maxLength": 3 "$ref": "#/definitions/channels_2_t"
} }
} }
}, },
"then": { "else": {
"properties": { "properties": {
"country_ie": { "channel": {
"description": "Enables IEEE 802.11d country IE (information element) advertisement in beacon and probe response frames. This IE contains the country code and channel/power map. Requires country.", "oneOf": [
"type": "integer", {
"const": 1 "type": "string",
} "const": "auto"
} },
}, {
"else": { "$ref": "#/definitions/channels_5_t"
"properties": { }
"country_ie": { ]
"description": "Enables IEEE 802.11d country IE (information element) advertisement in beacon and probe response frames. This IE contains the country code and channel/power map. Requires country.", },
"type": "integer", "bandwidth": {
"const": 0 "$ref": "#/definitions/bandwidth_5_t"
} },
} "channels": {
} "$ref": "#/definitions/channels_5_t"
} }
], }
"properties": { }
"type": { },
"description": "The type is determined on firstboot during the initial radio device detection - it is usually not required to change it. Used values are broadcom on brcm47xx, or mac80211 for all other platforms", {
"type": "string" "if": {
}, "properties": {
"phy": { "country": {
"desription": "Specifies the radio phy associated to this section. If present, it is usually autodetected and should not be changed.", "type": "string",
"type": "string" "minLength": 2,
}, "maxLength": 3
"macaddr": { }
"$ref": "#/definitions/macaddr_t" }
}, },
"disabled": { "then": {
"description": "Disables the radio adapter if set to 1. Removing this option or setting it to 0 will enable the adapter", "properties": {
"type": "boolean", "country_ie": {
"default": false "description": "Enables IEEE 802.11d country IE (information element) advertisement in beacon and probe response frames. This IE contains the country code and channel/power map. Requires country.",
}, "type": "integer",
"hwmode": { "const": 1
"description": "Selects the wireless protocol to use, possible values are 11b, 11g, and 11a. Note that 11ng and 11na are not available options, see ticket 17541.", }
"type": "string", }
"enum": [ },
"auto", "else": {
"11b", "properties": {
"11g", "country_ie": {
"11a" "description": "Enables IEEE 802.11d country IE (information element) advertisement in beacon and probe response frames. This IE contains the country code and channel/power map. Requires country.",
] "type": "integer",
}, "const": 0
"htmode": { }
"description": "Specifies the channel width in 802.11n and 802.11ac mode, possible values are: HT20, HT40-, HT40+, HT40, or VHT20, VHT40, VHT80, VHT160, NOHT disables 11n", }
"type": "string", }
"enum": [ }
"HT20", ],
"HT40", "properties": {
"HT40-", "type": {
"HT40+", "description": "The type is determined on firstboot during the initial radio device detection - it is usually not required to change it. Used values are broadcom on brcm47xx, or mac80211 for all other platforms",
"VHT20", "type": "string"
"VHT40", },
"VHT80", "phy": {
"VHT160", "desription": "Specifies the radio phy associated to this section. If present, it is usually autodetected and should not be changed.",
"NOHT" "type": "string"
] },
}, "macaddr": {
"chanbw": { "$ref": "#/definitions/macaddr_t"
"description": "Specifies a narrow channel width in MHz, possible values are: 5, 10, 20", },
"type": "integer", "disabled": {
"default": 20, "description": "Disables the radio adapter if set to 1. Removing this option or setting it to 0 will enable the adapter",
"enum": [5, 10, 20] "type": "boolean",
}, "default": false
"ht_capab": { },
"description": "Specifies the available capabilities of the radio. The values are autodetected.", "hwmode": {
"type": "string" "description": "Selects the wireless protocol to use, possible values are 11b, 11g, and 11a. Note that 11ng and 11na are not available options, see ticket 17541.",
}, "type": "string",
"txpower": { "enum": [
"description": "Specifies the transmission power in dBm", "auto",
"type": "integer", "11b",
"minimum": 0 "11g",
}, "11a"
"diversity": { ]
"description": "Enables or disables the automatic antenna selection by the driver", },
"type": "boolean", "htmode": {
"default": 1 "description": "Specifies the channel width in 802.11n and 802.11ac mode, possible values are: HT20, HT40-, HT40+, HT40, or VHT20, VHT40, VHT80, VHT160, NOHT disables 11n",
}, "type": "string",
"rxantenna": { "enum": [
"description": "Specifies the antenna for receiving, the value may be driver specific, usually it is 1 for the first and 2 for the second antenna. Specifying 0 enables automatic selection by the driver if supported. This option has no effect if diversity is enabled", "HT20",
"type": "integer" "HT40",
}, "HT40-",
"txantenna": { "HT40+",
"description": "Specifies the antenna for transmitting, values are identical to rxantenna", "VHT20",
"type": "integer" "VHT40",
}, "VHT80",
"country": { "VHT160",
"description": "Specifies the country code, affects the available channels and transmission powers. For type broadcom a two letter country code is used (EN or DE). The madwifi driver expects a numeric code.", "NOHT"
"type": "string", ]
"minLength": 2, },
"maxLength": 3 "chanbw": {
}, "description": "Specifies a narrow channel width in MHz, possible values are: 5, 10, 20",
"distance": { "type": "integer",
"description": "Distance between the ap and the furthest client in meters.", "default": 20,
"type": "integer" "enum": [
}, 5,
"beacon_int": { 10,
"description": "Set the beacon interval. This is the time interval between beacon frames, measured in units of 1.024 ms. hostapd permits this to be set between 15 and 65535. This option only has an effect on ap and adhoc wifi-ifaces", 20
"type": "integer", ]
"default": 100, },
"minimum": 15, "ht_capab": {
"maximum": 65535 "description": "Specifies the available capabilities of the radio. The values are autodetected.",
}, "type": "string"
"basic_rate": { },
"description": "Set the supported basic rates. Each basic_rate is measured in kb/s. This option only has an effect on ap and adhoc wifi-ifaces", "txpower": {
"type": "array", "description": "Specifies the transmission power in dBm",
"items": { "type": "integer",
"type": "integer", "minimum": 0
"minimum": 0 },
} "diversity": {
}, "description": "Enables or disables the automatic antenna selection by the driver",
"path": { "type": "boolean",
"description": "Path to phy", "default": 1
"type": "string", },
"pattern": "^\/$|(^(?=\/)|^\\.|^\\.\\.)(\/(?=[^/\\0])[^/\\0]+)*\/?$" "rxantenna": {
}, "description": "Specifies the antenna for receiving, the value may be driver specific, usually it is 1 for the first and 2 for the second antenna. Specifying 0 enables automatic selection by the driver if supported. This option has no effect if diversity is enabled",
"supported_rates": { "type": "integer"
"description": "Set the supported data rates. Each supported rate is measured in kb/s. This option only has an effect on ap and adhoc wifi-ifaces. Must be a superset of basic_rate. Basic_rate should be the lowest data rates.", },
"type": "array", "txantenna": {
"items": { "description": "Specifies the antenna for transmitting, values are identical to rxantenna",
"type": "integer", "type": "integer"
"minimum": 0 },
} "country": {
}, "description": "Specifies the country code, affects the available channels and transmission powers. For type broadcom a two letter country code is used (EN or DE). The madwifi driver expects a numeric code.",
"require_mode": { "type": "string",
"description": "(AP mode) Set the minimum mode that connecting clients need to support to be allowed to connect. Supported values: g = 802.11g, n = 802.11n, ac = 802.11ac", "minLength": 2,
"type": "string", "maxLength": 3
"enum": [ "g", "n", "ac" ] },
}, "distance": {
"log_level": { "description": "Distance between the ap and the furthest client in meters.",
"description": "Set the log_level. Supported levels are: 0 = verbose debugging, 1 = debugging, 2 = informational messages, 3 = notification, 4 = warning", "type": "integer"
"type": "integer", },
"default": 2, "beacon_int": {
"minimum": 0, "description": "Set the beacon interval. This is the time interval between beacon frames, measured in units of 1.024 ms. hostapd permits this to be set between 15 and 65535. This option only has an effect on ap and adhoc wifi-ifaces",
"maximum": 4 "type": "integer",
}, "default": 100,
"legacy_rates": { "minimum": 15,
"description": "0 disables 802.11b data rates, 1 enables 802.11b data rates", "maximum": 65535
"type": "boolean", },
"defaul": true "basic_rate": {
}, "description": "Set the supported basic rates. Each basic_rate is measured in kb/s. This option only has an effect on ap and adhoc wifi-ifaces",
"band": { "type": "array",
"description": "2.4GHz and 5GHz bands a = 5, b = 2.4", "items": {
"type": "string", "type": "integer",
"enum": [ "minimum": 0
"a", }
"b" },
] "path": {
} "description": "Path to phy",
} "type": "string",
}, "pattern": "^/$|(^(?=/)|^\\.|^\\.\\.)(/(?=[^/\\0])[^/\\0]+)*/?$"
"wifi-iface": { },
"type":"object", "supported_rates": {
"required": [ "description": "Set the supported data rates. Each supported rate is measured in kb/s. This option only has an effect on ap and adhoc wifi-ifaces. Must be a superset of basic_rate. Basic_rate should be the lowest data rates.",
"device", "type": "array",
"network", "items": {
"mode", "type": "integer",
"ssid" "minimum": 0
], }
"allOf": [ },
{ "require_mode": {
"if": { "description": "(AP mode) Set the minimum mode that connecting clients need to support to be allowed to connect. Supported values: g = 802.11g, n = 802.11n, ac = 802.11ac",
"properties": { "type": "string",
"encryption": { "enum": [
"pattern": "^wep.+$" "g",
} "n",
} "ac"
}, ]
"then": { },
"properties": { "log_level": {
"key": { "description": "Set the log_level. Supported levels are: 0 = verbose debugging, 1 = debugging, 2 = informational messages, 3 = notification, 4 = warning",
"description": "In any WPA-PSK mode, this is a string that specifies the pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long. If a 64-character hexadecimal string is supplied, it will be used directly as the pre-shared key instead. In WEP mode, this can be an integer specifying which key index to use (key1, key2, key3, or key4.) Alternatively, it can be a string specifying a passphrase or key directly, as in key1. In any WPA-Enterprise AP mode, this option has a different interpretation.", "type": "integer",
"type": "integer", "default": 2,
"minimum": 1, "minimum": 0,
"maximum": 4 "maximum": 4
}, },
"key1": { "legacy_rates": {
"description": "WEP passphrase or key #1 (selected by the index in key). This string is treated as a passphrase from which the WEP key will be derived. If a 10- or 26-character hexadecimal string is supplied, it will be used directly as the WEP key instead.", "description": "0 disables 802.11b data rates, 1 enables 802.11b data rates",
"type": "string" "type": "boolean",
}, "defaul": true
"key2": { },
"description": "WEP passphrase or key #2 (selected by the index in key), as in key1.", "band": {
"type": "string" "description": "2.4GHz and 5GHz bands a = 5, b = 2.4",
}, "type": "string",
"key3": { "enum": [
"description": "WEP passphrase or key #3 (selected by the index in key), as in key1.", "a",
"type": "string" "b"
}, ]
"key4": { }
"description": "WEP passphrase or key #4 (selected by the index in key), as in key1.", }
"type": "string" },
} "wifi-iface": {
} "type": "object",
}, "required": [
"else": { "device",
"properties": { "network",
"key": { "mode",
"description": "In any WPA-PSK mode, this is a string that specifies the pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long. If a 64-character hexadecimal string is supplied, it will be used directly as the pre-shared key instead. In WEP mode, this can be an integer specifying which key index to use (key1, key2, key3, or key4.) Alternatively, it can be a string specifying a passphrase or key directly, as in key1. In any WPA-Enterprise AP mode, this option has a different interpretation.", "ssid"
"type": "string", ],
"minLength": 8, "allOf": [
"maxLength": 64 {
} "if": {
} "properties": {
} "encryption": {
} "pattern": "^wep.+$"
], }
"properties": { }
"ifname": { },
"description": "Specifies a custom name for the Wi-Fi interface, which is otherwise automatically named.", "then": {
"$ref": "#/definitions/iface_t" "properties": {
}, "key": {
"device": { "description": "In any WPA-PSK mode, this is a string that specifies the pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long. If a 64-character hexadecimal string is supplied, it will be used directly as the pre-shared key instead. In WEP mode, this can be an integer specifying which key index to use (key1, key2, key3, or key4.) Alternatively, it can be a string specifying a passphrase or key directly, as in key1. In any WPA-Enterprise AP mode, this option has a different interpretation.",
"description": "Specifies the used wireless adapter, must refer to one of the defined wifi-device sections", "type": "integer",
"$ref": "#/definitions/iface_t" "minimum": 1,
}, "maximum": 4
"network": { },
"description": "Specifies the network interface to attach the wireless to.", "key1": {
"type": "string", "description": "WEP passphrase or key #1 (selected by the index in key). This string is treated as a passphrase from which the WEP key will be derived. If a 10- or 26-character hexadecimal string is supplied, it will be used directly as the WEP key instead.",
"default": "lan" "type": "string"
}, },
"mode": { "key2": {
"description": "Selects the operation mode of the wireless network interface controller. Possible values are ap, sta, adhoc, wds, monitor, mesh", "description": "WEP passphrase or key #2 (selected by the index in key), as in key1.",
"type": "string", "type": "string"
"default": "ap", },
"enum": [ "key3": {
"ap", "description": "WEP passphrase or key #3 (selected by the index in key), as in key1.",
"sta", "type": "string"
"adhoc", },
"wds", "key4": {
"monitor", "description": "WEP passphrase or key #4 (selected by the index in key), as in key1.",
"mesh" "type": "string"
] }
}, }
"disabled": { },
"description": "When set to 1, wireless network is disabled.", "else": {
"type": "boolean", "properties": {
"default": false "key": {
}, "description": "In any WPA-PSK mode, this is a string that specifies the pre-shared passphrase from which the pre-shared key will be derived. The clear text key has to be 8-63 characters long. If a 64-character hexadecimal string is supplied, it will be used directly as the pre-shared key instead. In WEP mode, this can be an integer specifying which key index to use (key1, key2, key3, or key4.) Alternatively, it can be a string specifying a passphrase or key directly, as in key1. In any WPA-Enterprise AP mode, this option has a different interpretation.",
"ssid": { "type": "string",
"description": "The broadcasted SSID of the wireless network and for for managed mode the SSID of the network you’re connecting to", "minLength": 8,
"$ref": "#/definitions/ssid_t" "maxLength": 64
}, }
"bssid": { }
"description": "Override the BSSID of the network, only applicable in adhoc or sta mode. In wds mode specifies the BSSID of another AP to create WDS with.", }
"$ref": "#/definitions/macaddr_t" }
}, ],
"mesh_id": { "properties": {
"description": "The Mesh ID as defined in IEEE 802.11s. If set, the wireless interface will join this mesh network when brought up. If not, it is necessary to invoke iw <iface> mesh join <mesh_id> to join a mesh after the interface is brought up.", "ifname": {
"type": "string" "description": "Specifies a custom name for the Wi-Fi interface, which is otherwise automatically named.",
}, "$ref": "#/definitions/iface_t"
"hidden": { },
"description": "Turns off SSID broadcasting if set to 1", "device": {
"type": "boolean", "description": "Specifies the used wireless adapter, must refer to one of the defined wifi-device sections",
"default": false "$ref": "#/definitions/iface_t"
}, },
"isolate": { "network": {
"description": "Isolate wireless clients from each other, only applicable in ap mode.", "description": "Specifies the network interface to attach the wireless to.",
"type": "boolean", "type": "string",
"default": false "default": "lan"
}, },
"doth": { "mode": {
"description": "Enables 802.11h support.", "description": "Selects the operation mode of the wireless network interface controller. Possible values are ap, sta, adhoc, wds, monitor, mesh",
"type": "boolean", "type": "string",
"default": false "default": "ap",
}, "enum": [
"wmm": { "ap",
"description": "Enables WMM (802.11e) support. Required for 802.11n support", "sta",
"type": "boolean", "adhoc",
"default": true "wds",
}, "monitor",
"encryption": { "mesh"
"description": "Wireless encryption method. Possible values are: none, wep, psk, psk2. For WEP station mode the default is “open system” authentication. Use wep+shared or wep+open to force a specific mode.", ]
"type": "string", },
"enum": [ "disabled": {
"none", "description": "When set to 1, wireless network is disabled.",
"wep64-open", "type": "boolean",
"wep64-shared", "default": false
"wep128-open", },
"wep128-shared", "ssid": {
"wpa-personal", "description": "The broadcasted SSID of the wireless network and for for managed mode the SSID of the network you’re connecting to",
"wpa2-personal", "$ref": "#/definitions/ssid_t"
"wpa-wpa2-personal", },
"wpa-enterprise", "bssid": {
"wpa2-enterprise", "description": "Override the BSSID of the network, only applicable in adhoc or sta mode. In wds mode specifies the BSSID of another AP to create WDS with.",
"wpa-wpa2-enterprise" "$ref": "#/definitions/macaddr_t"
] },
}, "mesh_id": {
"macfilter": { "description": "The Mesh ID as defined in IEEE 802.11s. If set, the wireless interface will join this mesh network when brought up. If not, it is necessary to invoke iw <iface> mesh join <mesh_id> to join a mesh after the interface is brought up.",
"description": "Specifies the mac filter policy, disable to disable the filter, allow to treat it as whitelist or deny to treat it as blacklist.", "type": "string"
"type": "string", },
"default": "disable", "hidden": {
"enum": ["enable", "disable"] "description": "Turns off SSID broadcasting if set to 1",
}, "type": "boolean",
"maclist": { "default": false
"description": "List of MAC addresses (divided by spaces) to put into the mac filter.", },
"type": "array", "isolate": {
"items": { "$ref": "#/definitions/macaddr_t"} "description": "Isolate wireless clients from each other, only applicable in ap mode.",
}, "type": "boolean",
"iapp_interface": { "default": false
"description": "Specifies a network interface to be used for 802.11f (IAPP) - only enabled when defined.", },
"$ref": "#/definitions/iface_t" "doth": {
}, "description": "Enables 802.11h support.",
"rsn_preauth": { "type": "boolean",
"description": "Allow preauthentication for WPA2-EAP networks (and advertise it in WLAN beacons). Only works if the specified network interface is a bridge.", "default": false
"type": "boolean", },
"default": false "wmm": {
}, "description": "Enables WMM (802.11e) support. Required for 802.11n support",
"ieee80211w": { "type": "boolean",
"description": "Enables MFP (802.11w) support (0 = disabled, 1 = optional, 2 = required). Requires the 'full' version of wpad/hostapd and support from the Wi-Fi driver", "default": true
"type": "integer", },
"minimum": 0, "encryption": {
"maximum": 2 "description": "Wireless encryption method. Possible values are: none, wep, psk, psk2. For WEP station mode the default is 'open system' authentication. Use wep+shared or wep+open to force a specific mode.",
}, "type": "string",
"ieee80211w_max_timeout": { "enum": [
"description": "Specifies the 802.11w Association SA Query maximum timeout.", "none",
"type": "integer" "wep64-open",
}, "wep64-shared",
"ieee80211w_retry_timeout": { "wep128-open",
"description": "Specifies the 802.11w Association SA Query retry timeout.", "wep128-shared",
"type": "integer" "wpa-personal",
}, "wpa2-personal",
"maxassoc": { "wpa-wpa2-personal",
"description": "Specifies the maximum number of clients to connect.", "wpa-enterprise",
"$ref": "#/definitions/nstations_t" "wpa2-enterprise",
}, "wpa-wpa2-enterprise"
"macaddr": { ]
"description": "Overrides the MAC address used for the Wi-Fi interface. Warning: if the MAC address specified is a multicast address, this override will fail silently. To avoid this problem, ensure that the mac address specified is a valid unicast mac address.", },
"$ref": "#/definitions/macaddr_t" "macfilter": {
}, "description": "Specifies the mac filter policy, disable to disable the filter, allow to treat it as whitelist or deny to treat it as blacklist.",
"dtim_period": { "type": "string",
"description": "Set the DTIM (delivery traffic information message) period. There will be one DTIM per this many beacon frames. This may be set between 1 and 255. This option only has an effect on ap wifi-ifaces.", "default": "disable",
"type": "integer", "enum": [
"default": 2, "enable",
"minimum": 1, "disable"
"maximum": 255 ]
}, },
"short_preamble": { "maclist": {
"description": "Set optional use of short preamble", "description": "List of MAC addresses (divided by spaces) to put into the mac filter.",
"type": "boolean", "type": "array",
"default": true "items": {
}, "$ref": "#/definitions/macaddr_t"
"max_listen_int": { }
"description": "Set the maximum allowed STA (client) listen interval. Association will be refused if a STA attempts to associate with a listen interval greater than this value. This option only has an effect on ap wifi-ifaces.", },
"type": "integer", "iapp_interface": {
"default": 65535 "description": "Specifies a network interface to be used for 802.11f (IAPP) - only enabled when defined.",
}, "$ref": "#/definitions/iface_t"
"mcast_rate": { },
"description": "Sets the fixed multicast rate, measured in kb/s. Only supported in adhoc and mesh modes", "rsn_preauth": {
"type": "integer", "description": "Allow preauthentication for WPA2-EAP networks (and advertise it in WLAN beacons). Only works if the specified network interface is a bridge.",
"minimum": 0 "type": "boolean",
}, "default": false
"wds": { },
"description": "This sets 4-address mode", "ieee80211w": {
"type": "boolean", "description": "Enables MFP (802.11w) support (0 = disabled, 1 = optional, 2 = required). Requires the 'full' version of wpad/hostapd and support from the Wi-Fi driver",
"default": false "type": "integer",
}, "minimum": 0,
"owe_transition_ssid": { "maximum": 2
"description": "Opportunistic Wireless Encryption (OWE) Transition SSID (only for OPEN and OWE networks)", },
"$ref": "#/definitions/ssid_t" "ieee80211w_max_timeout": {
}, "description": "Specifies the 802.11w Association SA Query maximum timeout.",
"owe_transition_bssid": { "type": "integer"
"description": "Opportunistic Wireless Encryption (OWE) Transition BSSID (only for OPEN and OWE networks)", },
"$ref": "#/definitions/macaddr_t" "ieee80211w_retry_timeout": {
}, "description": "Specifies the 802.11w Association SA Query retry timeout.",
"server": { "type": "integer"
"description": "RADIUS server to handle client authentication", },
"$ref": "#/definitions/server_t" "maxassoc": {
}, "description": "Specifies the maximum number of clients to connect.",
"port": { "$ref": "#/definitions/nstations_t"
"$ref": "#/definitions/port_t", },
"description": "RADIUS port", "macaddr": {
"default": 1812 "description": "Overrides the MAC address used for the Wi-Fi interface. Warning: if the MAC address specified is a multicast address, this override will fail silently. To avoid this problem, ensure that the mac address specified is a valid unicast mac address.",
}, "$ref": "#/definitions/macaddr_t"
"key": { },
"description": "Shared RADIUS secret", "dtim_period": {
"type": "string" "description": "Set the DTIM (delivery traffic information message) period. There will be one DTIM per this many beacon frames. This may be set between 1 and 255. This option only has an effect on ap wifi-ifaces.",
}, "type": "integer",
"wpa_group_rekey": { "default": 2,
"description": "WPA Group Cipher rekeying interval in seconds", "minimum": 1,
"default": 600, "maximum": 255
"type": "integer" },
}, "short_preamble": {
"auth_server": { "description": "Set optional use of short preamble",
"description": "RADIUS authentication server to handle client authentication", "type": "boolean",
"$ref": "#/definitions/server_t" "default": true
}, },
"auth_port": { "max_listen_int": {
"$ref": "#/definitions/port_t", "description": "Set the maximum allowed STA (client) listen interval. Association will be refused if a STA attempts to associate with a listen interval greater than this value. This option only has an effect on ap wifi-ifaces.",
"description": "RADIUS authentication port", "type": "integer",
"default": 1812 "default": 65535
}, },
"auth_secret": { "mcast_rate": {
"description": "Shared authentication RADIUS secret", "description": "Sets the fixed multicast rate, measured in kb/s. Only supported in adhoc and mesh modes",
"type": "string" "type": "integer",
}, "minimum": 0
"auth_cache": { },
"description": "Disable or enable PMKSA and Opportunistic Key Caching", "wds": {
"type": "boolean" "description": "This sets 4-address mode",
}, "type": "boolean",
"acct_server": { "default": false
"description": "RADIUS accounting server to handle client authentication", },
"type": "string" "owe_transition_ssid": {
}, "description": "Opportunistic Wireless Encryption (OWE) Transition SSID (only for OPEN and OWE networks)",
"acct_port": { "$ref": "#/definitions/ssid_t"
"$ref": "#/definitions/port_t", },
"description": "RADIUS accounting port", "owe_transition_bssid": {
"default": 1813 "description": "Opportunistic Wireless Encryption (OWE) Transition BSSID (only for OPEN and OWE networks)",
}, "$ref": "#/definitions/macaddr_t"
"acct_secret": { },
"description": "Shared accounting RADIUS secret", "server": {
"type": "string" "description": "RADIUS server to handle client authentication",
}, "$ref": "#/definitions/server_t"
"ownip": { },
"description": "NAS IP Address to use for RADIUS authentication requests", "port": {
"$ref": "#/definitions/server_t" "$ref": "#/definitions/port_t",
}, "description": "RADIUS port",
"wps": { "default": 1812
"description": "Enable wps_pushbutton and wps_label.", },
"type": "boolean", "key": {
"default": true "description": "Shared RADIUS secret",
}, "type": "string"
"wps_config": { },
"description": "List of configuration methods. Currentlly supported methods are: push_button.", "wpa_group_rekey": {
"type": "array", "description": "WPA Group Cipher rekeying interval in seconds",
"items": { "default": 600,
"type": "string", "type": "integer"
"enum": ["wps_pushbutton"] },
} "auth_server": {
}, "description": "RADIUS authentication server to handle client authentication",
"wps_device_name": { "$ref": "#/definitions/server_t"
"description": "User-friendly description of device; up to 32 octets encoded in UTF-8.", },
"type": "string", "auth_port": {
"default": "LEDE AP", "$ref": "#/definitions/port_t",
"pattern": "^([0-9a-fA-F]){1,32}$" "description": "RADIUS authentication port",
}, "default": 1812
"wps_device_type": { },
"description": "Primary device type. Examples: 1-0050F204-1 (Computer / PC), 1-0050F204-2 (Computer / Server), 5-0050F204-1 (Storage / NAS), 6-0050F204-1 (Network Infrastructure / AP)", "auth_secret": {
"type": "string", "description": "Shared authentication RADIUS secret",
"default": "6-0050F204-1", "type": "string"
"minLength": 12, },
"maxLength": 12, "auth_cache": {
"pattern": "^([0-9a-fA-F])-([0-9a-fA-F]){8}-([0-9a-fA-F])$" "description": "Disable or enable PMKSA and Opportunistic Key Caching",
}, "type": "boolean"
"wps_label": { },
"description": "Enable label configuration method.", "acct_server": {
"type": "boolean", "description": "RADIUS accounting server to handle client authentication",
"default": true "type": "string"
}, },
"wps_manufacturer": { "acct_port": {
"description": "The manufacturer of the device (up to 64 ASCII characters).", "$ref": "#/definitions/port_t",
"type": "string", "description": "RADIUS accounting port",
"default": "lede-project.org", "default": 1813
"minLength": 0, },
"maxLength": 64 "acct_secret": {
}, "description": "Shared accounting RADIUS secret",
"wps_pushbutton": { "type": "string"
"description": "Enable push-button configuration method.", },
"type": "boolean", "ownip": {
"default": true "description": "NAS IP Address to use for RADIUS authentication requests",
}, "$ref": "#/definitions/server_t"
"wps_pin": { },
"description": "The PIN to use with WPS-PIN (only in external registrar mode?)", "wps": {
"type": "string" "description": "Enable wps_pushbutton and wps_label.",
}, "type": "boolean",
"ieee80211r": { "default": true
"description": "Enables fast BSS transition (802.11r) support.", },
"type": "boolean", "wps_config": {
"default": false "description": "List of configuration methods. Currentlly supported methods are: push_button.",
}, "type": "array",
"nasid": { "items": {
"description": "PMK-R0 Key Holder identifier (dot11FTR0KeyHolderID). A 1 to 48 octet identifier.", "type": "string",
"$ref": "#/definitions/nasid_t" "enum": [
}, "wps_pushbutton"
"mobility_domain": { ]
"description": "Mobility Domain identifier (dot11FTMobilityDomainID, MDID). MDID is used to indicate a group of APs (within an ESS, i.e., sharing the same SSID) between which a STA can use Fast BSS Transition. 2-octet identifier as a hex string.", }
"type": "string", },
"minLength": 2, "wps_device_name": {
"maxLength": 2, "description": "User-friendly description of device; up to 32 octets encoded in UTF-8.",
"pattern":"^([0-9a-fA-F]){2}$" "type": "string",
}, "default": "LEDE AP",
"r0_key_lifetime": { "pattern": "^([0-9a-fA-F]){1,32}$"
"description": "Default lifetime of the PMK-RO in minutes [1-65535].", },
"type": "integer", "wps_device_type": {
"default": 10000, "description": "Primary device type. Examples: 1-0050F204-1 (Computer / PC), 1-0050F204-2 (Computer / Server), 5-0050F204-1 (Storage / NAS), 6-0050F204-1 (Network Infrastructure / AP)",
"minimum": 1, "type": "string",
"maximum": 65535 "default": "6-0050F204-1",
}, "minLength": 12,
"r1_key_holder": { "maxLength": 12,
"description": "PMK-R1 Key Holder identifier (dot11FTR1KeyHolderID). A 6-octet identifier as a hex string.", "pattern": "^([0-9a-fA-F])-([0-9a-fA-F]){8}-([0-9a-fA-F])$"
"type": "string", },
"default": "00004f577274", "wps_label": {
"minLength": 6, "description": "Enable label configuration method.",
"maxLength": 6, "type": "boolean",
"pattern": "^([0-9a-fA-F]){6}$" "default": true
}, },
"reassociation_deadline": { "wps_manufacturer": {
"description": "Reassociation deadline in time units (TUs / 1.024 ms, 1000-65535)", "description": "The manufacturer of the device (up to 64 ASCII characters).",
"type": "integer", "type": "string",
"default": 1000, "default": "lede-project.org",
"minimum": 1000, "minLength": 0,
"maximum": 65535 "maxLength": 64
}, },
"r0kh": { "wps_pushbutton": {
"description": "List of R0KHs in the same Mobility Domain. Valid format: <MAC address>,<NAS Identifier>,<128-bit key as hex string> This list is used to map R0KH-ID (NAS Identifier) to a destination MAC address when requesting PMK-R1 key from the R0KH that the STA used during the Initial Mobility Domain Association.", "description": "Enable push-button configuration method.",
"type": "string", "type": "boolean",
"pattern": "^([0-9a-fA-F][0-9a-fA-F]:){5}[0-9a-fA-F][0-9a-fA-F],([0-9a-fA-F]){1,48},([0-9a-fA-F]){16}$" "default": true
}, },
"r1kh": { "wps_pin": {
"description": "List of R1KHs in the same Mobility Domain. Valid format: <MAC address>,<R1KH-ID>,<128-bit key as hex string> This list is used to map R1KH-ID to a destination MAC address when sending PMK-R1 key from the R0KH. This is also the list of authorized R1KHs in the MD that can request PMK-R1 keys.", "description": "The PIN to use with WPS-PIN (only in external registrar mode?)",
"type": "string", "type": "string"
"pattern": "^([0-9a-fA-F][0-9a-fA-F]:){5}[0-9a-fA-F][0-9a-fA-F],([0-9a-fA-F]){6},([0-9a-fA-F]){16}$" },
}, "ieee80211r": {
"pmk_r1_push": { "description": "Enables fast BSS transition (802.11r) support.",
"description": "Whether PMK-R1 push is enabled at R0KH.", "type": "boolean",
"type": "boolean", "default": false
"default": false },
}, "nasid": {
"ft_over_ds": { "description": "PMK-R0 Key Holder identifier (dot11FTR0KeyHolderID). A 1 to 48 octet identifier.",
"description": "Whether to enable FT-over-DS.", "$ref": "#/definitions/nasid_t"
"type": "boolean", },
"default": true "mobility_domain": {
}, "description": "Mobility Domain identifier (dot11FTMobilityDomainID, MDID). MDID is used to indicate a group of APs (within an ESS, i.e., sharing the same SSID) between which a STA can use Fast BSS Transition. 2-octet identifier as a hex string.",
"ft_psk_generate_local": { "type": "string",
"description": "Whether to generate FT response locally for PSK networks. This avoids use of PMK-R1 push/pull from other APs with FT-PSK networks as the required information (PSK and other session data) is already locally available.", "minLength": 2,
"type": "boolean", "maxLength": 2,
"default": false "pattern": "^([0-9a-fA-F]){2}$"
}, },
"disassoc_low_ack": { "r0_key_lifetime": {
"description": "Disassociate stations based on excessive transmission failures or other indications of connection loss. This depends on the driver capabilities and may not be available with all drivers.", "description": "Default lifetime of the PMK-RO in minutes [1-65535].",
"type": "boolean", "type": "integer",
"default": true "default": 10000,
}, "minimum": 1,
"max_inactivity": { "maximum": 65535
"description": "Station inactivity limit in seconds: If a station does not send anything in ap_max_inactivity seconds, an empty data frame is sent to it in order to verify whether it is still in range. If this frame is not ACKed, the station will be disassociated and then deauthenticated.", },
"type": "integer", "r1_key_holder": {
"default": 300 "description": "PMK-R1 Key Holder identifier (dot11FTR1KeyHolderID). A 6-octet identifier as a hex string.",
}, "type": "string",
"skip_inactivity_poll": { "default": "00004f577274",
"description": "The inactivity polling can be disabled to disconnect stations based on inactivity timeout so that idle stations are more likely to be disconnected even if they are still in range of the AP.", "minLength": 6,
"type": "boolean", "maxLength": 6,
"default": false "pattern": "^([0-9a-fA-F]){6}$"
}, },
"max_listen_interval": { "reassociation_deadline": {
"description": "Maximum allowed Listen Interval (how many Beacon periods STAs are allowed to remain asleep).", "description": "Reassociation deadline in time units (TUs / 1.024 ms, 1000-65535)",
"type": "integer", "type": "integer",
"default": 65535 "default": 1000,
} "minimum": 1000,
} "maximum": 65535
} },
} "r0kh": {
} "description": "List of R0KHs in the same Mobility Domain. Valid format: <MAC address>,<NAS Identifier>,<128-bit key as hex string> This list is used to map R0KH-ID (NAS Identifier) to a destination MAC address when requesting PMK-R1 key from the R0KH that the STA used during the Initial Mobility Domain Association.",
"type": "string",
"pattern": "^([0-9a-fA-F][0-9a-fA-F]:){5}[0-9a-fA-F][0-9a-fA-F],([0-9a-fA-F]){1,48},([0-9a-fA-F]){16}$"
},
"r1kh": {
"description": "List of R1KHs in the same Mobility Domain. Valid format: <MAC address>,<R1KH-ID>,<128-bit key as hex string> This list is used to map R1KH-ID to a destination MAC address when sending PMK-R1 key from the R0KH. This is also the list of authorized R1KHs in the MD that can request PMK-R1 keys.",
"type": "string",
"pattern": "^([0-9a-fA-F][0-9a-fA-F]:){5}[0-9a-fA-F][0-9a-fA-F],([0-9a-fA-F]){6},([0-9a-fA-F]){16}$"
},
"pmk_r1_push": {
"description": "Whether PMK-R1 push is enabled at R0KH.",
"type": "boolean",
"default": false
},
"ft_over_ds": {
"description": "Whether to enable FT-over-DS.",
"type": "boolean",
"default": true
},
"ft_psk_generate_local": {
"description": "Whether to generate FT response locally for PSK networks. This avoids use of PMK-R1 push/pull from other APs with FT-PSK networks as the required information (PSK and other session data) is already locally available.",
"type": "boolean",
"default": false
},
"disassoc_low_ack": {
"description": "Disassociate stations based on excessive transmission failures or other indications of connection loss. This depends on the driver capabilities and may not be available with all drivers.",
"type": "boolean",
"default": true
},
"max_inactivity": {
"description": "Station inactivity limit in seconds: If a station does not send anything in ap_max_inactivity seconds, an empty data frame is sent to it in order to verify whether it is still in range. If this frame is not ACKed, the station will be disassociated and then deauthenticated.",
"type": "integer",
"default": 300
},
"skip_inactivity_poll": {
"description": "The inactivity polling can be disabled to disconnect stations based on inactivity timeout so that idle stations are more likely to be disconnected even if they are still in range of the AP.",
"type": "boolean",
"default": false
},
"max_listen_interval": {
"description": "Maximum allowed Listen Interval (how many Beacon periods STAs are allowed to remain asleep).",
"type": "integer",
"default": 65535
}
}
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment