20#ifndef NET_WIFI_SCAN_LIST_H
21#define NET_WIFI_SCAN_LIST_H
Definitions for netdev common Wi-Fi code.
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.
Type of a Link Layer scan list.
Node type in a wifi scan list wifi_scan_list_t.
list_node_t node
Basic list node.
netopt_scan_result_t base
Basic scan result.