Searched refs:band_str (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_utils.c | 31 static enum wifi_frequency_bands wifi_utils_map_band_str_to_idx(char *band_str) in wifi_utils_map_band_str_to_idx() argument 35 if (!strcmp(band_str, "2")) { in wifi_utils_map_band_str_to_idx() 37 } else if (!strcmp(band_str, "5")) { in wifi_utils_map_band_str_to_idx() 39 } else if (!strcmp(band_str, "6")) { in wifi_utils_map_band_str_to_idx() 237 char *band_str = NULL; in wifi_utils_parse_scan_bands() local 259 band_str = strtok_r(parse_str, ",", &ctx); in wifi_utils_parse_scan_bands() 261 while (band_str) { in wifi_utils_parse_scan_bands() 262 band = wifi_utils_map_band_str_to_idx(band_str); in wifi_utils_parse_scan_bands() 265 NET_ERR("Invalid band value: %s", band_str); in wifi_utils_parse_scan_bands() 271 band_str = strtok_r(NULL, ",", &ctx); in wifi_utils_parse_scan_bands() [all …]
|