This command sets the roaming mode which is effectively who controls
the operation (state transitions) of the 802.11 state machine when
running as a station. Stations are either controlled by the driver
(typically when management frames are processed by the hardware), the
host (auto/normal operation of the 802.11 layer), or explicitly
through ioctl requests when applications such as
wpa_supplicant want control. A single argument is passed to
the driver indicating the desired roaming mode.
Table lists the arguments and corresponding roaming
modes.
Table:
Roaming Mode Arguments
Argument
Roaming Mode
Description
0
Device
Driver/hardware control
1
Auto
802.11 layer control
2
Manual
ioctl/application control
Example:The following command sets the roaming mode to Auto on ath0.