| /freebsd-14.2/contrib/wpa/wpa_supplicant/ |
| H A D | op_classes.c | 326 is_6ghz_op_class(op_class->op_class)); in wpas_op_class_supported() 354 if (op_class->op_class >= 115 && op_class->op_class <= 130 && !freq5) in wpas_op_class_supported() 356 if (op_class->op_class >= 81 && op_class->op_class <= 84 && !freq2) in wpas_op_class_supported() 361 switch (op_class->op_class) { in wpas_op_class_supported() 385 if (op_class->op_class >= 128 && op_class->op_class <= 130) { in wpas_op_class_supported() 392 if (op_class->op_class == 128) { in wpas_op_class_supported() 396 if (verify_channel(mode, op_class->op_class, in wpas_op_class_supported() 405 if (op_class->op_class == 129) { in wpas_op_class_supported() 415 if (op_class->op_class == 130) { in wpas_op_class_supported() 457 if (op_class->op_class == 135) { in wpas_op_class_supported() [all …]
|
| H A D | rrm.c | 484 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); in wpas_add_channel() 489 (op_class == 128 || op_class == 129 || op_class == 130)) in wpas_add_channel() 540 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels() 569 bool is_6ghz = is_6ghz_op_class(op->op_class); in wpas_op_class_freqs() 628 is_6ghz_op_class(op->op_class)); in wpas_channel_report_freqs() 657 u8 op_class, u8 chan, in wpas_beacon_request_freqs() argument 672 op = get_oper_class(country, op_class); in wpas_beacon_request_freqs() 676 op_class); in wpas_beacon_request_freqs() 681 is_6ghz_op_class(op->op_class)); in wpas_beacon_request_freqs() 713 u8 *op_class, u8 *chan, u8 *phy_type) in wpas_get_op_chan_phy() argument [all …]
|
| H A D | mesh.c | 454 conf->op_class = 136; in wpa_supplicant_mesh_init() 456 conf->op_class = 131; in wpa_supplicant_mesh_init() 459 conf->op_class = 132; in wpa_supplicant_mesh_init() 462 conf->op_class = 133; in wpa_supplicant_mesh_init() 465 conf->op_class = 134; in wpa_supplicant_mesh_init() 468 conf->op_class = 131; in wpa_supplicant_mesh_init()
|
| H A D | p2p_supplicant.c | 2011 op_class, in wpas_p2p_freq_to_edmg_channel() 2032 u8 op_channel, op_class; in wpas_p2p_try_edmg_channel() local 2042 freq, op_channel, op_class); in wpas_p2p_try_edmg_channel() 2088 u8 op_channel, op_class; in wpas_start_wps_go() local 3989 if ((o->op_class >= 128 && o->op_class <= 130) && in wpas_p2p_setup_channels() 4000 o->op_class); in wpas_p2p_setup_channels() 4015 o->op_class); in wpas_p2p_setup_channels() 4102 u8 op_class) in wpas_p2p_get_vht80_center() argument 4126 u8 op_class) in wpas_p2p_get_vht160_center() argument 6697 u8 op_class; in wpas_p2p_init_go_params() local [all …]
|
| H A D | wnm_sta.c | 545 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) in wnm_nei_get_chan() argument 558 freq = ieee80211_chan_to_freq(country, op_class, chan); in wnm_nei_get_chan() 559 if (freq <= 0 && op_class == 0) { in wnm_nei_get_chan() 909 u32 bss_info, u8 op_class, u8 chan, u8 phy_type, in wnm_add_nei_rep() argument 930 wpabuf_put_u8(*buf, op_class); in wnm_add_nei_rep() 945 u8 op_class, chan; in wnm_nei_rep_add_bss() local 974 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss() 991 return wnm_add_nei_rep(buf, bss->bssid, info, op_class, chan, phy_type, in wnm_nei_rep_add_bss()
|
| H A D | ap.c | 90 &conf->op_class, in wpas_conf_ap_vht() 118 conf->op_class); in wpas_conf_ap_vht() 125 conf->op_class); in wpas_conf_ap_vht() 139 &conf->op_class, in wpas_conf_ap_vht() 142 conf->op_class); in wpas_conf_ap_vht() 151 &conf->op_class, in wpas_conf_ap_vht() 155 conf->op_class); in wpas_conf_ap_vht() 180 &conf->op_class, &conf->channel); in wpas_conf_ap_vht() 273 &conf->op_class, in wpa_supplicant_conf_ap_ht()
|
| /freebsd-14.2/contrib/wpa/src/common/ |
| H A D | ieee802_11_common.c | 1365 u8 op_class; in ieee80211_freq_to_chan() local 1403 *op_class = 83; in ieee80211_freq_to_channel_ext() 1405 *op_class = 84; in ieee80211_freq_to_channel_ext() 1407 *op_class = 81; in ieee80211_freq_to_channel_ext() 1561 *op_class = 136; in ieee80211_freq_to_channel_ext() 2043 return (op_class >= 118) && (op_class <= 123); in is_dfs_global_op_class() 2050 return op_class == 130 || op_class == 135; in is_80plus_op_class() 2831 return op_class; in country_to_global_op_class() 2850 op_class = country_to_global_op_class(country, op_class); in get_oper_class() 2853 while (op->op_class && op->op_class != op_class) in get_oper_class() [all …]
|
| H A D | ocv.c | 26 oci->freq = ieee80211_chan_to_freq(NULL, oci->op_class, oci->channel); in ocv_derive_all_parameters() 30 oci->op_class, oci->channel); in ocv_derive_all_parameters() 34 op_class_map = get_oper_class(NULL, oci->op_class); in ocv_derive_all_parameters() 38 oci->op_class); in ocv_derive_all_parameters() 57 u8 op_class, channel; in ocv_insert_oci() local 62 &op_class, &channel) < 0) { in ocv_insert_oci() 68 *pos++ = op_class; in ocv_insert_oci() 121 oci.op_class = oci_ie[0]; in ocv_verify_tx_params()
|
| H A D | ieee802_11_common.h | 236 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan); 240 u8 *op_class, u8 *channel); 242 int sec_channel, u8 *op_class, u8 *channel); 245 int is_dfs_global_op_class(u8 op_class); 246 bool is_80plus_op_class(u8 op_class); 260 u8 op_class; member 288 u8 country_to_global_op_class(const char *country, u8 op_class); 290 const struct oper_class_map * get_oper_class(const char *country, u8 op_class); 294 bool is_6ghz_op_class(u8 op_class); 309 int op_class_to_bandwidth(u8 op_class); [all …]
|
| H A D | ocv.h | 16 u8 op_class; member
|
| /freebsd-14.2/contrib/wpa/src/p2p/ |
| H A D | p2p_utils.c | 57 int p2p_channel_to_freq(int op_class, int channel) in p2p_channel_to_freq() argument 59 return ieee80211_chan_to_freq(NULL, op_class, channel); in p2p_channel_to_freq() 69 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) in p2p_freq_to_channel() argument 71 if (ieee80211_freq_to_channel_ext(freq, 0, 0, op_class, channel) == in p2p_freq_to_channel() 332 freq = p2p_channel_to_freq(p2p->cfg->pref_chan[i].op_class, in p2p_get_pref_freq() 385 u8 *op_class, u8 *op_channel) in p2p_channel_select() argument 401 *op_class = c->reg_class; in p2p_channel_select() 451 *op_class = 180; in p2p_channel_random_social() 453 *op_class = 81; in p2p_channel_random_social() 559 static int p2p_check_pref_channel(int channel, u8 op_class, in p2p_check_pref_channel() argument [all …]
|
| H A D | p2p_go_neg.c | 485 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel() 605 u8 op_class, op_channel; in p2p_check_pref_chan_no_recv() local 619 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_no_recv() 628 p2p->op_reg_class = op_class; in p2p_check_pref_chan_no_recv() 654 u8 op_class, op_channel; in p2p_check_pref_chan_recv() local 675 p2p->op_reg_class = op_class; in p2p_check_pref_chan_recv() 699 u8 op_class, op_channel; in p2p_check_pref_chan() local 728 &op_class, &op_channel) < 0 || in p2p_check_pref_chan() 730 op_class, op_channel) && in p2p_check_pref_chan() 732 op_class, op_channel))) || in p2p_check_pref_chan() [all …]
|
| H A D | p2p.c | 1403 u8 op_class, op_channel; in p2p_prepare_channel_pref() local 1417 freq, op_class, op_channel); in p2p_prepare_channel_pref() 1421 p2p->op_reg_class = op_class; in p2p_prepare_channel_pref() 1440 u8 op_class, op_channel; in p2p_prepare_channel_best() local 1454 p2p->op_reg_class = op_class; in p2p_prepare_channel_best() 1461 p2p->op_reg_class = op_class; in p2p_prepare_channel_best() 1468 p2p->op_reg_class = op_class; in p2p_prepare_channel_best() 1472 p2p->cfg->pref_chan[0].op_class, in p2p_prepare_channel_best() 2299 u8 channel, op_class; in p2p_build_probe_resp_buf() local 5322 u8 op_class, channel; in p2p_build_nfc_handover() local [all …]
|
| H A D | p2p_build.c | 119 u8 op_class, op_channel; in p2p_buf_add_pref_channel_list() local 130 if (p2p_freq_to_channel(pref_freq_list[i].freq, &op_class, in p2p_buf_add_pref_channel_list() 141 if (p2p_freq_to_channel(pref_freq_list[i].freq, &op_class, in p2p_buf_add_pref_channel_list() 148 wpabuf_put_u8(buf, op_class); in p2p_buf_add_pref_channel_list()
|
| H A D | p2p.h | 425 u8 op_class; member 2038 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class, 2407 void p2p_set_override_pref_op_chan(struct p2p_data *p2p, u8 op_class, 2431 int p2p_channel_to_freq(int op_class, int channel);
|
| /freebsd-14.2/contrib/wpa/src/ap/ |
| H A D | beacon.c | 209 if (!is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_country_add() 285 *pos++ = hapd->iconf->op_class; in hostapd_eid_country() 289 if (hapd->iconf->op_class == 131 || in hostapd_eid_country() 290 hapd->iconf->op_class == 136) in hostapd_eid_country() 444 u8 op_class, channel; in hostapd_eid_supported_op_classes() local 453 &op_class, &channel) == in hostapd_eid_supported_op_classes() 461 *eid++ = op_class; in hostapd_eid_supported_op_classes() 798 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_probe_resp_fill_elems() 1883 switch (hapd->iconf->op_class) { in hostapd_fils_discovery_cap() 1955 NULL, hapd->iconf->op_class, in hostapd_gen_fils_discovery() [all …]
|
| H A D | mbo_ap.c | 48 info->op_class = buf[0]; in mbo_ap_parse_non_pref_chan() 78 MAC2STR(sta->addr), info->op_class, info->pref, in mbo_ap_parse_non_pref_chan() 136 count, info->op_class, info->pref, in mbo_ap_get_info()
|
| H A D | ieee802_11_he.c | 182 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_he_operation() 222 if (is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_eid_he_operation() 378 if (!mode || !is_6ghz_op_class(hapd->iconf->op_class) || in hostapd_eid_he_6ghz_band_cap() 519 !is_6ghz_op_class(hapd->iconf->op_class)) { in copy_sta_he_6ghz_capab()
|
| H A D | neighbor_db.c | 239 u8 channel, op_class; in hostapd_neighbor_set_own_report() local 284 &op_class, &channel) == in hostapd_neighbor_set_own_report() 314 wpabuf_put_u8(nr, op_class); in hostapd_neighbor_set_own_report()
|
| H A D | ap_config.h | 1041 u8 op_class; member 1293 if (is_6ghz_op_class(conf->op_class) && in hostapd_set_oper_centr_freq_seg0_idx() 1330 if (conf->ieee80211be && is_6ghz_op_class(conf->op_class) && in hostapd_get_bw320_offset() 1342 if (conf->ieee80211be && is_6ghz_op_class(conf->op_class) && in hostapd_set_and_check_bw320_offset() 1343 op_class_to_ch_width(conf->op_class) == CONF_OPER_CHWIDTH_320MHZ) { in hostapd_set_and_check_bw320_offset()
|
| H A D | ieee802_11_eht.c | 124 len += ieee80211_eht_mcs_set_size(mode->mode, hapd->iconf->op_class, in hostapd_eid_eht_capab_len() 161 if (!is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_eht_capab() 179 hapd->iconf->op_class, in hostapd_eid_eht_capab() 214 if (is_6ghz_op_class(conf->op_class)) in hostapd_eid_eht_operation() 215 chwidth = op_class_to_ch_width(conf->op_class); in hostapd_eid_eht_operation() 334 if (ieee80211_eht_mcs_set_size(mode->mode, hapd->iconf->op_class, in check_valid_eht_mcs() 401 ieee80211_invalid_eht_cap_size(mode, hapd->iconf->op_class, in copy_sta_eht_capab()
|
| H A D | ieee802_11_ht.c | 30 hapd->conf->disable_11n || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_ht_capabilities() 88 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_ht_operation() 306 ic_report->op_class); in hostapd_2040_coex_action()
|
| H A D | ieee802_11_vht.c | 30 if (!mode || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_capabilities() 87 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_operation()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXIL.td | 57 dxil_class op_class; // name of the opcode class 82 let op_class = code_class;
|
| /freebsd-14.2/contrib/wpa/src/fst/ |
| H A D | fst_group.c | 44 mbie->mb_ctrl, mbie->band_id, mbie->op_class, in fst_dump_mb_ies() 84 mbie->op_class = 0; /* means all */ in fst_fill_mb_ie()
|