Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/wpa_supplicant/
Dop_classes.c21 u8 op_class, u8 chan, in allow_channel() argument
25 int is_6ghz = op_class >= 131 && op_class <= 136; in allow_channel()
73 u8 op_class, u8 channel) in verify_80mhz() argument
88 if (allow_channel(mode, op_class, adj_chan, &flags) == in verify_80mhz()
132 u8 op_class, u8 channel) in verify_160mhz() argument
147 if (allow_channel(mode, op_class, adj_chan, &flags) == in verify_160mhz()
172 enum chan_allowed verify_channel(struct hostapd_hw_modes *mode, u8 op_class, in verify_channel() argument
178 res2 = res = allow_channel(mode, op_class, channel, &flag); in verify_channel()
182 res2 = allow_channel(mode, op_class, channel - 4, NULL); in verify_channel()
186 res2 = allow_channel(mode, op_class, channel + 4, NULL); 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()
613 is_6ghz_op_class(op->op_class)); in wpas_channel_report_freqs()
642 u8 op_class, u8 chan, int active, in wpas_beacon_request_freqs() argument
657 op = get_oper_class(country, op_class); in wpas_beacon_request_freqs()
661 op_class); in wpas_beacon_request_freqs()
666 is_6ghz_op_class(op->op_class)); in wpas_beacon_request_freqs()
[all …]
Dwnm_sta.c521 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) in wnm_nei_get_chan() argument
534 freq = ieee80211_chan_to_freq(country, op_class, chan); in wnm_nei_get_chan()
535 if (freq <= 0 && op_class == 0) { in wnm_nei_get_chan()
877 u32 bss_info, u8 op_class, u8 chan, u8 phy_type, in wnm_add_nei_rep() argument
898 wpabuf_put_u8(*buf, op_class); in wnm_add_nei_rep()
913 u8 op_class, chan; in wnm_nei_rep_add_bss() local
941 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss()
958 return wnm_add_nei_rep(buf, bss->bssid, info, op_class, chan, phy_type, in wnm_nei_rep_add_bss()
Dwpa_supplicant_i.h1428 u8 *op_class, u8 *chan, u8 *phy_type);
1484 enum chan_allowed verify_channel(struct hostapd_hw_modes *mode, u8 op_class,
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c774 u8 op_class; in ieee80211_freq_to_chan() local
777 &op_class, channel); in ieee80211_freq_to_chan()
794 u8 *op_class, u8 *channel) in ieee80211_freq_to_channel_ext() argument
812 *op_class = 83; in ieee80211_freq_to_channel_ext()
814 *op_class = 84; in ieee80211_freq_to_channel_ext()
816 *op_class = 81; in ieee80211_freq_to_channel_ext()
827 *op_class = 82; /* channel 14 */ in ieee80211_freq_to_channel_ext()
837 *op_class = 0; /* TODO */ in ieee80211_freq_to_channel_ext()
862 *op_class = vht_opclass; in ieee80211_freq_to_channel_ext()
864 *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.h196 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
199 u8 *op_class, u8 *channel);
201 int sec_channel, u8 *op_class, u8 *channel);
217 u8 op_class; member
242 u8 country_to_global_op_class(const char *country, u8 op_class);
244 const struct oper_class_map * get_oper_class(const char *country, u8 op_class);
248 int is_6ghz_op_class(u8 op_class);
255 int op_class_to_bandwidth(u8 op_class);
256 int op_class_to_ch_width(u8 op_class);
Docv.h16 u8 op_class; member
Dieee802_11_defs.h1859 u8 op_class; member
2011 u8 op_class; /* Operating Class */ member
2047 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.c1371 u8 op_class, op_channel; in p2p_prepare_channel_pref() local
1376 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1381 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && in p2p_prepare_channel_pref()
1382 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class, in p2p_prepare_channel_pref()
1385 freq, op_class, op_channel); in p2p_prepare_channel_pref()
1389 p2p->op_reg_class = op_class; in p2p_prepare_channel_pref()
1408 u8 op_class, op_channel; in p2p_prepare_channel_best() local
1418 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
1421 p2p->op_reg_class = op_class; in p2p_prepare_channel_best()
1425 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel) in p2p_prepare_channel_best()
[all …]
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_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.h423 u8 op_class; member
2025 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
2390 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()
323 if (!mode || !is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_he_6ghz_band_cap()
470 !is_6ghz_op_class(hapd->iconf->op_class)) { in copy_sta_he_6ghz_capab()
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()
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()
1168 if (is_6ghz_op_class(hapd->iconf->op_class)) in ieee802_11_build_ap_params()
Dsta_info.h54 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.2/
Dhostapd.cpp340 int op_class = getOpClassForChannel( in CreateHostapdConfig() local
348 iface_params.V1_1.V1_0.channelParams.channel, op_class); in CreateHostapdConfig()

12