Lines Matching +full:2 +full:mhz
138 "HT40: control channel: %d (%d MHz), secondary channel: %d (%d MHz)", in allowed_ht40_channel_pair()
141 /* Verify that HT40 secondary channel is an allowed 20 MHz in allowed_ht40_channel_pair()
230 return 2; in check_40mhz_5g()
258 return 2; in check_40mhz_5g()
291 wpa_printf(MSG_DEBUG, "Found overlapping 20 MHz HT BSS: " in check_20mhz_bss()
314 affected_start = (pri_freq + sec_freq) / 2 - 25; in check_40mhz_2g4()
315 affected_end = (pri_freq + sec_freq) / 2 + 25; in check_40mhz_2g4()
316 wpa_printf(MSG_DEBUG, "40 MHz affected channel range: [%d,%d] MHz", in check_40mhz_2g4()
324 /* Check for overlapping 20 MHz BSS */ in check_40mhz_2g4()
328 "Overlapping 20 MHz BSS is found"); in check_40mhz_2g4()
352 "40 MHz pri/sec mismatch with BSS " in check_40mhz_2g4()
373 "40 MHz Intolerant is set on channel %d in BSS " in check_40mhz_2g4()
449 /* TODO: 320 MHz */ in punct_update_legacy_bw()
532 /* The 6 GHz channel 2 uses a different operating class in hostapd_set_freq_params()
534 opclass = center_segment0 == 2 ? 136 : 131; in hostapd_set_freq_params()
544 if (center_idx_to_bw_6ghz(center_segment1) != 2 || in hostapd_set_freq_params()
545 bw != 2) { in hostapd_set_freq_params()
547 "6 GHz 80+80 MHz configuration doesn't use valid 80 MHz channels"); in hostapd_set_freq_params()
575 "320 MHz channel width is not supported in 5 or 6 GHz"); in hostapd_set_freq_params()
593 "40 MHz channel width is not supported in 2.4 GHz"); in hostapd_set_freq_params()
605 "40/80 MHz channel width is not supported in 5/6 GHz"); in hostapd_set_freq_params()
615 "80+80 MHz channel width is not supported in 5/6 GHz"); in hostapd_set_freq_params()
624 "160 MHz channel width is not supported in 5 / 6GHz"); in hostapd_set_freq_params()
646 "160 MHz channel width is not supported!"); in hostapd_set_freq_params()
670 "20/40 MHz: center segment 0 (=%d) and center freq 1 (=%d) not in sync", in hostapd_set_freq_params()
679 "80+80 MHz: center segment 1 only 20 MHz apart"); in hostapd_set_freq_params()
689 "80/80+80 MHz: no second channel offset"); in hostapd_set_freq_params()
695 "80 MHz: center segment 1 configured"); in hostapd_set_freq_params()
701 "80+80 MHz: center segment 1 not configured"); in hostapd_set_freq_params()
727 center_segment0 == channel + 2 || in hostapd_set_freq_params()
728 center_segment0 == channel - 2 || in hostapd_set_freq_params()
742 "160 MHz: center segment 1 should not be set"); in hostapd_set_freq_params()
748 "160 MHz: second channel offset not set"); in hostapd_set_freq_params()
758 center_segment0 == channel + 2 || in hostapd_set_freq_params()
759 center_segment0 == channel - 2 || in hostapd_set_freq_params()
766 "160 MHz: HT40 channel band is not in 160 MHz band"); in hostapd_set_freq_params()
774 "320 MHz: EHT not enabled or not a 6 GHz channel"); in hostapd_set_freq_params()
779 "320 MHz: center segment 1 should not be set"); in hostapd_set_freq_params()
789 center_segment0 == channel + 2 || in hostapd_set_freq_params()
790 center_segment0 == channel - 2 || in hostapd_set_freq_params()
801 "320 MHz: wrong center segment 0"); in hostapd_set_freq_params()
914 case 2: in num_chan_to_bw()
936 /* HT 40 MHz support declared only for primary channel, in chan_bw_allowed()
937 * just skip 40 MHz secondary checking */ in chan_bw_allowed()