WiFi State properties appear in the upper portion of the view.
| Property | Value | Description |
|---|---|---|
| WiFi Enabled | true, false (default) | Selecting True, enables WiFi functionality.
NOTE: The WiFi Enabled setting in the WiFi Configuration view is ignored whenever the unit’s WiFi Selector Switch is in the OFF (center) position. |
| WiFi Switch Position | Access Point, Off, Station | Read only value. Indicates the current position of the WiFi Selector Switch on the unit: Access Point = ACC (left position). OFF (center position) turns the WiFi subsystem completely off. Station = CLT (right position). |
General Current WiFi State values listed in the following table may occur when using either Client mode or Access Point mode.
| Current WiFi State Value | Condition | Additional Notes |
|---|---|---|
| Stopping | WiFi processes are stopping | This is the result of moving the 3-position switch from ACC or CLT to OFF, or of toggling the "Wifi Enabled" control from "true" to "false" in the platform WiFi Configuration view, or an Access Point Inactivity Timeout. In the case
of inactivity timeout, the next state will be "Inactivity Timeout" after WiFi is stopped.
In all other cases, the next state will be "Stopped". |
| Stopped | WiFi drivers are not loaded, and no Client or Access Point mode processes are running. | WiFi LED on top of unit should be off in this state.
The state must be "Stopped" before any WiFi process can be started. This state can be entered from a "failed" state or "stopping" state. As a special case for Access Point mode, if "Inactivity Timeout" is used AND inactivity timer is expired AND user moves the 3-position switch from ACC position, then Stopped state can be entered. |
| Failed | WiFi process (either Client or Access Point) was not able to successfully complete. | Usually indicates an invalid configuration. A "failed" state will kick off an attempted shutdown of the WiFi processes and drivers, after which the state should transition to "Stopped". |
The following current WiFi states are specific to Client mode.
| Current WiFi State Value | Condition | Additional Notes |
|---|---|---|
| Supplicant Running | The supplicant is running, and loading the "Client Mode" network database to search for an Access Point to connect to. | After verification to ensure that no other adapter is using the Dhcp.client service, the “tiw_sta0” adapter is started, an IP address is assigned, and the “wpa_supplicant” process is started; the state will transition to the “Supplicant Running” state. |
| Sta Scanning | The Client mode WiFi adapter is looking for an Access Point to connect to by scanning available frequencies | This can happen if the WiFi network (ssid/password, etc) is not configured correctly or is unavailable because the Access Point is off or out of range. |
| Sta Trying to Associate | A configured Access Point has been located, and the supplicant is trying to associate with the access point. | If a whitelist is configured in the access point, the MAC address of this client adapter must pass the whitelist filters. |
| Sta Negotiating | The Client mode supplicant is negotiating capabilities and credentials with the access point | If successful, the next transition will be "Sta Running" |
| Sta Association Success | The Client has successfully associated with an Access Point | The Client and Access Point will begin a 4-way handshake process to validate credentials and establish common security protocol suites (see "Sta Negotiating") |
| Sta Disconnected | Normal state transition on Client mode startup. It is normal to see this during Client mode startup, but should transition to other states. | If no configured access points are available, will not progress past this point. Every 15 seconds, the network database is reloaded, so configuration changes made during this state will be picked up. |
| Sta Error: Dhcp enabled on another adapter |
The Client Mode could not be started. | Client mode WiFi could not be started because another adapter is using Dhcp to get it's IP address.
Only one adapter is allowed to have a Dhcp assigned address, and WiFi Client mode always uses Dhcp to get an address for the client-mode adapter. |
The following current WiFi states are specific to Access Point mode.
| Current WiFi State Value | Condition | Additional Notes |
|---|---|---|
| SAP Starting | Access Point processes are starting. Access point mode is enabed in the WiFi Configuration view, and the 3-position switch on the unit is in the "ACC" (left) position. | Start WiFi driver which adds a “tiw_sap0” adapter, bring the adapter up and assign an IP address to it, start Hostapd, and start Dhcp server on the adapter. This state can only be entered from the "Stopped" state. |
| SAP Running | Adapter is up, IP assigned, Hostapd started, and Dhcp server started on the adapter. | SAP is Running |
| Inactivity Timeout | In Access Point mode, a non-zero "Inactivity Timeout" has been configured, and for the specified amount of time the adapter neither sends nor receives non-broadcast packets to/from attached clients. The adapter is shut down in this state. | Inactivity timeout is only used in Access Point mode.
To restart the WiFi adapter after an Inactivity Timeout shutdown, you must physically move the WiFi selector switch from "ACC" to "OFF" in order for the state to transition to "Stopped". Once stopped, move the selector switch back to "ACC". |