Go to the documentation of this file.
19 #ifndef ESP_WIFI_NETDEV_H
20 #define ESP_WIFI_NETDEV_H
36 #ifndef ESP_WIFI_BUFSIZE
37 #define ESP_WIFI_BUFSIZE (ETHERNET_MAX_LEN << 1)
59 #ifdef MODULE_ESP_WIFI_AP
60 uint8_t sta_connected;
Structure to hold driver interface -> function mapping.
netdev_t netdev
netdev parent struct
A utility for storing and retrieving byte data using a ring buffer.
const netdev_driver_t esp_wifi_driver
Reference to the netdev device driver struct.
#define ETHERNET_MAX_LEN
maximum number of bytes in an ethernet frame (with FCF)
#define ESP_WIFI_BUFSIZE
Buffer size used for RX buffering.
uint8_t event_conn
number of pending connect events
Definitions for Ethernet.
ringbuffer_t rx_buf
ringbuffer for incoming packages
Device descriptor for ESP WiFi devices.
uint8_t event_recv
number of frame received events
mutex_t dev_lock
device is already in use
Definitions low-level network driver interface.
uint8_t event_disc
number of pending disc events
Structure to hold driver state.
bool connected
indicates whether connected to AP
Mutex for thread synchronization.
uint16_t tx_len
number of bytes in transmit buffer