esp_wifi: itwt add setup timeout timer to track response frame

This commit is contained in:
xuxiao
2023-05-26 15:11:47 +08:00
parent 713da85988
commit 722c60c14b
12 changed files with 155 additions and 68 deletions

View File

@@ -372,12 +372,12 @@ static esp_err_t iperf_run_tcp_client(void)
wifi_cmd_clr_tx_statistics(0, NULL);
#endif
socket_send(client_socket, dest_addr, IPERF_TRANS_TYPE_TCP, s_iperf_ctrl.cfg.bw_lim);
#if CONFIG_ESP_WIFI_ENABLE_WIFI_TX_STATS
wifi_cmd_get_tx_statistics(0, NULL);
#endif
#if CONFIG_ESP_WIFI_ENABLE_WIFI_RX_STATS
wifi_cmd_get_rx_statistics(0, NULL);
#endif
#if CONFIG_ESP_WIFI_ENABLE_WIFI_TX_STATS
wifi_cmd_get_tx_statistics(0, NULL);
#endif
exit:
if (client_socket != -1) {