Device Mode – The Wi-Fi subsystem can operate in several WLAN roles. The different options are:
- WLAN station
- WLAN AP
- WLAN P2P
For more details, see Section 17.3.
AP mode – If set to an access-point role, the Wi-Fi subsystem has numerous specific configurations for AP mode that can be set:
- SSID – AP name
- Country code
- Beacon interval
- Operational channel
- Hidden SSID – Enable or disable
- DTIM period
- Security type – Possible options are:
- Open security
- WEP security
- WPA security
- Security password:
- For WPA: 8 to 63 characters
- For WEP: 5 to 13 characters (ASCII)
- WPS state
For more details, see Section 7.4.
P2P – If set to peer-to-peer role, the Wi-Fi subsystem has numerous specific configurations for P2P mode that can be set:
- Device Name
- Device type
- Operational channels – Listen channel and regulatory class determine the device listen channel during p2p find listen phase.
Operational channel and regulatory class determine the operating channel preferred by this device (if it is group owner, this will be the operating channel). Channels should be one of the social channels (1/6/11). If no listen or operational channel is selected, a random 1/6/11 will be selected. - Information elements – The application can be set to MAX_PRIVATE_INFO_ELEMENTS_SUPPORTED information elements per role (AP / P2P GO). To delete an information element, use the relevant index and length = 0.
The application can be set to MAX_PRIVATE_INFO_ELEMENTS_SUPPORTED to the same role. However, for AP no more than INFO_ELEMENT_MAX_TOTAL_LENGTH_AP bytes can be stored for all information elements.
For P2P GO, no more than INFO_ELEMENT_MAX_TOTAL_LENGTH_P2P_GO bytes can be stored for all information elements. - Scan channels – Changes the scan channels and RSSI threshold.
For more details, see Section 10.