Skip to content
Snippets Groups Projects
  • Gunar Schorcht's avatar
    698770dd
    cpu/esp8266: fix esp_wifi stability issues · 698770dd
    Gunar Schorcht authored
    Fixes sporadic blocking of the wifi thread in esp_wifi_recv_cb function under heavy network load conditions when frames are coming in faster than they can be processed. Since esp_wifi_recv_cb function is not executed in interrupt context, the msg_send function used for ISR event can block when the message queue is full. With this change esp_wifi can be flooded with icmpv6 packets of maximum size without any problems over hours.
    698770dd
    History
    cpu/esp8266: fix esp_wifi stability issues
    Gunar Schorcht authored
    Fixes sporadic blocking of the wifi thread in esp_wifi_recv_cb function under heavy network load conditions when frames are coming in faster than they can be processed. Since esp_wifi_recv_cb function is not executed in interrupt context, the msg_send function used for ISR event can block when the message queue is full. With this change esp_wifi can be flooded with icmpv6 packets of maximum size without any problems over hours.