12#ifndef ZEPHYR_INCLUDE_NET_WIFI_UTILS_H_
13#define ZEPHYR_INCLUDE_NET_WIFI_UTILS_H_
32#define WIFI_UTILS_MAX_BAND_STR_LEN 3
35#define WIFI_UTILS_MAX_CHAN_STR_LEN 4
bool wifi_utils_validate_chan_6g(uint16_t chan)
Validate a channel against the 6 GHz band.
int wifi_utils_parse_scan_ssids(char *scan_ssids_str, const char *ssids[], uint8_t num_ssids)
Append a string containing an SSID to an array of SSID strings.
int wifi_utils_parse_scan_bands(char *scan_bands_str, uint8_t *band_map)
Convert a band specification string to a bitmap representing the bands.
int wifi_utils_parse_scan_chan(char *scan_chan_str, struct wifi_band_channel *chan, uint8_t max_channels)
Convert a string containing a specification of scan channels to an array.
bool wifi_utils_validate_chan_5g(uint16_t chan)
Validate a channel against the 5 GHz band.
bool wifi_utils_validate_chan(uint8_t band, uint16_t chan)
Validate a channel against a band.
bool wifi_utils_validate_chan_2g(uint16_t chan)
Validate a channel against the 2.4 GHz band.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Wi-Fi structure to uniquely identify a band-channel pair.
Definition wifi_mgmt.h:354