Lines Matching +full:4 +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()
194 *sec_chan = *pri_chan + 4; in get_pri_sec_chan()
196 *sec_chan = *pri_chan - 4; in get_pri_sec_chan()
291 wpa_printf(MSG_DEBUG, "Found overlapping 20 MHz HT BSS: " in check_20mhz_bss()
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()
399 *seg0 -= 4; in punct_update_legacy_bw_80()
401 *seg0 += 4; in punct_update_legacy_bw_80()
406 sec_chan = pri_chan + 4; in punct_update_legacy_bw_80()
408 sec_chan = pri_chan - 4; in punct_update_legacy_bw_80()
410 if (bitmap & BIT((sec_chan - first_chan) / 4)) in punct_update_legacy_bw_80()
428 punct_update_legacy_bw_80((bitmap & 0xF0) >> 4, pri, in punct_update_legacy_bw_160()
449 /* TODO: 320 MHz */ in punct_update_legacy_bw()
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()
676 if (center_segment1 == center_segment0 + 4 || in hostapd_set_freq_params()
677 center_segment1 == center_segment0 - 4) { 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()
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()
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()
801 "320 MHz: wrong center segment 0"); in hostapd_set_freq_params()
915 case 4: 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()