Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/wpa_supplicant/
Dop_classes.c212 const struct oper_class_map *op_class) in wpas_op_class_supported() argument
222 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op_class->mode); in wpas_op_class_supported()
245 if (op_class->op_class >= 115 && op_class->op_class <= 130 && !freq5) in wpas_op_class_supported()
247 if (op_class->op_class >= 81 && op_class->op_class <= 84 && !freq2) in wpas_op_class_supported()
252 switch (op_class->op_class) { in wpas_op_class_supported()
276 if (op_class->op_class >= 128 && op_class->op_class <= 130) { in wpas_op_class_supported()
283 if (op_class->op_class == 128) { in wpas_op_class_supported()
287 if (verify_channel(mode, channels[i], op_class->bw) != in wpas_op_class_supported()
295 if (op_class->op_class == 129) { in wpas_op_class_supported()
297 return verify_channel(mode, 50, op_class->bw) != NOT_ALLOWED || in wpas_op_class_supported()
[all …]
Drrm.c469 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument
477 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); in wpas_add_channel()
482 (op_class == 128 || op_class == 129 || op_class == 130)) in wpas_add_channel()
530 if (wpas_add_channel(op->op_class, chan, num_primary_channels, in wpas_add_channels()
633 u8 op_class, u8 chan, int active, in wpas_beacon_request_freqs() argument
648 op = get_oper_class(country, op_class); in wpas_beacon_request_freqs()
652 op_class); in wpas_beacon_request_freqs()
689 u8 *op_class, u8 *chan, u8 *phy_type) in wpas_get_op_chan_phy() argument
738 if (ieee80211_freq_to_channel_ext(freq, sec_chan, vht, op_class, in wpas_get_op_chan_phy()
926 if (wpas_get_op_chan_phy(bss->freq, ies, ies_len, &rep.op_class, in wpas_add_beacon_rep()
Dwnm_sta.c513 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) in wnm_nei_get_chan() argument
526 freq = ieee80211_chan_to_freq(country, op_class, chan); in wnm_nei_get_chan()
527 if (freq <= 0 && op_class == 0) { in wnm_nei_get_chan()
869 u32 bss_info, u8 op_class, u8 chan, u8 phy_type, in wnm_add_nei_rep() argument
890 wpabuf_put_u8(*buf, op_class); in wnm_add_nei_rep()
905 u8 op_class, chan; in wnm_nei_rep_add_bss() local
933 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss()
950 return wnm_add_nei_rep(buf, bss->bssid, info, op_class, chan, phy_type, in wnm_nei_rep_add_bss()
Dconfig.c4474 u8 op_class, chan; in wpa_config_process_p2p_pref_chan() local
4479 op_class = atoi(pos); in wpa_config_process_p2p_pref_chan()
4491 pref[num].op_class = op_class; in wpa_config_process_p2p_pref_chan()
Dp2p_supplicant.c3617 for (op = 0; global_op_class[op].op_class; op++) { in wpas_p2p_setup_channels()
3636 o->op_class); in wpas_p2p_setup_channels()
3639 reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
3647 o->op_class); in wpas_p2p_setup_channels()
3650 cli_reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
3679 for (op = 0; global_op_class[op].op_class; op++) { in wpas_p2p_get_ht40_mode()
Dctrl_iface.c6656 u8 channel, op_class; in p2p_ctrl_set() local
6660 op_class = pos ? atoi(pos) : 81; in p2p_ctrl_set()
6662 return p2p_set_listen_channel(wpa_s->global->p2p, op_class, in p2p_ctrl_set()
6839 int op_class, chan; in p2p_ctrl_set() local
6841 op_class = atoi(param); in p2p_ctrl_set()
6847 p2p_set_override_pref_op_chan(wpa_s->global->p2p, op_class, in p2p_ctrl_set()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c705 u8 op_class; in ieee80211_freq_to_chan() local
708 &op_class, channel); in ieee80211_freq_to_chan()
724 u8 *op_class, u8 *channel) in ieee80211_freq_to_channel_ext() argument
742 *op_class = 83; in ieee80211_freq_to_channel_ext()
744 *op_class = 84; in ieee80211_freq_to_channel_ext()
746 *op_class = 81; in ieee80211_freq_to_channel_ext()
757 *op_class = 82; /* channel 14 */ in ieee80211_freq_to_channel_ext()
767 *op_class = 0; /* TODO */ in ieee80211_freq_to_channel_ext()
792 *op_class = vht_opclass; in ieee80211_freq_to_channel_ext()
794 *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()
55 u8 op_class, channel; in ocv_insert_oci() local
60 &op_class, &channel) < 0) { in ocv_insert_oci()
66 *pos++ = op_class; in ocv_insert_oci()
118 oci.op_class = oci_ie[0]; in ocv_verify_tx_params()
Dieee802_11_common.h172 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
175 u8 *op_class, u8 *channel);
177 int sec_channel, u8 *op_class, u8 *channel);
191 u8 op_class; member
215 u8 country_to_global_op_class(const char *country, u8 op_class);
217 const struct oper_class_map * get_oper_class(const char *country, u8 op_class);
Docv.h16 u8 op_class; member
Dieee802_11_defs.h1829 u8 op_class; member
1973 u8 op_class; /* Operating Class */ member
2009 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 to wrap a new " + op_class.name() + in RenderSecondaryFactoryMethod()
194 factory_doc.add_tag("return", "a new instance of " + op_class.name()); in RenderSecondaryFactoryMethod()
201 void RenderFactoryMethods(const OpSpec& op, const Type& op_class, in RenderFactoryMethods() argument
203 Method factory = Method::Create("create", op_class); in RenderFactoryMethods()
206 op_class.name() + " operation to the graph."); in RenderFactoryMethods()
229 factory_doc.add_tag("return", "a new instance of " + op_class.name()); in RenderFactoryMethods()
234 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.c447 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()
449 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()
558 u8 op_class, op_channel; in p2p_check_pref_chan_no_recv() local
572 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_no_recv()
580 p2p->op_reg_class = op_class; in p2p_check_pref_chan_no_recv()
605 u8 op_class, op_channel; in p2p_check_pref_chan_recv() local
621 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_recv()
624 p2p->op_reg_class = op_class; in p2p_check_pref_chan_recv()
648 u8 op_class, op_channel; in p2p_check_pref_chan() local
669 if (p2p_freq_to_channel(freq_list[i], &op_class, in p2p_check_pref_chan()
[all …]
Dp2p.c1382 u8 op_class, op_channel; in p2p_prepare_channel_pref() local
1387 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1392 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && in p2p_prepare_channel_pref()
1393 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class, in p2p_prepare_channel_pref()
1396 freq, op_class, op_channel); in p2p_prepare_channel_pref()
1400 p2p->op_reg_class = op_class; in p2p_prepare_channel_pref()
1419 u8 op_class, op_channel; in p2p_prepare_channel_best() local
1428 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
1431 p2p->op_reg_class = op_class; in p2p_prepare_channel_best()
1435 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel) in p2p_prepare_channel_best()
[all …]
Dp2p_i.h702 int p2p_channel_to_freq(int op_class, int channel);
703 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
719 u8 *op_class, u8 *op_channel);
720 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class,
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.h421 u8 op_class; member
2023 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
2388 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.c168 u8 channel, op_class; in hostapd_neighbor_set_own_report() local
209 &op_class, &channel) == in hostapd_neighbor_set_own_report()
237 wpabuf_put_u8(nr, op_class); in hostapd_neighbor_set_own_report()
Dsta_info.h52 u8 op_class; member
Dbeacon.c342 u8 op_class, channel; in hostapd_eid_supported_op_classes() local
351 &op_class, &channel) == in hostapd_eid_supported_op_classes()
359 *eid++ = op_class; in hostapd_eid_supported_op_classes()
Dieee802_11_ht.c328 ic_report->op_class); in hostapd_2040_coex_action()
Dieee802_11.c2144 u8 op_class, channel, phytype; in handle_auth() local
2179 &op_class, &channel) == NUM_HOSTAPD_MODES) { in handle_auth()
2180 op_class = 0; in handle_auth()
2183 *pos++ = op_class; in handle_auth()
/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()

12