Skip to content
Snippets Groups Projects
  1. Jan 25, 2019
    • Gunar Schorcht's avatar
      cpu/esp8266: call _recv directly in esp_wifi · 24b71a7f
      Gunar Schorcht authored
      Since _esp_wifi_recv_cb is not executed in interrupt context but in the context of the `ets` thread, it is not necessary to pass the`NETDEV_EVENT_ISR` event first. Instead, the receive function can be called directly which result in much faster handling, a less frame lost rate and more robustness.
      24b71a7f
    • Gunar Schorcht's avatar
      cpu/esp8266: removes the mutex in esp_wifi · f12606d7
      Gunar Schorcht authored
      Since _esp_wifi_recv_cb is not executed in interrupt context but in the context of the `ets` thread, the receive function can be called directly. There is no need for a mutex anymore to synchronize the access to the receive buffer between _esp_wifi_recv_cb and _recv function.
      f12606d7
  2. Jan 24, 2019
Loading