|
| void | wifi_init (wifi_config_t *config, wifi_config_ext_t *config_ext) |
| | This function initializes the Wi-Fi module. More...
|
| |
| int32_t | wifi_config_get_opmode (uint8_t *mode) |
| | This function receives the wireless operation mode of the Wi-Fi driver. More...
|
| |
| int32_t | wifi_config_set_opmode (uint8_t mode) |
| | This function sets the Wi-Fi operation mode and it takes effect immediately. More...
|
| |
| int32_t | wifi_config_get_mac_address (uint8_t port, uint8_t *address) |
| | This function gets the MAC address of a specific wireless port used by the Wi-Fi driver. More...
|
| |
| int32_t | wifi_config_get_ssid (uint8_t port, uint8_t *ssid, uint8_t *ssid_length) |
| | This function gets the SSID and SSID length of a specific wireless port used by the Wi-Fi driver. More...
|
| |
| int32_t | wifi_config_set_ssid (uint8_t port, uint8_t *ssid, uint8_t ssid_length) |
| | This function sets the SSID and SSID length that the Wi-Fi driver uses for a specific wireless port. More...
|
| |
| int32_t | wifi_config_get_bssid (uint8_t *bssid) |
| | This function should be used only in station mode or in APCLI port of repeater mode. More...
|
| |
| int32_t | wifi_config_set_bssid (uint8_t *bssid) |
| | This function should be used only in station mode or in APCLI port of repeater mode. More...
|
| |
| int32_t | wifi_config_set_bandwidth (uint8_t port, uint8_t bandwidth) |
| | This function sets the bandwidth configuration that the Wi-Fi driver uses for a specific wireless port. More...
|
| |
| int32_t | wifi_config_get_bandwidth (uint8_t port, uint8_t *bandwidth) |
| | This function gets the bandwidth configuration that the Wi-Fi driver uses for a specific wireless port. More...
|
| |
| int32_t | wifi_config_set_channel (uint8_t port, uint8_t channel) |
| | This function sets the channel number that the Wi-Fi driver uses for a specific wireless port. More...
|
| |
| int32_t | wifi_config_get_channel (uint8_t port, uint8_t *channel) |
| | This function gets the channel number that the Wi-Fi driver uses for a specific wireless port. More...
|
| |
| int32_t | wifi_config_get_wireless_mode (uint8_t port, wifi_phy_mode_t *mode) |
| | This function gets the wireless mode that the Wi-Fi driver uses for a specific wireless port. More...
|
| |
| int32_t | wifi_config_set_wireless_mode (uint8_t port, wifi_phy_mode_t mode) |
| | This function gets the wireless mode that the Wi-Fi driver uses for a specific wireless port. More...
|
| |
| int32_t | wifi_config_set_country_code (wifi_country_code_t *wifi_country_code) |
| | Set the country code. More...
|
| |
| int32_t | wifi_config_get_country_code (wifi_country_code_t *wifi_country_code) |
| | This function gets the country code string that the Wi-Fi driver uses. More...
|
| |
| int32_t | wifi_config_get_country_region (uint8_t band, uint8_t *region) |
| |
| int32_t | wifi_config_set_country_region (uint8_t band, uint8_t region) |
| |
| int32_t | wifi_config_get_dtim_interval (uint8_t *interval) |
| | This function gets the DTIM interval used in the Wi-Fi driver in the SoftAP mode. More...
|
| |
| int32_t | wifi_config_set_dtim_interval (uint8_t interval) |
| | This function sets the DTIM interval used in the Wi-Fi driver in the SoftAP mode. More...
|
| |
| int32_t | wifi_config_get_listen_interval (uint8_t *interval) |
| | This function gets the beacon listen interval used in the Wi-Fi driver in a station mode. More...
|
| |
| int32_t | wifi_config_set_listen_interval (uint8_t interval) |
| | This function sets the beacon listen interval used in the Wi-Fi driver in a station mode. More...
|
| |
| int32_t | wifi_config_get_security_mode (uint8_t port, wifi_auth_mode_t *auth_mode, wifi_encrypt_type_t *encrypt_type) |
| | This function gets the authentication and encryption modes used in the Wi-Fi driver for a specific wireless port. More...
|
| |
| int32_t | wifi_config_set_security_mode (uint8_t port, wifi_auth_mode_t auth_mode, wifi_encrypt_type_t encrypt_type) |
| | This function sets the authentication and encryption modes used in the Wi-Fi driver for a specific wireless port. More...
|
| |
| int32_t | wifi_config_get_wpa_psk_key (uint8_t port, uint8_t *passphrase, uint8_t *passphrase_length) |
| | This function gets the password of the WPA-PSK or WPA2-PSK encryption type used in the Wi-Fi driver for a specific wireless port. More...
|
| |
| int32_t | wifi_config_set_wpa_psk_key (uint8_t port, uint8_t *passphrase, uint8_t passphrase_length) |
| | This function sets the password of the WPA-PSK or WPA2-PSK encryption type used in the Wi-Fi driver for a specific wireless port. More...
|
| |
| int32_t | wifi_config_get_pmk (uint8_t port, uint8_t *pmk) |
| |
| int32_t | wifi_config_set_pmk (uint8_t port, uint8_t *pmk) |
| |
| int32_t | wifi_config_get_wep_key (uint8_t port, wifi_wep_key_t *wep_keys) |
| | This function gets the WEP key group used in the Wi-Fi driver for a specific wireless port. More...
|
| |
| int32_t | wifi_config_set_wep_key (uint8_t port, wifi_wep_key_t *wep_keys) |
| | This function sets the WEP key group used in the Wi-Fi driver for a specific wireless port. More...
|
| |
| int32_t | wifi_config_reload_setting (void) |
| | This function informs the Wi-Fi driver to reload the configuration and applies the configuration settings of the Wi-Fi Configuration APIs. More...
|
| |
| int32_t | wifi_config_register_rx_handler (wifi_rx_handler_t wifi_rx_handler) |
| | This function registers a handler to receive 802.11 raw packets from a network processor. More...
|
| |
| int32_t | wifi_config_unregister_rx_handler (void) |
| | This function unregisters the handler to receive 802.11 raw packets from the network processor. More...
|
| |
| int32_t | wifi_config_get_rx_filter (uint32_t *flag) |
| | This function gets the Wi-Fi RX filter used in the Wi-Fi driver. More...
|
| |
| int32_t | wifi_config_set_rx_filter (uint32_t flag) |
| | This function sets the Wi-Fi RX filter used in the Wi-Fi driver. More...
|
| |
| int32_t | wifi_config_get_smart_connection_filter (uint8_t *flag) |
| | This function gets MediaTek Smart Connection RX Filter used in the Wi-Fi driver. More...
|
| |
| int32_t | wifi_config_set_smart_connection_filter (uint8_t flag) |
| | This function sets MediaTek Smart Connection RX Filter used in the Wi-Fi driver. More...
|
| |
| int32_t | wifi_config_get_radio (uint8_t *on_off) |
| | This function gets the radio status of the Wi-Fi driver. More...
|
| |
| int32_t | wifi_config_set_radio (uint8_t on_off) |
| | This function sets the radio status of the Wi-Fi driver. More...
|
| |
| int32_t | wifi_connection_disconnect_ap (void) |
| | This function immediately disconnects the current connection from the connected AP. More...
|
| |
| int32_t | wifi_connection_disconnect_sta (uint8_t *address) |
| | This function disconnects specific station's connection, and takes effect immediately. More...
|
| |
| int32_t | wifi_connection_get_link_status (uint8_t *link_status) |
| | This function gets the current STA port's link up or link down connection status. More...
|
| |
| int32_t | wifi_connection_scan_init (wifi_scan_list_item_t *ap_list, uint32_t max_count) |
| | This function initializes the scan table in the Wi-Fi driver. More...
|
| |
| int32_t | wifi_connection_scan_deinit (void) |
| | This function deinitializes the scan table. More...
|
| |
| int32_t | wifi_connection_start_scan (uint8_t *ssid, uint8_t ssid_length, uint8_t *bssid, uint8_t scan_mode, uint8_t scan_option) |
| | This function starts Wi-Fi Scanning. More...
|
| |
| int32_t | wifi_connection_stop_scan (void) |
| | This function stops the Wi-Fi Scanning triggered by wifi_connection_start_scan(). More...
|
| |
| int32_t | wifi_connection_parse_beacon (uint8_t *pbuf, uint32_t len, wifi_scan_list_item_t *ap_data) |
| | This function parses the beacon or probe request packets. More...
|
| |
| int32_t | wifi_connection_get_sta_list (uint8_t *number, wifi_sta_list_t *sta_list) |
| | This function gets the station list associated with the Wi-Fi, only for SoftAP mode. More...
|
| |
| int32_t | wifi_connection_get_max_sta_number (uint8_t *sta_number) |
| | This function gets the maximum number of the supported stations in the AP mode or repeater mode. More...
|
| |
| int32_t | wifi_connection_get_rssi (int8_t *rssi) |
| | This function gets the RSSI of the connected AP. More...
|
| |
| int32_t | wifi_connection_register_event_handler (wifi_event_t event, wifi_event_handler_t handler) |
| | This function registers the Wi-Fi event handler. More...
|
| |
| int32_t | wifi_connection_register_event_notifier (uint8_t event, wifi_event_handler_t notifier) |
| |
| int32_t | wifi_connection_unregister_event_handler (wifi_event_t event, wifi_event_handler_t handler) |
| | This function unregisters Wi-Fi event handler. More...
|
| |
| int32_t | wifi_connection_unregister_event_notifier (uint8_t event, wifi_event_handler_t notifier) |
| |
| int32_t | wifi_profile_set_opmode (uint8_t mode) |
| |
| int32_t | wifi_profile_get_opmode (uint8_t *mode) |
| |
| int32_t | wifi_profile_set_channel (uint8_t port, uint8_t channel) |
| |
| int32_t | wifi_profile_get_channel (uint8_t port, uint8_t *channel) |
| |
| int32_t | wifi_profile_set_bandwidth (uint8_t port, uint8_t bandwidth) |
| |
| int32_t | wifi_profile_get_bandwidth (uint8_t port, uint8_t *bandwidth) |
| |
| int32_t | wifi_profile_get_mac_address (uint8_t port, uint8_t *address) |
| |
| int32_t | wifi_profile_set_mac_address (uint8_t port, uint8_t *address) |
| |
| int32_t | wifi_profile_set_ssid (uint8_t port, uint8_t *ssid, uint8_t ssid_length) |
| |
| int32_t | wifi_profile_get_ssid (uint8_t port, uint8_t *ssid, uint8_t *ssid_length) |
| |
| int32_t | wifi_profile_set_wireless_mode (uint8_t port, wifi_phy_mode_t mode) |
| |
| int32_t | wifi_profile_get_wireless_mode (uint8_t port, wifi_phy_mode_t *mode) |
| |
| int32_t | wifi_profile_set_security_mode (uint8_t port, wifi_auth_mode_t auth_mode, wifi_encrypt_type_t encrypt_type) |
| |
| int32_t | wifi_profile_get_security_mode (uint8_t port, wifi_auth_mode_t *auth_mode, wifi_encrypt_type_t *encrypt_type) |
| |
| int32_t | wifi_profile_set_wpa_psk_key (uint8_t port, uint8_t *passphrase, uint8_t passphrase_length) |
| |
| int32_t | wifi_profile_get_wpa_psk_key (uint8_t port, uint8_t *passphrase, uint8_t *passphrase_length) |
| |
| int32_t | wifi_profile_set_pmk (uint8_t port, uint8_t *pmk) |
| |
| int32_t | wifi_profile_get_pmk (uint8_t port, uint8_t *pmk) |
| |
| int32_t | wifi_profile_set_wep_key (uint8_t port, wifi_wep_key_t *wep_keys) |
| |
| int32_t | wifi_profile_get_wep_key (uint8_t port, wifi_wep_key_t *wep_keys) |
| |
| int32_t | wifi_profile_get_country_region (uint8_t band, uint8_t *region) |
| |
| int32_t | wifi_profile_set_country_region (uint8_t band, uint8_t region) |
| |
| int32_t | wifi_profile_get_dtim_interval (uint8_t *interval) |
| |
| int32_t | wifi_profile_set_dtim_interval (uint8_t interval) |
| |
| int32_t | wifi_profile_get_listen_interval (uint8_t *interval) |
| |
| int32_t | wifi_profile_set_listen_interval (uint8_t interval) |
| |
| int32_t | wifi_profile_set_power_save_mode (uint8_t power_save_mode) |
| |
| int32_t | wifi_profile_get_power_save_mode (uint8_t *power_save_mode) |
| |
| int32_t | wifi_profile_commit_setting (char *profile_section) |
| |
| int32_t | wifi_profile_get_profile (uint8_t port, wifi_profile_t *profile) |
| |
| int32_t | wifi_wps_config_get_pin_code (uint8_t port, uint8_t *pin_code) |
| | This function gets the pin code of a specific wireless port, the pin code may be different for each function call. More...
|
| |
| int32_t | wifi_wps_connection_by_pbc (uint8_t port, uint8_t *bssid) |
| | This function triggers a WPS PBC process. More...
|
| |
| int32_t | wifi_wps_connection_by_pin (uint8_t port, uint8_t *bssid, uint8_t *pin_code) |
| | This function triggers the WPS PIN process. More...
|
| |
| int32_t | wifi_wps_config_set_device_info (wifi_wps_device_info_t *device_info) |
| | This function sets the WPS device information. More...
|
| |
| int32_t | wifi_wps_config_get_device_info (wifi_wps_device_info_t *device_info) |
| | This function gets the WPS device information. More...
|
| |
| int32_t | wifi_wps_config_set_auto_connection (bool auto_connection) |
| | This function controls the auto connection behavior after the WPS credential information is received by the Enrollee. More...
|
| |
| int32_t | wifi_wps_config_get_auto_connection (bool *auto_connection) |
| | This function gets auto connection configuration. More...
|
| |
| int32_t | wifi_connection_send_raw_packet (uint8_t *raw_packet, uint32_t length) |
| | This function sends a raw Wi-Fi packet over the air. More...
|
| |