MediaTek LinkIt™ Development
Platform for RTOS Wi-Fi Developer's
Guide
© 2015 - 2017 MediaTek Inc.
Page 14 of 36
This document contains information that is proprietary to MediaTek Inc. (“MediaTek”) and/or its licensor(s).
Any unauthorized use, reproduction or disclosure of this document in whole or in part is strictly prohibited.
Table 6. Configuration and connection APIs in the AP mode
API
Description
wifi_config_set_opmode()
This function sets the Wi-Fi operation mode and it
takes effect immediately.
wifi_config_set_ssid()
This function sets the SSID and SSID length that Wi-
Fi driver uses for a specific wireless port.
wifi_config_set_bandwidth()
This function sets the bandwidth configuration that
the Wi-Fi driver uses for a specific wireless port.
wifi_config_set_wireless_mode()
This function sets the wireless mode that the Wi-Fi
driver uses for a specific wireless port.
wifi_config_set_channel()
This function sets the channel number that the Wi-Fi
driver uses for a specific wireless port.
wifi_config_set_security_mode()
This function sets the authentication and encryption
modes used in the Wi-Fi driver for a specific wireless
wifi_config_set_wpa_psk_key()
This function sets the password of WPA-PSK or
WPA2-PSK encryption type used in the Wi-Fi driver.
wifi_config_set_pmk()
This function sets the PMK used in the Wi-Fi driver
for a specific wireless port.
wifi_config_set_wep_key()
This function sets the WEP key group used in the Wi-
Fi driver for a specific wireless port.
wifi_config_set_country_code()
This function sets the country code used in the Wi-Fi
driver.
wifi_config_get_opmode()
This function receives the wireless operation mode
of the Wi-Fi driver.
wifi_config_get_mac_address()
This function gets the MAC address of a specific
wireless port used by the Wi-Fi driver.
wifi_config_get_ssid()
This function gets the SSID and SSID length of a
specific wireless port used by the Wi-Fi driver.
wifi_config_get_bandwidth()
This function gets the bandwidth configuration that
the Wi-Fi driver uses for a specific wireless port.
wifi_config_get_channel()
This function gets the channel number that the Wi-
Fi driver uses for a specific wireless port.
wifi_config_get_wireless_mode()
This function gets the wireless mode that the Wi-Fi
driver uses for a specific wireless port.
wifi_config_get_security_mode()
This function gets the authentication and encryption
modes used in the Wi-Fi driver for a specific wireless
wifi_config_get_wpa_psk_key()
This function gets the password of WPA-PSK or
WPA2-PSK encryption type used in the Wi-Fi driver
for a specific wireless port
wifi_config_get_pmk()
This function gets the PMK used in the Wi-Fi driver
for a specific wireless port.
wifi_config_get_wep_key()
This function gets the WEP key group used in the
Wi-Fi driver for a specific wireless port.
wifi_config_get_country_code()
This function gets the country code used in the Wi-Fi
driver.
wifi_connection_parse_beacon()
This function parses the beacon or probe request
packets.