MT7687 API Reference  LinkIt SDK v4
wifi_config_ext_t Struct Reference

Wi-Fi extention configuration for initialization. More...

#include <wifi_api.h>

Data Fields

uint32_t sta_wep_key_index_present: 1
 Set to 1 to mark the presence of the sta_wep_key_index, set to 0, otherwise. More...
 
uint32_t sta_auto_connect_present: 1
 Set to 1 to mark the presence of the sta_auto_connect, set to 0, otherwise. More...
 
uint32_t ap_wep_key_index_present: 1
 Set to 1 to mark the presence of the ap_wep_key_index, set to 0, otherwise. More...
 
uint32_t ap_hidden_ssid_enable_present: 1
 Set to 1 to mark the presence of the ap_hidden_ssid_enable, set to 0, otherwise. More...
 
uint32_t country_code_present: 1
 Set to 1 to mark the presence of the country_code[4], set to 0, otherwise. More...
 
uint32_t sta_bandwidth_present: 1
 Set to 1 to mark the presence of the sta_bandwidth, set to 0, otherwise. More...
 
uint32_t sta_wireless_mode_present: 1
 Set to 1 to mark the presence of the sta_wireless_mode, set to 0, otherwise. More...
 
uint32_t sta_listen_interval_present: 1
 Set to 1 to mark the presence of the sta_listen_interval, set to 0, otherwise. More...
 
uint32_t sta_power_save_mode_present: 1
 Set to 1 to mark the presence of the sta_power_save_mode, set to 0, otherwise. More...
 
uint32_t ap_wireless_mode_present: 1
 Set to 1 to mark the presence of the ap_wireless_mode, set to 0, otherwise. More...
 
uint32_t ap_dtim_interval_present: 1
 Set to 1 to mark the presence of the ap_dtim_interval, set to 0, otherwise. More...
 
uint32_t reserved_bit: 21
 Reserved. More...
 
uint32_t reserved_word [3]
 Reserved. More...
 
uint8_t sta_wep_key_index
 The WEP key index for STA. More...
 
uint8_t sta_auto_connect
 Set to 1 to enable the STA to automatically connect to the target AP after the initialization. More...
 
uint8_t ap_wep_key_index
 The WEP key index for AP. More...
 
uint8_t ap_hidden_ssid_enable
 Set to 1 to enable the hidden SSID in the beacon and probe response packets. More...
 
uint8_t country_code [4]
 The country code setting. More...
 
uint8_t sta_bandwidth
 The bandwidth setting for STA. More...
 
wifi_phy_mode_t sta_wireless_mode
 The wireless mode setting for STA. More...
 
uint8_t sta_listen_interval
 The listening interval setting for STA. More...
 
wifi_power_saving_mode_t sta_power_save_mode
 The power saving mode setting for STA. More...
 
wifi_phy_mode_t ap_wireless_mode
 The wireless mode setting for AP. More...
 
uint8_t ap_dtim_interval
 The DTIM interval setting for AP. More...
 

Detailed Description

Wi-Fi extention configuration for initialization.

Field Documentation

uint8_t ap_dtim_interval

The DTIM interval setting for AP.

The interval range is from 1 to 255 beacon intervals.

uint32_t ap_dtim_interval_present

Set to 1 to mark the presence of the ap_dtim_interval, set to 0, otherwise.

uint8_t ap_hidden_ssid_enable

Set to 1 to enable the hidden SSID in the beacon and probe response packets.

The default is set to 0.

uint32_t ap_hidden_ssid_enable_present

Set to 1 to mark the presence of the ap_hidden_ssid_enable, set to 0, otherwise.

uint8_t ap_wep_key_index

The WEP key index for AP.

It should be set when the AP uses WEP encryption.

uint32_t ap_wep_key_index_present

Set to 1 to mark the presence of the ap_wep_key_index, set to 0, otherwise.

wifi_phy_mode_t ap_wireless_mode

The wireless mode setting for AP.

Please refer to the definition of wifi_phy_mode_t.

uint32_t ap_wireless_mode_present

Set to 1 to mark the presence of the ap_wireless_mode, set to 0, otherwise.

uint8_t country_code[4]

The country code setting.

uint32_t country_code_present

Set to 1 to mark the presence of the country_code[4], set to 0, otherwise.

uint32_t reserved_bit

Reserved.

uint32_t reserved_word[3]

Reserved.

uint8_t sta_auto_connect

Set to 1 to enable the STA to automatically connect to the target AP after the initialization.

Set to 0 to force the STA to stay idle after the initialization and to call wifi_config_reload_setting() to trigger connection. The default is set to 1.

uint32_t sta_auto_connect_present

Set to 1 to mark the presence of the sta_auto_connect, set to 0, otherwise.

uint8_t sta_bandwidth

The bandwidth setting for STA.

The value is either WIFI_IOT_COMMAND_CONFIG_BANDWIDTH_20MHZ or WIFI_IOT_COMMAND_CONFIG_BANDWIDTH_40MHZ, or WIFI_IOT_COMMAND_CONFIG_BANDWIDTH_2040MHZ.

uint32_t sta_bandwidth_present

Set to 1 to mark the presence of the sta_bandwidth, set to 0, otherwise.

uint8_t sta_listen_interval

The listening interval setting for STA.

The interval range is from 1 to 255 beacon intervals.

uint32_t sta_listen_interval_present

Set to 1 to mark the presence of the sta_listen_interval, set to 0, otherwise.

wifi_power_saving_mode_t sta_power_save_mode

The power saving mode setting for STA.

Please refer to the definition of wifi_power_saving_mode_t.

uint32_t sta_power_save_mode_present

Set to 1 to mark the presence of the sta_power_save_mode, set to 0, otherwise.

uint8_t sta_wep_key_index

The WEP key index for STA.

It should be set when the STA uses the WEP encryption.

uint32_t sta_wep_key_index_present

Set to 1 to mark the presence of the sta_wep_key_index, set to 0, otherwise.

wifi_phy_mode_t sta_wireless_mode

The wireless mode setting for STA.

Please refer to the definition of wifi_phy_mode_t.

uint32_t sta_wireless_mode_present

Set to 1 to mark the presence of the sta_wireless_mode, set to 0, otherwise.


The documentation for this struct was generated from the following file: