Lines Matching +full:0 +full:xcfff
25 *freq = 0; in hw_get_channel_chan()
30 for (i = 0; i < mode->num_channels; i++) { in hw_get_channel_chan()
48 for (i = 0; i < mode->num_channels; i++) { in hw_mode_get_channel()
70 *chan = 0; in hw_get_channel_freq()
75 for (i = 0; i < num_hw_features; i++) { in hw_get_channel_freq()
122 return 0; in allowed_ht40_channel_pair()
134 return 0; in allowed_ht40_channel_pair()
148 return 0; in allowed_ht40_channel_pair()
162 ok = 0; in allowed_ht40_channel_pair()
163 for (k = 0; k < ARRAY_SIZE(allowed); k++) { in allowed_ht40_channel_pair()
172 return 0; in allowed_ht40_channel_pair()
184 *pri_chan = *sec_chan = 0; in get_pri_sec_chan()
186 if (ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0) != in get_pri_sec_chan()
213 return 0; in check_40mhz_5g()
219 pri_bss = sec_bss = 0; in check_40mhz_5g()
220 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
238 match = 0; in check_40mhz_5g()
239 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
249 for (i = 0; i < scan_res->num; i++) { in check_40mhz_5g()
274 return 0; in check_20mhz_bss()
276 if (ieee802_11_parse_elems((u8 *) (bss + 1), bss->ie_len, &elems, 0) == in check_20mhz_bss()
278 return 0; in check_20mhz_bss()
289 return 0; in check_20mhz_bss()
295 return 0; in check_20mhz_bss()
309 return 0; in check_40mhz_2g4()
318 for (i = 0; i < scan_res->num; i++) { in check_40mhz_2g4()
329 return 0; in check_40mhz_2g4()
359 return 0; in check_40mhz_2g4()
364 &elems, 0) != ParseFailed && in check_40mhz_2g4()
375 return 0; in check_40mhz_2g4()
389 case 0x6: in punct_update_legacy_bw_80()
390 *seg0 = 0; in punct_update_legacy_bw_80()
392 case 0x8: in punct_update_legacy_bw_80()
393 case 0x4: in punct_update_legacy_bw_80()
394 case 0x2: in punct_update_legacy_bw_80()
395 case 0x1: in punct_update_legacy_bw_80()
396 case 0xC: in punct_update_legacy_bw_80()
397 case 0x3: in punct_update_legacy_bw_80()
411 *seg0 = 0; in punct_update_legacy_bw_80()
420 if (bitmap & 0x0F) { in punct_update_legacy_bw_160()
421 *width = 0; in punct_update_legacy_bw_160()
422 punct_update_legacy_bw_80(bitmap & 0xF, pri, seg0); in punct_update_legacy_bw_160()
426 if (bitmap & 0xF0) { in punct_update_legacy_bw_160()
427 *width = 0; in punct_update_legacy_bw_160()
428 punct_update_legacy_bw_80((bitmap & 0xF0) >> 4, pri, in punct_update_legacy_bw_160()
438 if (*width == CONF_OPER_CHWIDTH_80MHZ && (bitmap & 0xF)) { in punct_update_legacy_bw()
440 punct_update_legacy_bw_80(bitmap & 0xF, pri, seg0); in punct_update_legacy_bw()
443 if (*width == CONF_OPER_CHWIDTH_160MHZ && (bitmap & 0xFF)) { in punct_update_legacy_bw()
445 *seg1 = 0; in punct_update_legacy_bw()
446 punct_update_legacy_bw_160(bitmap & 0xFF, pri, width, seg0); in punct_update_legacy_bw()
470 he_enabled = 0; in hostapd_set_freq_params()
472 eht_enabled = 0; in hostapd_set_freq_params()
473 os_memset(data, 0, sizeof(*data)); in hostapd_set_freq_params()
483 data->center_freq2 = 0; in hostapd_set_freq_params()
507 if (center_idx_to_bw_6ghz(channel) < 0) { in hostapd_set_freq_params()
516 "Segment 0 center frequency isn't set"); in hostapd_set_freq_params()
522 int freq1, freq2 = 0; in hostapd_set_freq_params()
526 if (bw < 0) { in hostapd_set_freq_params()
537 if (freq1 < 0) { in hostapd_set_freq_params()
539 "Invalid segment 0 center frequency for 6 GHz"); in hostapd_set_freq_params()
553 if (freq2 < 0) { in hostapd_set_freq_params()
564 data->ht_enabled = 0; in hostapd_set_freq_params()
565 data->vht_enabled = 0; in hostapd_set_freq_params()
567 return 0; in hostapd_set_freq_params()
585 if (sec_channel_offset == 0) in hostapd_set_freq_params()
666 (center_segment0 != 0 && 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()
801 "320 MHz: wrong center segment 0"); in hostapd_set_freq_params()
809 return 0; in hostapd_set_freq_params()
843 return 0; in _ieee80211ac_cap_check()
860 return 0; in ieee80211ac_cap_check_max()
871 return 0; \ in ieee80211ac_cap_check()
872 } while (0) in ieee80211ac_cap_check()
878 return 0; \ in ieee80211ac_cap_check()
879 } while (0) in ieee80211ac_cap_check()
943 bw_mask = 0; in chan_bw_allowed()
955 bw_mask = 0; in chan_bw_allowed()
971 /* IEEE P802.11be/D3.0, Table 36-30 - Definition of the Punctured Channel
974 static const u16 punct_bitmap_80[] = { 0xF, 0xE, 0xD, 0xB, 0x7 };
976 0xFF, 0xFE, 0xFD, 0xFB, 0xF7, 0xEF, 0xDF, 0xBF,
977 0x7F, 0xFC, 0xF3, 0xCF, 0x3F
980 0xFFFF, 0xFFFC, 0xFFF3, 0xFFCF, 0xFF3F, 0xFCFF, 0xF3FF, 0xCFFF,
981 0x3FFF, 0xFFF0, 0xFF0F, 0xF0FF, 0x0FFF, 0xFFC0, 0xFF30, 0xFCF0,
982 0xF3F0, 0xCFF0, 0x3FF0, 0x0FFC, 0x0FF3, 0x0FCF, 0x0F3F, 0x0CFF,
983 0x03FF
1000 bitmap &= 0xF; in is_punct_bitmap_valid()
1006 bitmap &= 0xFF; in is_punct_bitmap_valid()
1012 bitmap &= 0xFFFF; in is_punct_bitmap_valid()
1029 for (i = 0; i < count; i++) { in is_punct_bitmap_valid()