mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
feat(net80211): add esp_wifi_set_promiscuous_ctrl_filter and esp_wifi_get_promiscuous_ctrl_filter
This commit is contained in:
@ -651,6 +651,31 @@ esp_err_t esp_wifi_get_promiscuous_filter(wifi_promiscuous_filter_t *filter);
|
||||
*/
|
||||
esp_err_t esp_wifi_set_config(wifi_interface_t interface, wifi_config_t *conf);
|
||||
|
||||
/**
|
||||
* @brief Enable subtype filter of the control packet in promiscuous mode.
|
||||
*
|
||||
* @note The default filter is to filter none control packet.
|
||||
*
|
||||
* @param filter the subtype of the control packet filtered in promiscuous mode.
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK: succeed
|
||||
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
|
||||
*/
|
||||
esp_err_t esp_wifi_set_promiscuous_ctrl_filter(const wifi_promiscuous_filter_t *filter);
|
||||
|
||||
/**
|
||||
* @brief Get the subtype filter of the control packet in promiscuous mode.
|
||||
*
|
||||
* @param[out] filter store the current status of subtype filter of the control packet in promiscuous mode
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK: succeed
|
||||
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
|
||||
* - ESP_ERR_WIFI_ARG: invalid argument
|
||||
*/
|
||||
esp_err_t esp_wifi_get_promiscuous_ctrl_filter(wifi_promiscuous_filter_t *filter);
|
||||
|
||||
/**
|
||||
* @brief Get configuration of specified interface
|
||||
*
|
||||
|
@ -1,6 +1,6 @@
|
||||
gwen:
|
||||
core: 3613883
|
||||
net80211: c4f690c
|
||||
net80211: a982c0f
|
||||
pp: df2730a
|
||||
wpa: 4e2372f
|
||||
espnow: eeb16c6
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user