Definitions for netdev common Wi-Fi code.
struct wifi_scan_list_node wifi_scan_list_node_t
Node type in a wifi scan list wifi_scan_list_t.
struct wifi_scan_result wifi_scan_result_t
A Wi-Fi scan result.
l2scan_list_t wifi_scan_list_t
A Wi-Fi scan list.
unsigned l2scan_list_to_array(const l2scan_list_t *list, void *nodes_array, unsigned nodes_numof, size_t node_size)
Copy the content of a L2 scan list to an array to get rid of the list overhead.
void l2scan_list_empty(l2scan_list_t *list, list_node_t *nodes, unsigned nodes_numof, size_t node_size)
Empty the list to start a new scan.
void l2scan_list_insert(l2scan_list_t *list, list_node_t *nodes, unsigned nodes_numof, size_t node_size, const netopt_scan_result_t *result)
Insert a new scan result into the list.
static void wifi_scan_list_empty(wifi_scan_list_t *list, wifi_scan_list_node_t *nodes, unsigned nodes_numof)
Empty the WiFi scan list to start a new scan.
static void wifi_scan_list_insert(wifi_scan_list_t *list, wifi_scan_list_node_t *nodes, unsigned nodes_numof, const wifi_scan_result_t *result)
Insert a new WiFi scan result into the list.
static unsigned wifi_scan_list_to_array(const wifi_scan_list_t *list, wifi_scan_result_t *array, unsigned numof)
Copy the content of a WiFi scan list to an array to get rid of the list overhead.
list_node_t node
Basic list node.
netopt_scan_result_t base
Basic scan result.