wireless
interface/wireless
Package: wireless-rep
Type: Directory
Wireless interfaces of the wireless package: the physical radios and the virtual interfaces added with master-interface. See Wireless interface for how the modes, lists and security profiles work together.
| Flag | Name | Description |
|---|---|---|
| X | disabled | The interface is disabled. reset-configuration disables the interface. |
| R | running |
| Argument | Type | Description |
|---|---|---|
| name | string | Name of the interface. |
| mtu | num | Default: 1500. |
| l2mtu | num | |
| mac-address | macAddr | |
| arp | enum (disabled | enabled | proxy-arp | reply-only | local-proxy-arp) { disabled:0, enabled:1, proxy-arp:2, reply-only:3, local-proxy-arp:4 } | ARP. Default: enabled. |
| arp-timeout | alt { arp-timeout: enum (auto) { auto:0 } , arp-timeout: time } | ARP timeout is time how long ARP record is kept in ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in /ip/settings, default is 30s |
| disable-running-check | bool | When set to yes interface will always have running flag. If value is set to no, the router determines whether the card is up and running - for AP one or more clients have to be registered to it, for station, it should be connected to an AP. Default: no. |
| prism-cardtype | enum (200mW | 100mW | 30mW) { 200mW:0, 100mW:1, 30mW:2 } | Specify type of the installed Prism wireless card. |
| master-interface ( mandatory ) | iface_enum | Name of wireless interface that has virtual-ap capability. Virtual AP interface will only work if master interface is in ap-bridge, bridge, station or wds-slave mode. This property is only for virtual AP interfaces. |
| radio-name | string | Descriptive name of the device, that is shown in registration table entries on the remote devices. This is a proprietary extension. |
| mode | enum (station | station-wds | ap-bridge | bridge | alignment-only | nstreme-dual-slave | wds-slave | station-pseudobridge | station-pseudobridge-clone | station-bridge) { station:0, station-wds:6, ap-bridge:1, bridge:2, alignment-only:3, nstreme-dual-slave:4, wds-slave:5, station-pseudobridge:8, station-pseudobridge-clone:9 } | Operating mode of the interface. The station modes differ in how they carry layer 2 addresses over the link; see the station modes guide for which mode suits a bridged link.
|
| ssid | string | SSID (service set identifier), the name that identifies the wireless network. Up to 32 characters. reset-configuration sets it to MikroTik. |
| area | string | Identifies group of wireless networks. This value is announced by AP, and can be matched in connect-list by area-prefix. This is a proprietary extension. Default: "". |
| frequency-mode | enum | Three frequency modes are available: List of available channels for each band can be seen in /interface/wireless/info/allowed-channels. This mode allows you to test wireless channels outside the default scan-list and/or regulatory domain. This mode should only be used in controlled environments, or if you have special permission to use it in your region.
|
| country | enum | Limits available bands, frequencies and maximum transmit power for each frequency. Also specifies default value of scan-list. Value no_country_set is an FCC compliant set of channels. Default: etsi. |
| installation | enum (any | indoor | outdoor) | Adjusts scan-list to use indoor, outdoor or all frequencies for the country that is set. Default: any. |
| antenna-gain | num | Antenna gain in dBi, used to calculate maximum transmit power according to country regulations. |
| frequency | alt { frequency-mhz: num , frequency-name: enum (auto) { auto:0 } } | Channel frequency value in MHz on which AP will operate. Allowed values depend on the selected band, and are restricted by country setting and wireless card capabilities. This setting has no effect if interface is in any of station modes, or in wds-slave mode, or if DFS is active. Note: If using mode "superchannel", any frequency supported by the card will be accepted, but on the RouterOS client, any non-standard frequency must be configured in the scan-list, otherwise it will not be scanning in non-standard range. In WinBox, scanlist frequencies are in bold, any other frequency means the clients will need scan-list configured. |
| band | enum (2ghz-b | 2ghz-onlyg | 2ghz-b/g | 5ghz-a | 5ghz-onlyn | 5ghz-a/n | 2ghz-onlyn | 2ghz-b/g/n | 2ghz-g/n | 5ghz-a/n/ac | 5ghz-n/ac | 5ghz-onlyac) | Defines set of used data rates, channel frequencies and widths. |
| channel-width | enum (20mhz | 40mhz-turbo | 10mhz | 5mhz | 20/40mhz-Ce | 20/40mhz-eC | 20/40/80mhz-Ceee | 20/40/80mhz-eCee | 20/40/80mhz-eeCe | 20/40/80mhz-eeeC | 20/40/80/160mhz-Ceeeeeee | 20/40/80/160mhz-eCeeeeee | 20/40/80/160mhz-eeCeeeee | 20/40/80/160mhz-eeeCeeee | 20/40/80/160mhz-eeeeCeee | 20/40/80/160mhz-eeeeeCee | 20/40/80/160mhz-eeeeeeCe | 20/40/80/160mhz-eeeeeeeC | 20/40mhz-XX | 20/40/80mhz-XXXX | 20/40/80/160mhz-XXXXXXXX) | Use of extension channels (e.g. Ce, eC etc) allows additional 20MHz extension channels and if it should be located below or above the control (main) channel. Extension channel allows 802.11n devices to use up to 40MHz (802.11ac up to 160MHz) of spectrum in total thus increasing max throughput. Channel widths with XX and XXXX extensions automatically scan for a less crowded control channel frequency based on the number of concurrent devices running in every frequency and chooses the “C” - Control channel frequency automatically. Default: 20mhz. |
| secondary-frequency | multi { array-id, secondary-channel: enum (auto) { auto:0xffffffff } } | Secondary channel, required for 80+80 MHz transmission. To disable 80+80 MHz, set it to "" or unset it. |
| scan-list | object { entry: alt { default: enum (default) { default:0 } , range: super { range-start: num , [range-end] -num , [range-step] [ :num] } , name: enum () } } | The default value is all channels from selected band that are supported by card and allowed by the country and frequency-mode settings (this list can be seen in info. For default scan list in 5ghz band channels are taken with 20MHz step, in 5ghz-turbo band - with 40MHz step, for all other bands - with 5MHz step. If scan-list is specified manually, then all matching channels are taken. (Example: scan-list=default,5200-5245,2412-2427 - This will use the default value of scan list for current band, and add to it supported frequencies from 5200-5245 or 2412-2427 range.) In WinBox or Webfig, enter each frequency or range of frequencies as a separate scan-list entry; a comma-separated list is not supported there. The scan-list also supports a step, where you can manually specify the scan step. Example: scan-list=5500-5600:20 will generate such scan-list values 5500,5520,5540,5560,5580,5600. Default: default. |
| wireless-protocol | enum (unspecified | any | 802.11 | nstreme | nv2 | nv2-nstreme-802.11 | nv2-nstreme) { unspecified:0, any:1, 802.11:2, nstreme:3, nv2:4, nv2-nstreme-802.11:5, nv2-nstreme:6 } | Specifies protocol used on wireless interface; ⚠️ Warning: Nv2 doesn't have support for Virtual AP
|
| rate-set | enum (default | configured) { default:0, configured:1 } | Two options are available:
|
| supported-rates-b | ubit (1Mbps, 2Mbps, 5.5Mbps, 11Mbps) | List of supported rates, used for 2ghz-b, 2ghz-b/g and 2ghz-b/g/n bands. Two devices will communicate only using rates that are supported by both devices. This property has effect only when value of rate-set is configured. |
| supported-rates-a/g | ubit (6Mbps, 9Mbps, 12Mbps, 18Mbps, 24Mbps, 36Mbps, 48Mbps, 54Mbps) | List of supported rates, used for all bands except 2ghz-b. Default: 6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps. |
| basic-rates-b | ubit (1Mbps, 2Mbps, 5.5Mbps, 11Mbps) | List of basic rates, used for 2.4ghz-b, 2.4ghz-b/g and 2.4ghz-onlyg bands. Client will connect to AP only if it supports all basic rates announced by the AP. AP will establish WDS link only if it supports all basic rates of the other AP. This property has effect only in AP modes, and when value of rate-set is configured. |
| basic-rates-a/g | ubit (6Mbps, 9Mbps, 12Mbps, 18Mbps, 24Mbps, 36Mbps, 48Mbps, 54Mbps) | Similar to the basic-rates-b property, but used for 5ghz, 5ghz-10mhz, 5ghz-5mhz, 5ghz-turbo, 2.4ghz-b/g, 2.4ghz-onlyg, 2ghz-10mhz, 2ghz-5mhz and 2.4ghz-g-turbo bands. Default: 6Mbps. |
| max-station-count | num | Maximum number of associated clients. WDS links also count toward this limit. Default: 2007. |
| distance | enum (indoors | dynamic) { indoors:0, dynamic:0xffffffff } | How long to wait for confirmation of unicast frames (ACKs) before considering transmission unsuccessful, or in short ACK-Timeout. Distance value has these behaviors: Acknowledgments are not used in Nstreme/Nv2 protocols. Default:
|
| tx-power | num | For 802.11ac wireless interface it's total power but for 802.11a/b/g/n it's power per chain. |
| tx-power-mode | enum (default | all-rates-fixed | card-rates | manual-table) { default:0, all-rates-fixed:1, card-rates:2, manual-table:3 } | Sets up tx-power mode for wireless card
|
| noise-floor-threshold | alt { default: enum (default) { default:5555 } , threshold: num [-128 .. 127] } | For advanced use only, as it can badly affect the performance of the interface. It is possible to manually set noise floor threshold value. By default, it is dynamically calculated. This property also affects received signal strength. This property is only effective on non-AC chips. |
| nv2-noise-floor-offset | alt { default: enum (default) { default:5555 } , threshold: num [0 .. 20] } | |
| burst-time | enum (disabled) { disabled:0 } | Time in microseconds which will be used to send data without stopping. Note that no other wireless cards in that network will be able to transmit data during burst-time microseconds. This setting is available only for AR5000, AR5001X, and AR5001X+ chipset based cards. |
| dfs-test-mode (syscap=dfstest) | ubit (only-detect, duty-cycle, short-search) | |
| antenna-mode | enum (ant-a | ant-b | txa-rxb | rxa-txb) { ant-a:1, ant-b:2, txa-rxb:3, rxa-txb:4 } | Select antenna to use for transmitting and for receiving
|
| vlan-mode | enum (no-tag | use-tag | use-service-tag) | Three VLAN modes are available:
|
| vlan-id | num | VLAN identification number. Default: 1. |
| wds-mode | enum (disabled | static | dynamic | static-mesh | dynamic-mesh) { disabled:0, static:1, dynamic:2, static-mesh:3, dynamic-mesh:4 } | Controls how WDS links with other devices (APs and clients in station-wds mode) are established. -mesh modes use different (better) method for establishing link between AP, that is not compatible with APs in non-mesh mode. This method avoids one-sided WDS links that are created only by one of the two APs. Such links cannot pass any data.When AP or station is establishing WDS connection with another AP, it uses connect-list to check whether this connection is allowed. If station in station-wds mode is establishing connection with AP, AP uses access-list to check whether this connection is allowed.If mode is station-wds, then this property has no effect. Default:
|
| wds-default-bridge | iface_enum { none:0xffffffff } | When WDS link is established and status of the wds interface becomes running, it will be added as a bridge port to the bridge interface specified by this property. When WDS link is lost, wds interface is removed from the bridge. If wds interface is already included in a bridge setup when WDS link becomes active, it will not be added to bridge specified by , and will (needs editing). Default: none. |
| wds-default-cost | num | Initial bridge port cost of the WDS links. Default: 100. |
| wds-cost-range | range | Bridge port cost of WDS links are automatically adjusted, depending on measured link throughput. Port cost is recalculated and adjusted every 5 seconds if it has changed by more than 10%, or if more than 20 seconds have passed since the last adjustment. Setting this property to 0 disables automatic cost adjustment. Automatic adjustment does not work for WDS links that are manually configured as a bridge port. Default: 50-150. |
| wds-ignore-ssid | bool | By default, WDS link between two APs can be created only when they work on the same frequency and have the same SSID value. If this property is set to yes, then SSID of the remote AP will not be checked. This property has no effect on connections from clients in station-wds mode. It also does not work if wds-mode is static-mesh or dynamic-mesh. Default: no. |
| update-stats-interval | alt { disabled: enum (disabled) { disabled:0 } , interval: time [10 .. 18000] } | How often to request update of signals strength and ccq values from clients. Access to registration-table also triggers update of these values. This is proprietary extension. Default: disabled. |
| bridge-mode | enum (enabled | disabled) | Allows clients in station-bridge mode. See Wireless station modes. Default: enabled. |
| default-authentication | bool | For AP mode, this is the value of authentication for clients that do not match any entry in the access-list. For station mode, this is the value of connect for APs that do not match any entry in the connect-list. Default: yes. |
| default-forwarding | bool | This is the value of forwarding for clients that do not match any entry in the access-list. Default: yes. |
| default-ap-tx-limit | num | This is the value of ap-tx-limit for clients that do not match any entry in the access-list. 0 means no limit. Default: 0. |
| default-client-tx-limit | num | This is the value of client-tx-limit for clients that do not match any entry in the access-list. 0 means no limit. Default: 0. |
| wmm-support | enum (disabled | enabled | required) { disabled:0, enabled:1, required:2 } | Specifies whether to enable WMM. Only applies to bands B and G. Other bands will have it enabled regardless of this setting. Default: disabled. |
| hide-ssid | bool | This property has an effect only in AP mode. Setting it to yes can remove this network from the list of wireless networks that are shown by some client software. Changing this setting does not improve the security of the wireless network, because SSID is included in other frames sent by the AP.
|
| security-profile | enum | Name of profile from security profiles. Default: default. |
| interworking-profile | enum (disabled) | |
| wps-mode | enum (disabled | push-button | push-button-virtual-only | push-button-5s) | WPS Server |
| station-roaming | enum (disabled | enabled) | Station Roaming feature is available only for 802.11 wireless protocol and only for station modes. Station Roaming. Default: disabled. |
| disconnect-timeout | time | This interval is measured from third sending failure on the lowest data rate. At this point 3 * (hw-retries + 1) frame transmits on the lowest data rate had failed. During disconnect-timeout packet transmission will be retried with on-fail-retry-time interval. If no frame can be transmitted successfully during disconnect-timeout, the connection is closed, and this event is logged as "extensive data loss". Successful frame transmission resets this timer. Default: 3s. |
| on-fail-retry-time | time | After third sending failure on the lowest data rate, wait for specified time interval before retrying. Default: 100ms. |
| preamble-mode | enum (long | short | both) { long:0, short:1, both:2 } | Short preamble mode is an option of 802.11b standard that reduces per-frame overhead.
|
| compression | bool | Setting this property to yes will allow the use of the hardware compression. Wireless interface must have support for hardware compression. Connections with devices that do not use compression will still work. Default: no. |
| allow-sharedkey | bool | Allow WEP Shared Key clients to connect. Note that no authentication is done for these clients (WEP Shared keys are not compared to anything) - they are just accepted at once (if access list allows that). Default: no. |
| station-bridge-clone-mac | macAddr | This property has effect only in the station-pseudobridge-clone mode. Use this MAC address when connection to AP. If this value is 00:00:00:00:00:00, station will initially use MAC address of the wireless interface. As soon as packet with MAC address of another device needs to be transmitted, station will reconnect to AP using that address. Default: 00:00:00:00:00:00. |
| ampdu-priorities | ubit (0, 1, 2, 3, 4, 5, 6, 7) | Frame priorities for which AMPDU sending (aggregating frames and sending using block acknowledgment) should get negotiated and used. Using AMPDUs will increase throughput, but may increase latency, therefore, may not be desirable for real-time traffic (voice, video). Due to this, by default AMPDUs are enabled only for best-effort traffic. Default: 0. |
| guard-interval | enum (any | long) { any:0, long:1 } | Whether to allow use of short guard interval (refer to 802.11n MCS specification to see how this may affect throughput). "any" will use either short or long, depending on data rate, "long" will use long. Default: any. |
| ht-supported-mcs | ubit (mcs-0, mcs-1, mcs-2, mcs-3, mcs-4, mcs-5, mcs-6, mcs-7, mcs-8, mcs-9, mcs-10, mcs-11, mcs-12, mcs-13, mcs-14, mcs-15, mcs-16, mcs-17, mcs-18, mcs-19, mcs-20, mcs-21, mcs-22, mcs-23, mcs-24, mcs-25, mcs-26, mcs-27, mcs-28, mcs-29, mcs-30, mcs-31) | Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11n for MCS specification. Default: mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15,mcs-16,mcs-17,mcs-18,mcs-19,mcs-20,mcs-21,mcs-22,mcs-23. |
| ht-basic-mcs | ubit (mcs-0, mcs-1, mcs-2, mcs-3, mcs-4, mcs-5, mcs-6, mcs-7, mcs-8, mcs-9, mcs-10, mcs-11, mcs-12, mcs-13, mcs-14, mcs-15, mcs-16, mcs-17, mcs-18, mcs-19, mcs-20, mcs-21, mcs-22, mcs-23, mcs-24, mcs-25, mcs-26, mcs-27, mcs-28, mcs-29, mcs-30, mcs-31) | Modulation and Coding Schemes that every connecting client must support. Refer to 802.11n for MCS specification. Default: mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7. |
| vht-supported-mcs | multi { array-id, mcs-set: enum (none | mcs0-7 | mcs0-8 | mcs0-9) { none:0, mcs0-7:1, mcs0-8:2, mcs0-9:3 } } | Modulation and Coding Schemes that this device advertises as supported. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream. Default:
|
| vht-basic-mcs | multi { array-id, mcs-set: enum (none | mcs0-7 | mcs0-8 | mcs0-9) { none:0, mcs0-7:1, mcs0-8:2, mcs0-9:3 } } | Modulation and Coding Schemes that every connecting client must support. Refer to 802.11ac for MCS specification. You can set MCS interval for each of Spatial Stream. Default:
|
| tx-chains | ubit (0, 1, 2, 3) | Which antennas to use for transmitting. In current MikroTik routers, both RX and TX chain must be enabled, for the chain to be enabled. |
| rx-chains | ubit (0, 1, 2, 3) | Which antennas to use for receive. In current MikroTik routers, both RX and TX chain must be enabled, for the chain to be enabled. |
| amsdu-limit | num | Max AMSDU that device is allowed to prepare when negotiated. AMSDU aggregation may significantly increase throughput especially for small frames, but may increase latency in case of packet loss due to retransmission of aggregated frame. Sending and receiving AMSDUs will also increase CPU usage. Default: 8192. |
| amsdu-threshold | num | Max frame size to allow including in AMSDU. Default: 8192. |
| tdma-period-size | enum (auto | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10) { auto:0, 1:1, 2:2, 3:3, 4:4, 5:5, 6:6, 7:7, 8:8, 9:9, 10:10 } | Specifies TDMA period in milliseconds. It could help on the longer distance links, it could slightly increase bandwidth, while latency is increased too. Default: 2. |
| nv2-queue-count | num | Default: 2. |
| nv2-qos | enum (default | frame-priority) { default:0, frame-priority:1 } | Sets the packet priority mechanism, firstly data from high priority queue is sent, then lower queue priority data until 0 queue priority is reached. When link is full with high priority queue data, lower priority data is not sent. Use it very carefully, setting works on AP
|
| nv2-cell-radius | num | Setting affects the size of contention time slot that AP allocates for clients to initiate connection and also size of time slots used for estimating distance to client. When setting is too small, clients that are farther away may have trouble connecting and/or disconnect with "ranging timeout" error. Although during normal operation the effect of this setting should be negligible, in order to maintain maximum performance, it is advised to not increase this setting if not necessary, so AP is not reserving time that is actually never used, but instead allocates it for actual data transfer. Default:
|
| nv2-security | enum (disabled | enabled) { disabled:0, enabled:1 } | Default: disabled. |
| nv2-preshared-key | string | Pre-shared key for Nv2 security (nv2-security=enabled). Both ends need the same key. |
| nv2-mode | enum (dynamic-downlink | fixed-downlink | sync-master | sync-slave) | Downlink/uplink ratio mode of an Nv2 access point. See Nv2.
|
| nv2-downlink-ratio | num | Downlink part of the Nv2 period, in percent, from 20 to 80. In dynamic-downlink mode it is used when the link is fully loaded. Default: 50. |
| nv2-sync-secret | string | Secret for Nv2 access point synchronization. The master and the slaves need the same secret. |
| hw-retries | num | Number of times sending frame is retried without considering it a transmission failure. Data-rate is decreased upon failure and the frame is sent again. Three sequential failures on the lowest supported rate suspend transmission to this destination for the duration of on-fail-retry-time. After that, the frame is sent again. The frame is being retransmitted until transmission success, or until the client is disconnected after disconnect-timeout. The frame can be discarded during this time if frame-lifetime is exceeded. Default: 7. |
| frame-lifetime | num | Discard frames that have been queued for sending longer than frame-lifetime. By default, when value of this property is 0, frames are discarded only after connection is closed. Default: 0. |
| adaptive-noise-immunity | enum (none | client-mode | ap-and-client-mode) { none:0, client-mode:1, ap-and-client-mode:2 } | This property is only effective for cards based on Atheros chipset. Default: none. |
| hw-fragmentation-threshold | num | Specifies maximum fragment size in bytes when transmitted over the wireless medium. 802.11 standard packet (MSDU in 802.11 terminologies) fragmentation allows packets to be fragmented before transmitting over a wireless medium to increase the probability of successful transmission (only fragments that did not transmit correctly are retransmitted). Note that transmission of a fragmented packet is less efficient than transmitting unfragmented packet because of protocol overhead and increased resource usage at both - transmitting and receiving party. Default: disabled. |
| hw-protection-mode | enum (none | rts-cts | cts-to-self) { none:0, rts-cts:1, cts-to-self:2 } | Frame protection support property Frame protection support. Default: none. |
| hw-protection-threshold | num | Frame protection support property Frame protection support. Default: 0. |
| frequency-offset | num | Allows to specify offset if the used wireless card operates at a different frequency than is shown in RouterOS, in case a frequency converter is used in the card. So if your card works at 4000MHz but RouterOS shows 5000MHz, set offset to 1000MHz and it will be displayed correctly. The value is in MHz and can be positive or negative. Default: 0. |
| rate-selection | enum (advanced) { advanced:1 } | The default value is advanced; the legacy mode is inefficient and is kept only for backward compatibility. Default: advanced. |
| multicast-helper | enum (default | disabled | full | dhcp) { default:0, disabled:1, full:2, dhcp:3 } | When set to full, multicast packets will be sent with a unicast destination MAC address, resolving multicast problems on the wireless link. This option should be enabled only on the access point, clients should be configured in station-bridge mode.
|
| multicast-buffering | enum (enabled | disabled) | For a client that has power saving, buffer multicast packets until next beacon time. A client should wake up to receive a beacon, by receiving beacon it sees that there are multicast packets pending, and it should wait for multicast packets to be sent. Default: enabled. |
| keepalive-frames | enum (enabled | disabled) | Applies only if wireless interface is in mode=ap-bridge. If a client has not communicated for around 20 seconds, AP sends a "keepalive-frame". Note: disabling the feature can lead to "ghost" clients in registration-table. Default: enabled. |
| skip-dfs-channels | enum (disabled | all | 10min-cac) | These values are used to skip all DFS channels or specifically skip DFS CAC channels in range 5600-5650MHz which detection could go up to 10min. Default: disabled. |
| Read-only Argument | Type | Description |
|---|---|---|
| default-name | string | |
| interface-type | enum (virtual | Atheros AR5212 | Atheros AR5211 | Atheros AR5210 | Prism | Atheros AR5213 | Atheros AR5413 | Atheros 11N | Atheros AR9271 | Atheros AR9300 | Atheros AR92xx | Atheros AR9888 | IPQ4019 | QCA9984 | QCA9888) { virtual:0, Atheros AR5212:1, Atheros AR5211:2, Atheros AR5210:3, Prism:4, Atheros AR5213:5, Atheros AR5413:6, Atheros 11N:7, Atheros AR9271:8, Atheros AR9300:9, Atheros AR92xx:10, Atheros AR9888:11, IPQ4019:12, QCA9984:13, QCA9888:14 } | |
| pci-info | string |