Lines Matching refs: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()
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()
239 enum wifi_frequency_bands band = WIFI_FREQ_BAND_UNKNOWN; in wifi_utils_parse_scan_bands() local
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()
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
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()
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()