Home
last modified time | relevance | path

Searched refs:op_class (Results 1 – 25 of 40) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/
Dop_classes.c21 u8 op_class, u8 chan, in allow_channel() argument
25 bool is_6ghz = op_class >= 131 && op_class <= 136; in allow_channel()
73 u8 op_class, u8 channel) in verify_80mhz() argument
84 if (is_6ghz_op_class(op_class)) { in verify_80mhz()
102 if (allow_channel(mode, op_class, adj_chan, &flags) == in verify_80mhz()
146 u8 op_class, u8 channel) in verify_160mhz() argument
156 if (is_6ghz_op_class(op_class)) { in verify_160mhz()
174 if (allow_channel(mode, op_class, adj_chan, &flags) == in verify_160mhz()
199 enum chan_allowed verify_channel(struct hostapd_hw_modes *mode, u8 op_class, in verify_channel() argument
205 res2 = res = allow_channel(mode, op_class, channel, &flag); in verify_channel()
[all …]
Drrm.c476 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument
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()
532 enum chan_allowed res = verify_channel(mode, op->op_class, chan, in wpas_add_channels()
538 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels()
566 bool is_6ghz = is_6ghz_op_class(op->op_class); in wpas_op_class_freqs()
622 is_6ghz_op_class(op->op_class)); in wpas_channel_report_freqs()
651 u8 op_class, u8 chan, int active, in wpas_beacon_request_freqs() argument
666 op = get_oper_class(country, op_class); in wpas_beacon_request_freqs()
670 op_class); in wpas_beacon_request_freqs()
[all …]
Dwnm_sta.c531 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) in wnm_nei_get_chan() argument
544 freq = ieee80211_chan_to_freq(country, op_class, chan); in wnm_nei_get_chan()
545 if (freq <= 0 && op_class == 0) { in wnm_nei_get_chan()
887 u32 bss_info, u8 op_class, u8 chan, u8 phy_type, in wnm_add_nei_rep() argument
908 wpabuf_put_u8(*buf, op_class); in wnm_add_nei_rep()
923 u8 op_class, chan; in wnm_nei_rep_add_bss() local
951 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss()
968 return wnm_add_nei_rep(buf, bss->bssid, info, op_class, chan, phy_type, in wnm_nei_rep_add_bss()
Dp2p_supplicant.c1944 u8 *op_class, u8 *op_edmg_channel) in wpas_p2p_freq_to_edmg_channel() argument
1969 op_class, in wpas_p2p_freq_to_edmg_channel()
1978 freq, *op_edmg_channel, *op_class); in wpas_p2p_freq_to_edmg_channel()
1990 u8 op_channel, op_class; in wpas_p2p_try_edmg_channel() local
1996 if (wpas_p2p_freq_to_edmg_channel(wpa_s, freq, &op_class, in wpas_p2p_try_edmg_channel()
2000 freq, op_channel, op_class); in wpas_p2p_try_edmg_channel()
2046 u8 op_channel, op_class; in wpas_start_wps_go() local
2049 &op_class, &op_channel)) { in wpas_start_wps_go()
3796 for (op = 0; global_op_class[op].op_class; op++) { in wpas_p2p_setup_channels()
3802 (is_6ghz_op_class(o->op_class) && p2p_disable_6ghz)) in wpas_p2p_setup_channels()
[all …]
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c879 u8 op_class; in ieee80211_freq_to_chan() local
882 &op_class, channel); in ieee80211_freq_to_chan()
899 u8 *op_class, u8 *channel) in ieee80211_freq_to_channel_ext() argument
917 *op_class = 83; in ieee80211_freq_to_channel_ext()
919 *op_class = 84; in ieee80211_freq_to_channel_ext()
921 *op_class = 81; in ieee80211_freq_to_channel_ext()
932 *op_class = 82; /* channel 14 */ in ieee80211_freq_to_channel_ext()
942 *op_class = 0; /* TODO */ in ieee80211_freq_to_channel_ext()
967 *op_class = vht_opclass; in ieee80211_freq_to_channel_ext()
969 *op_class = 116; in ieee80211_freq_to_channel_ext()
[all …]
Docv.c26 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()
Dieee802_11_common.h213 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
216 u8 *op_class, u8 *channel);
218 int sec_channel, u8 *op_class, u8 *channel);
234 u8 op_class; member
259 u8 country_to_global_op_class(const char *country, u8 op_class);
261 const struct oper_class_map * get_oper_class(const char *country, u8 op_class);
265 bool is_6ghz_op_class(u8 op_class);
272 int op_class_to_bandwidth(u8 op_class);
273 int op_class_to_ch_width(u8 op_class);
Docv.h16 u8 op_class; member
Dieee802_11_defs.h1882 u8 op_class; member
2034 u8 op_class; /* Operating Class */ member
2070 u8 op_class; member
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_generator.cc147 void RenderSecondaryFactoryMethod(const OpSpec& op, const Type& op_class, in RenderSecondaryFactoryMethod() argument
152 Type return_type = Type::Class(op_class.name(), op_class.package()); in RenderSecondaryFactoryMethod()
153 for (const Type& parameter : op_class.parameters()) { in RenderSecondaryFactoryMethod()
163 "Factory method to create a class wrapping a new " + op_class.name() + in RenderSecondaryFactoryMethod()
193 factory_doc.add_tag("return", "a new instance of " + op_class.name()); in RenderSecondaryFactoryMethod()
200 void RenderFactoryMethods(const OpSpec& op, const Type& op_class, in RenderFactoryMethods() argument
202 Method factory = Method::Create("create", op_class); in RenderFactoryMethods()
205 op_class.name() + " operation."); in RenderFactoryMethods()
228 factory_doc.add_tag("return", "a new instance of " + op_class.name()); in RenderFactoryMethods()
233 op_class.name() + "\"));"); in RenderFactoryMethods()
[all …]
/external/wpa_supplicant_8/src/p2p/
Dp2p_utils.c57 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()
415 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, in p2p_channel_random_social() argument
451 *op_class = 180; in p2p_channel_random_social()
453 *op_class = 81; in p2p_channel_random_social()
Dp2p_go_neg.c448 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()
450 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()
567 u8 op_class, op_channel; in p2p_check_pref_chan_no_recv() local
581 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_no_recv()
589 p2p->op_reg_class = op_class; in p2p_check_pref_chan_no_recv()
614 u8 op_class, op_channel; in p2p_check_pref_chan_recv() local
630 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_recv()
633 p2p->op_reg_class = op_class; in p2p_check_pref_chan_recv()
657 u8 op_class, op_channel; in p2p_check_pref_chan() local
678 if (p2p_freq_to_channel(freq_list[i], &op_class, in p2p_check_pref_chan()
[all …]
Dp2p.c1373 u8 op_class, op_channel; in p2p_prepare_channel_pref() local
1378 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1383 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && in p2p_prepare_channel_pref()
1384 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class, in p2p_prepare_channel_pref()
1387 freq, op_class, op_channel); in p2p_prepare_channel_pref()
1391 p2p->op_reg_class = op_class; in p2p_prepare_channel_pref()
1410 u8 op_class, op_channel; in p2p_prepare_channel_best() local
1420 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
1423 p2p->op_reg_class = op_class; in p2p_prepare_channel_best()
1427 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel) in p2p_prepare_channel_best()
[all …]
Dp2p_build.c118 u8 op_class, op_channel; in p2p_buf_add_pref_channel_list() local
129 if (p2p_freq_to_channel(preferred_freq_list[i], &op_class, in p2p_buf_add_pref_channel_list()
139 if (p2p_freq_to_channel(preferred_freq_list[i], &op_class, in p2p_buf_add_pref_channel_list()
145 wpabuf_put_u8(buf, op_class); in p2p_buf_add_pref_channel_list()
Dp2p_i.h690 int p2p_channel_to_freq(int op_class, int channel);
691 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
707 u8 *op_class, u8 *op_channel);
708 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class,
Dp2p.h423 u8 op_class; member
2031 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
2398 void p2p_set_override_pref_op_chan(struct p2p_data *p2p, u8 op_class,
/external/wpa_supplicant_8/src/ap/
Dmbo_ap.c48 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()
Dneighbor_db.c225 u8 channel, op_class; in hostapd_neighbor_set_own_report() local
268 &op_class, &channel) == in hostapd_neighbor_set_own_report()
298 wpabuf_put_u8(nr, op_class); in hostapd_neighbor_set_own_report()
Dieee802_11_he.c174 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_he_operation()
210 if (is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_eid_he_operation()
328 if (!mode || !is_6ghz_op_class(hapd->iconf->op_class) || in hostapd_eid_he_6ghz_band_cap()
469 !is_6ghz_op_class(hapd->iconf->op_class)) { in copy_sta_he_6ghz_capab()
Dbeacon.c405 u8 op_class, channel; in hostapd_eid_supported_op_classes() local
414 &op_class, &channel) == in hostapd_eid_supported_op_classes()
422 *eid++ = op_class; in hostapd_eid_supported_op_classes()
466 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_gen_probe_resp()
559 !is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_gen_probe_resp()
568 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_gen_probe_resp()
1132 if (!is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_unsol_bcast_probe_resp()
1166 if (is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_fils_discovery_cap()
1169 switch (hapd->iconf->op_class) { in hostapd_fils_discovery_cap()
1373 if (is_6ghz_op_class(hapd->iconf->op_class) && in hostapd_fils_discovery()
[all …]
Dieee802_11_ht.c30 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()
Dieee802_11_vht.c29 if (!mode || is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_capabilities()
79 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_vht_operation()
Dsta_info.h57 u8 op_class; member
/external/wpa_supplicant_8/src/fst/
Dfst_group.c39 mbie->mb_ctrl, mbie->band_id, mbie->op_class, in fst_dump_mb_ies()
79 mbie->op_class = 0; /* means all */ in fst_fill_mb_ie()
/external/wpa_supplicant_8/hostapd/hidl/1.3/
Dhostapd.cpp411 int op_class = getOpClassForChannel( in CreateHostapdConfig() local
419 channelParams.channel, op_class); in CreateHostapdConfig()

12