Lines Matching +full:1 +full:mhz
130 return 1; /* HT40 not used */ in allowed_ht40_channel_pair()
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()
158 return 1; in allowed_ht40_channel_pair()
165 ok = 1; in allowed_ht40_channel_pair()
175 return 1; in allowed_ht40_channel_pair()
186 if (ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0) != in get_pri_sec_chan()
244 match = 1; in check_40mhz_5g()
263 return 1; in check_40mhz_5g()
276 if (ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0) == in check_20mhz_bss()
283 return 1; in check_20mhz_bss()
291 wpa_printf(MSG_DEBUG, "Found overlapping 20 MHz HT BSS: " in check_20mhz_bss()
293 return 1; 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()
363 if (ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, in check_40mhz_2g4()
373 "40 MHz Intolerant is set on channel %d in BSS " in check_40mhz_2g4()
380 return 1; in check_40mhz_2g4()
449 /* TODO: 320 MHz */ in punct_update_legacy_bw()
504 return -1; in hostapd_set_freq_params()
510 return -1; in hostapd_set_freq_params()
517 return -1; in hostapd_set_freq_params()
529 return -1; in hostapd_set_freq_params()
540 return -1; in hostapd_set_freq_params()
547 "6 GHz 80+80 MHz configuration doesn't use valid 80 MHz channels"); in hostapd_set_freq_params()
548 return -1; in hostapd_set_freq_params()
555 "Invalid segment 1 center frequency for UHB"); in hostapd_set_freq_params()
556 return -1; in hostapd_set_freq_params()
560 data->bandwidth = (1 << (u8) bw) * 20; in hostapd_set_freq_params()
575 "320 MHz channel width is not supported in 5 or 6 GHz"); in hostapd_set_freq_params()
576 return -1; in hostapd_set_freq_params()
593 "40 MHz channel width is not supported in 2.4 GHz"); in hostapd_set_freq_params()
594 return -1; in hostapd_set_freq_params()
605 "40/80 MHz channel width is not supported in 5/6 GHz"); in hostapd_set_freq_params()
606 return -1; in hostapd_set_freq_params()
615 "80+80 MHz channel width is not supported in 5/6 GHz"); in hostapd_set_freq_params()
616 return -1; in hostapd_set_freq_params()
624 "160 MHz channel width is not supported in 5 / 6GHz"); in hostapd_set_freq_params()
625 return -1; in hostapd_set_freq_params()
637 return -1; in hostapd_set_freq_params()
646 "160 MHz channel width is not supported!"); in hostapd_set_freq_params()
647 return -1; 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()
672 return -1; in hostapd_set_freq_params()
679 "80+80 MHz: center segment 1 only 20 MHz apart"); in hostapd_set_freq_params()
680 return -1; in hostapd_set_freq_params()
689 "80/80+80 MHz: no second channel offset"); in hostapd_set_freq_params()
690 return -1; in hostapd_set_freq_params()
695 "80 MHz: center segment 1 configured"); in hostapd_set_freq_params()
696 return -1; in hostapd_set_freq_params()
701 "80+80 MHz: center segment 1 not configured"); in hostapd_set_freq_params()
702 return -1; in hostapd_set_freq_params()
734 return -1; in hostapd_set_freq_params()
742 "160 MHz: center segment 1 should not be set"); in hostapd_set_freq_params()
743 return -1; in hostapd_set_freq_params()
748 "160 MHz: second channel offset not set"); in hostapd_set_freq_params()
749 return -1; in hostapd_set_freq_params()
766 "160 MHz: HT40 channel band is not in 160 MHz band"); in hostapd_set_freq_params()
767 return -1; in hostapd_set_freq_params()
774 "320 MHz: EHT not enabled or not a 6 GHz channel"); in hostapd_set_freq_params()
775 return -1; in hostapd_set_freq_params()
779 "320 MHz: center segment 1 should not be set"); in hostapd_set_freq_params()
780 return -1; in hostapd_set_freq_params()
801 "320 MHz: wrong center segment 0"); in hostapd_set_freq_params()
802 return -1; in hostapd_set_freq_params()
845 return 1; in _ieee80211ac_cap_check()
862 return 1; in ieee80211ac_cap_check_max()
905 return 1; in ieee80211ac_cap_check()
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()