Lines Matching full:band
33 enum wifi_frequency_bands band = WIFI_FREQ_BAND_UNKNOWN; in wifi_utils_map_band_str_to_idx() local
36 band = WIFI_FREQ_BAND_2_4_GHZ; in wifi_utils_map_band_str_to_idx()
38 band = WIFI_FREQ_BAND_5_GHZ; in wifi_utils_map_band_str_to_idx()
40 band = WIFI_FREQ_BAND_6_GHZ; in wifi_utils_map_band_str_to_idx()
43 return band; in wifi_utils_map_band_str_to_idx()
82 bool wifi_utils_validate_chan(uint8_t band, in wifi_utils_validate_chan() argument
87 switch (band) { in wifi_utils_validate_chan()
98 NET_ERR("Unknown band: %d", band); in wifi_utils_validate_chan()
135 NET_ERR("Invalid channel value %d in band %d", chan_start, band_idx); in wifi_utils_get_all_chans_in_range()
140 NET_ERR("Invalid channel value %d in band %d", chan_end, band_idx); in wifi_utils_get_all_chans_in_range()
156 band_chan[idx].band = band_idx; in wifi_utils_get_all_chans_in_range()
178 band_chan[idx].band = band_idx; in wifi_utils_get_all_chans_in_range()
196 band_chan[idx].band = band_idx; in wifi_utils_get_all_chans_in_range()
206 NET_ERR("Unknown band value: %d", band_idx); in wifi_utils_get_all_chans_in_range()
239 enum wifi_frequency_bands band = WIFI_FREQ_BAND_UNKNOWN; in wifi_utils_parse_scan_bands() local
249 NET_ERR("Band string (%s) size (%d) exceeds maximum allowed value (%d)", in wifi_utils_parse_scan_bands()
262 band = wifi_utils_map_band_str_to_idx(band_str); in wifi_utils_parse_scan_bands()
264 if (band == WIFI_FREQ_BAND_UNKNOWN) { in wifi_utils_parse_scan_bands()
265 NET_ERR("Invalid band value: %s", band_str); in wifi_utils_parse_scan_bands()
269 *band_map |= (1 << band); in wifi_utils_parse_scan_bands()
315 enum wifi_frequency_bands band = WIFI_FREQ_BAND_UNKNOWN; in wifi_utils_parse_scan_chan() local
333 NET_ERR("Invalid band value %s", in wifi_utils_parse_scan_chan()
342 band = wifi_utils_map_band_str_to_idx(band_str); in wifi_utils_parse_scan_chan()
344 if (band == WIFI_FREQ_BAND_UNKNOWN) { in wifi_utils_parse_scan_chan()
345 NET_ERR("Unsupported band value: %s", band_str); in wifi_utils_parse_scan_chan()
386 band, in wifi_utils_parse_scan_chan()
398 if (!wifi_utils_validate_chan(band, in wifi_utils_parse_scan_chan()
408 band_chan[chan_idx].band = band; in wifi_utils_parse_scan_chan()
430 NET_ERR("No valid band found"); in wifi_utils_parse_scan_chan()