Wrapper around l2scan list for WiFi scan results.
More...
Wrapper around l2scan list for WiFi scan results.
|
file | wifi_scan_list.h |
| Thin wrapper around l2scan list to support WiFi scan results.
|
|
◆ wifi_scan_list_empty()
Empty the WiFi scan list to start a new scan.
- Parameters
-
[in,out] | list | Pointer to WiFi scan result list |
[in,out] | nodes | Pointer to WiFi scan result nodes array |
[in] | nodes_numof | Number of nodes in the array |
Definition at line 39 of file wifi_scan_list.h.
◆ wifi_scan_list_insert()
Insert a new WiFi scan result into the list.
- Parameters
-
[in,out] | list | Pointer to WiFi scan result list |
[in,out] | nodes | Pointer to WiFi scan result nodes array |
[in] | nodes_numof | Number of nodes in the array |
[in] | result | New WiFi scan result to insert |
Definition at line 55 of file wifi_scan_list.h.
◆ wifi_scan_list_to_array()
Copy the content of a WiFi scan list to an array to get rid of the list overhead.
- Parameters
-
[in] | list | Pointer to list |
[in] | array | Buffer of nodes to store the result |
[in] | numof | Maximum number of nodes that can be copied |
- Returns
- Number of copied nodes
Definition at line 73 of file wifi_scan_list.h.