Lines Matching refs:band_str
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()
313 char band_str[WIFI_UTILS_MAX_BAND_STR_LEN] = {0}; in wifi_utils_parse_scan_chan() local
338 strncpy(band_str, in wifi_utils_parse_scan_chan()
342 band = wifi_utils_map_band_str_to_idx(band_str); in wifi_utils_parse_scan_chan()
345 NET_ERR("Unsupported band value: %s", band_str); in wifi_utils_parse_scan_chan()