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