diff --git a/components/esp_wifi/Kconfig b/components/esp_wifi/Kconfig index 67f268c8fd..4536eed694 100644 --- a/components/esp_wifi/Kconfig +++ b/components/esp_wifi/Kconfig @@ -267,7 +267,10 @@ menu "Wi-Fi" range 6 32 default 32 help - Set the number of WiFi management short buffer. + Set the maximum number of Wi-Fi management short buffers. These buffers are dynamically allocated, + with their size determined by the length of the management packet to be sent. When a management + packet is less than 64 bytes, the Wi-Fi driver classifies it as a short management packet and + assigns it to one of these buffers. config ESP_WIFI_IRAM_OPT bool "WiFi IRAM speed optimization" diff --git a/docs/en/api-guides/wifi.rst b/docs/en/api-guides/wifi.rst index 17219ccb7c..7bfda15c3f 100644 --- a/docs/en/api-guides/wifi.rst +++ b/docs/en/api-guides/wifi.rst @@ -2563,29 +2563,29 @@ The parameters not mentioned in the following table should be set to the default - 12 - 8 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 15 - - 15 - - 15 - - 15 + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 16 - - 16 - - 16 - - 16 - - 16 + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 13 - - 13 - - 13 - - 13 - - 13 + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - ENABLE * - TCP TX throughput (Mbit/s) - 74.6 - 50.8 @@ -2675,23 +2675,23 @@ The parameters not mentioned in the following table should be set to the default - 8 - 6 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 15 - - 0 + - ENABLE + - ENABLE + - ENABLE + - ENABLE + - DISABLE * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 16 - - 0 - - 0 + - ENABLE + - ENABLE + - ENABLE + - DISABLE + - DISABLE * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 - - 0 - - 0 + - ENABLE + - ENABLE + - DISABLE + - DISABLE + - DISABLE * - INSTRUCTION_CACHE - 16 - 16 @@ -2768,9 +2768,9 @@ The parameters not mentioned in the following table should be set to the default - 16 - 6 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 + - ENABLE + - ENABLE + - DISABLE * - TCP TX throughput (Mbit/s) - 38.1 - 27.2 @@ -2827,9 +2827,9 @@ The parameters not mentioned in the following table should be set to the default - 16 - 6 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 + - ENABLE + - ENABLE + - DISABLE * - TCP TX throughput (Mbit/s) - 30.5 - 25.9 @@ -2886,9 +2886,9 @@ The parameters not mentioned in the following table should be set to the default - 14 - 6 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 + - ENABLE + - ENABLE + - DISABLE * - TCP TX throughput (Mbit/s) - 21.6 - 21.4 @@ -2945,17 +2945,17 @@ The parameters not mentioned in the following table should be set to the default - 32 - 6 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 + - ENABLE + - ENABLE + - ENABLE * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 16 + - ENABLE + - ENABLE + - ENABLE * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 + - ENABLE + - ENABLE + - DISABLE * - INSTRUCTION_CACHE - 32 - 32 @@ -3121,20 +3121,20 @@ The parameters not mentioned in the following table should be set to the default - 65 - 65 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 0 + - ENABLE + - ENABLE + - ENABLE + - DISABLE * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 0 - - 0 + - ENABLE + - ENABLE + - DISABLE + - DISABLE * - LWIP_IRAM_OPTIMIZATION - - 13 - - 0 - - 0 - - 0 + - ENABLE + - DISABLE + - DISABLE + - DISABLE * - TCP TX throughput (Mbit/s) - 37.5 - 31.7 @@ -3203,20 +3203,20 @@ The parameters not mentioned in the following table should be set to the default - 32 - 32 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 0 + - ENABLE + - ENABLE + - ENABLE + - DISABLE * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 0 - - 0 + - ENABLE + - ENABLE + - DISABLE + - DISABLE * - LWIP_IRAM_OPTIMIZATION - - 13 - - 0 - - 0 - - 0 + - ENABLE + - DISABLE + - DISABLE + - DISABLE * - INSTRUCTION_CACHE - 16 - 16 @@ -3310,20 +3310,20 @@ The parameters not mentioned in the following table should be set to the default - 32 - 32 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 0 + - ENABLE + - ENABLE + - ENABLE + - DISABLE * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 0 - - 0 + - ENABLE + - ENABLE + - DISABLE + - DISABLE * - LWIP_IRAM_OPTIMIZATION - - 13 - - 0 - - 0 - - 0 + - ENABLE + - DISABLE + - DISABLE + - DISABLE * - LWIP_UDP_RECVMBOX_SIZE - 16 - 16 @@ -3427,20 +3427,20 @@ The parameters not mentioned in the following table should be set to the default - 32 - 32 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 0 + - ENABLE + - ENABLE + - ENABLE + - DISABLE * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 0 - - 0 + - ENABLE + - ENABLE + - DISABLE + - DISABLE * - LWIP_IRAM_OPTIMIZATION - - 13 - - 0 - - 0 - - 0 + - ENABLE + - DISABLE + - DISABLE + - DISABLE * - LWIP_UDP_RECVMBOX_SIZE - 16 - 16 diff --git a/docs/zh_CN/api-guides/wifi.rst b/docs/zh_CN/api-guides/wifi.rst index 581cf1cd43..66503c521b 100644 --- a/docs/zh_CN/api-guides/wifi.rst +++ b/docs/zh_CN/api-guides/wifi.rst @@ -2531,29 +2531,29 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 12 - 8 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 15 - - 15 - - 15 - - 15 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 16 - - 16 - - 16 - - 16 - - 16 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 13 - - 13 - - 13 - - 13 - - 13 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 + - 开启 * - TCP 发送数据吞吐量 (Mbit/s) - 74.6 - 50.8 @@ -2643,23 +2643,23 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 8 - 6 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 15 - - 0 + - 开启 + - 开启 + - 开启 + - 开启 + - 关闭 * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 16 - - 0 - - 0 + - 开启 + - 开启 + - 开启 + - 关闭 + - 关闭 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 - - 0 - - 0 + - 开启 + - 开启 + - 关闭 + - 关闭 + - 关闭 * - INSTRUCTION_CACHE - 16 - 16 @@ -2736,9 +2736,9 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 16 - 6 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 + - 开启 + - 开启 + - 关闭 * - TCP 发送数据吞吐量 (Mbit/s) - 38.1 - 27.2 @@ -2795,9 +2795,9 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 16 - 6 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 + - 开启 + - 开启 + - 关闭 * - TCP 发送数据吞吐量 (Mbit/s) - 30.5 - 25.9 @@ -2854,9 +2854,9 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 14 - 6 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 + - 开启 + - 开启 + - 关闭 * - TCP 发送数据吞吐量 (Mbit/s) - 21.6 - 21.4 @@ -2913,17 +2913,17 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 32 - 6 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 + - 开启 + - 开启 + - 开启 * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 16 + - 开启 + - 开启 + - 开启 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 13 - - 0 + - 开启 + - 开启 + - 关闭 * - INSTRUCTION_CACHE - 32 - 32 @@ -3089,20 +3089,20 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 65 - 65 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 0 + - 开启 + - 开启 + - 开启 + - 关闭 * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 0 - - 0 + - 开启 + - 开启 + - 关闭 + - 关闭 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 0 - - 0 - - 0 + - 开启 + - 关闭 + - 关闭 + - 关闭 * - TCP 发送数据吞吐量 (Mbit/s) - 37.5 - 31.7 @@ -3171,20 +3171,20 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 32 - 32 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 0 + - 开启 + - 开启 + - 开启 + - 关闭 * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 0 - - 0 + - 开启 + - 开启 + - 关闭 + - 关闭 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 0 - - 0 - - 0 + - 开启 + - 关闭 + - 关闭 + - 关闭 * - INSTRUCTION_CACHE - 16 - 16 @@ -3278,20 +3278,20 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 32 - 32 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 0 + - 开启 + - 开启 + - 开启 + - 关闭 * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 0 - - 0 + - 开启 + - 开启 + - 关闭 + - 关闭 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 0 - - 0 - - 0 + - 开启 + - 关闭 + - 关闭 + - 关闭 * - LWIP_UDP_RECVMBOX_SIZE - 16 - 16 @@ -3395,20 +3395,20 @@ Wi-Fi 使用的堆内存峰值是 Wi-Fi 驱动程序 **理论上消耗的最大 - 32 - 32 * - WIFI_IRAM_OPT - - 15 - - 15 - - 15 - - 0 + - 开启 + - 开启 + - 开启 + - 关闭 * - WIFI_RX_IRAM_OPT - - 16 - - 16 - - 0 - - 0 + - 开启 + - 开启 + - 关闭 + - 关闭 * - LWIP_IRAM_OPTIMIZATION - - 13 - - 0 - - 0 - - 0 + - 开启 + - 关闭 + - 关闭 + - 关闭 * - LWIP_UDP_RECVMBOX_SIZE - 16 - 16