Scan command allows to see available AP in the frequency range defined in the scan-list. Using scan command the interface operation is disabled (wireless link is disconnected during the scan operation) Since RouterOS v6.35 (wireless-rep) background scan is supported which can be used during the wireless interface operation without disconnecting the wireless link. Background scan is supported only using 802.11 wireless protocol.
Scan tool will continue scanning for AP until user stops the scan process.
To use background wireless scan the 'background=yes' setting should be provided. Example:
/interface wireless scan wlan1 background=yes
Background scan feature is working in such conditions:
Wireless interface should be enabled
For wireless interface in AP mode - when it is operating in 802.11 protocol mode and is on fixed channel (that is - channel selection and initial radar checking is over)
For wireless interface in Station mode - when it is connected to 802.11 protocol AP.
Scan command is supported also on the Virtual wireless interfaces with such limitations:
It is possible when virtual interface and its master is fixed on channel (master AP is running or master station is connected to AP).
Scan is only performed in channel master interface is on.
It does not matter if background=yes|no - on virtual interface scan does not disconnect clients/AP, so it is always "background".
Save scan results to file option allows to do analyze scan results from generated files.