Wi-Fi Access Point configuration structure.
Indicates the configuration parameters for setting up a Wi-Fi Access Point (AP).
Note
When configuring AP interface in open security mode, the credential ID must be set to
SL_WIFI_NO_CREDENTIAL_ID.The security field refers to the security type of the Wi-Fi AP. In Wi-Fi access-point mode, the AP supports OPEN, WPA-PSK, WPA2-PSK, WPA/WPA2 Mixed, and WPA3 security modes. Valid configurations are:
SL_WIFI_OPEN - For OPEN security mode (no encryption)
SL_WIFI_WPA - For WPA-PSK security mode
SL_WIFI_WPA2 - For WPA2-PSK security mode
SL_WIFI_WPA_WPA2_MIXED - For WPA/WPA2 mixed security mode
SL_WIFI_WPA3 - For WPA3 security mode
client_idle_timeout - This is the period after which the AP will disconnect the station if there are no wireless exchanges from the station to the AP. The keep-alive period is calculated in terms of 32 multiples of the beacon interval (i.e, if there are no wireless transfers from station to AP within a (32 x beacon_interval) milliseconds time period, the station will be disconnected). If null data-based method is selected, the AP checks the connectivity of the station by sending null data packet. If the station does not acknowledge the packet, that station will be disconnected from the AP after 4 retries. The maximum valid range supported is up to 255.
Public Attributes#
SSID (Service Set Identifier) of the Access Point.
Security mode of the Access Point.
Encryption mode of the Access Point.
Channel configuration of the Access Point.
Rate protocol of the Access Point.
Optional flags for AP configuration.
ID of secure credentials.
Keep alive type of the access point. One of the values from sl_wifi_ap_keepalive_type_t
Beacon interval of the access point in milliseconds.
Period after which AP will disconnect the station.
Number of beacons per DTIM.
The maximum number of associated clients must not exceed SL_WIFI_CUSTOM_FEAT_MAX_NUM_OF_CLIENTS. If this bit is not set in device configuration, the default maximum is 8 clients in AP-only mode and 4 clients in concurrent mode.
Flag to stop beaconing when there are no associated clients.
Flags to enable Transition Disable Indication (TDI). One of the values from sl_wifi_tdi_t.
A flag to enable 11n.
Public Attribute Documentation#
ssid#
sl_wifi_ssid_t sl_wifi_ap_configuration_t::ssid
SSID (Service Set Identifier) of the Access Point.
encryption#
sl_wifi_encryption_t sl_wifi_ap_configuration_t::encryption
Encryption mode of the Access Point.
channel#
sl_wifi_channel_t sl_wifi_ap_configuration_t::channel
Channel configuration of the Access Point.
rate_protocol#
sl_wifi_rate_protocol_t sl_wifi_ap_configuration_t::rate_protocol
Rate protocol of the Access Point.
options#
sl_wifi_ap_flag_t sl_wifi_ap_configuration_t::options
Optional flags for AP configuration.
Note
Dynamic configurability of hidden SSIDs is only available in APCONF when it is disabled in opermode.
credential_id#
sl_wifi_credential_id_t sl_wifi_ap_configuration_t::credential_id
ID of secure credentials.
keepalive_type#
uint8_t sl_wifi_ap_configuration_t::keepalive_type
Keep alive type of the access point. One of the values from sl_wifi_ap_keepalive_type_t
beacon_interval#
uint16_t sl_wifi_ap_configuration_t::beacon_interval
Beacon interval of the access point in milliseconds.
client_idle_timeout#
uint32_t sl_wifi_ap_configuration_t::client_idle_timeout
Period after which AP will disconnect the station.
maximum_clients#
uint8_t sl_wifi_ap_configuration_t::maximum_clients
The maximum number of associated clients must not exceed SL_WIFI_CUSTOM_FEAT_MAX_NUM_OF_CLIENTS. If this bit is not set in device configuration, the default maximum is 8 clients in AP-only mode and 4 clients in concurrent mode.
beacon_stop#
uint8_t sl_wifi_ap_configuration_t::beacon_stop
Flag to stop beaconing when there are no associated clients.
tdi_flags#
sl_wifi_tdi_t sl_wifi_ap_configuration_t::tdi_flags
Flags to enable Transition Disable Indication (TDI). One of the values from sl_wifi_tdi_t.