Closed doragasu closed 3 years ago
Thanks for reporting, we will look into.
Hi @doragasu, It's also a bug. Repair patch will be release soon. Thanks for reporting.
Great, thanks for support!
Thanks for reporting and sorry for slow turnaround, fix on release/4.2 is available at https://github.com/espressif/esp-idf/commit/f2f42c4bfc00583e59c743583806f6cefc34b44c, feel free to reopen if the issue still happens. Thanks.
Environment
Problem Description
When using a device configured in AP mode and no STAs associated, each call to
esp_wifi_80211_tx()
returnsESP_OK
, but the frame is not sent (I am verifying with Wireshark), and also in the logs a warning message likeW (356074) wifi:conn is released
is printed.Expected Behavior
With the device configured as AP and no STAs associated, a call to
esp_wifi_80211_tx()
sends the frame to the air, and no warning message is printed in the log trace.Actual Behavior
With the device configured as AP and no STAs associated, a call to
esp_wifi_80211_tx()
does not send the frame to the air, and a warning messagewifi:conn is released
is printed in the log trace.Steps to reproduce
Code to reproduce this issue
I am using a slightly modified version of this code, to update to the new event handler: https://github.com/Jeija/esp32-80211-tx
Modifying the code to work as STA instead of AP, makes it work. Also the original code at https://github.com/Jeija/esp32-80211-tx worked with earlier IDF versions (and works also on current ESP8266_RTOS_SDK v3.2), so this must be a regression.
Debug Logs
During operation of program above, logs look like this: