/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | op_classes.c | 21 u8 op_class, u8 chan, in allow_channel() 25 bool is_6ghz = op_class >= 131 && op_class <= 136; in allow_channel() 73 u8 op_class, u8 channel) in verify_80mhz() 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() 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 20 allow_channel(struct hostapd_hw_modes *mode, u8 op_class, u8 chan, unsigned int *flags) allow_channel() argument 72 verify_80mhz(struct hostapd_hw_modes *mode, u8 op_class, u8 channel) verify_80mhz() argument 145 verify_160mhz(struct hostapd_hw_modes *mode, u8 op_class, u8 channel) verify_160mhz() argument 252 wpas_op_class_supported(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, const struct oper_class_map *op_class) wpas_op_class_supported() argument [all...] |
H A D | rrm.c | 479 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, in wpas_add_channel() argument 487 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); in wpas_add_channel() 492 (op_class == 128 || op_class == 129 || op_class == 130)) in wpas_add_channel() 535 enum chan_allowed res = verify_channel(mode, op->op_class, chan, in wpas_add_channels() 541 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() 625 is_6ghz_op_class(op->op_class)); in wpas_channel_report_freqs() 654 u8 op_class, u in wpas_beacon_request_freqs() 653 wpas_beacon_request_freqs(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan, int active, const u8 *subelems, size_t len) wpas_beacon_request_freqs() argument 710 wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, u8 *op_class, u8 *chan, u8 *phy_type) wpas_get_op_chan_phy() argument [all...] |
H A D | mesh.c | 454 /* Set mandatory op_class parameter for setting up BSS */ in wpa_supplicant_mesh_init() 458 conf->op_class = 136; in wpa_supplicant_mesh_init() 460 conf->op_class = 131; in wpa_supplicant_mesh_init() 463 conf->op_class = 132; in wpa_supplicant_mesh_init() 466 conf->op_class = 133; in wpa_supplicant_mesh_init() 469 conf->op_class = 134; in wpa_supplicant_mesh_init() 472 conf->op_class = 131; in wpa_supplicant_mesh_init()
|
H A D | p2p_supplicant.c | 2174 * @op_class: Buffer for returning operating class 2183 u8 *op_class, u8 *op_edmg_channel) in wpas_p2p_freq_to_edmg_channel() 2208 op_class, in wpas_p2p_freq_to_edmg_channel() 2217 freq, *op_edmg_channel, *op_class); in wpas_p2p_freq_to_edmg_channel() 2229 u8 op_channel, op_class; in wpas_p2p_try_edmg_channel() local 2235 if (wpas_p2p_freq_to_edmg_channel(wpa_s, freq, &op_class, in wpas_p2p_try_edmg_channel() 2239 freq, op_channel, op_class); in wpas_p2p_try_edmg_channel() 2285 u8 op_channel, op_class; in wpas_start_wps_go() local 2288 &op_class, &op_channel)) { in wpas_start_wps_go() 4225 struct hostapd_hw_modes *mode, u8 op_class, in has_channel() 2181 wpas_p2p_freq_to_edmg_channel(struct wpa_supplicant *wpa_s, unsigned int freq, u8 *op_class, u8 *op_edmg_channel) wpas_p2p_freq_to_edmg_channel() argument 4224 has_channel(struct wpa_global *global, struct hostapd_hw_modes *mode, u8 op_class, u8 chan, int *flags) has_channel() argument 4290 wpas_p2p_verify_80mhz(struct wpa_supplicant *wpa_s, struct hostapd_hw_modes *mode, u8 op_class, u8 channel, u8 bw) wpas_p2p_verify_80mhz() argument 4380 wpas_p2p_verify_160mhz(struct wpa_supplicant *wpa_s, struct hostapd_hw_modes *mode, u8 op_class, u8 channel, u8 bw) wpas_p2p_verify_160mhz() argument 4466 wpas_p2p_verify_channel(struct wpa_supplicant *wpa_s, struct hostapd_hw_modes *mode, u8 op_class, u8 channel, u8 bw) wpas_p2p_verify_channel() argument 4661 wpas_p2p_get_vht80_center(struct wpa_supplicant *wpa_s, struct hostapd_hw_modes *mode, u8 channel, u8 op_class) global() argument 4685 wpas_p2p_get_vht160_center(struct wpa_supplicant *wpa_s, struct hostapd_hw_modes *mode, u8 channel, u8 op_class) global() argument 7434 u8 op_class; global() local 7462 u8 chan, op_class; global() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | op_classes.c | 212 const struct oper_class_map *op_class) in wpas_op_class_supported() 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 < in wpas_op_class_supported() 210 wpas_op_class_supported(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, const struct oper_class_map *op_class) wpas_op_class_supported() argument [all...] |
H A D | rrm.c | 469 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() 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, u in wpas_get_op_chan_phy() 632 wpas_beacon_request_freqs(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan, int active, const u8 *subelems, size_t len) wpas_beacon_request_freqs() argument 688 wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, u8 *op_class, u8 *chan, u8 *phy_type) wpas_get_op_chan_phy() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | ieee802_11_common.c | 707 u8 op_class; in ieee80211_freq_to_chan() local 710 &op_class, channel); in ieee80211_freq_to_chan() 720 * @op_class: Buffer for returning operating class 726 u8 *op_class, u8 *channel) in ieee80211_freq_to_channel_ext() 744 *op_class = 83; in ieee80211_freq_to_channel_ext() 746 *op_class = 84; in ieee80211_freq_to_channel_ext() 748 *op_class = 81; in ieee80211_freq_to_channel_ext() 759 *op_class = 82; /* channel 14 */ in ieee80211_freq_to_channel_ext() 769 *op_class = 0; /* TODO */ in ieee80211_freq_to_channel_ext() 794 *op_class in ieee80211_freq_to_channel_ext() 724 ieee80211_freq_to_channel_ext(unsigned int freq, int sec_channel, int vht, u8 *op_class, u8 *channel) ieee80211_freq_to_channel_ext() argument 889 ieee80211_chaninfo_to_channel(unsigned int freq, enum chan_width chanwidth, int sec_channel, u8 *op_class, u8 *channel) ieee80211_chaninfo_to_channel() argument 959 ieee80211_chan_to_freq_us(u8 op_class, u8 chan) ieee80211_chan_to_freq_us() argument 1003 ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) ieee80211_chan_to_freq_eu() argument 1041 ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) ieee80211_chan_to_freq_jp() argument 1085 ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) ieee80211_chan_to_freq_cn() argument 1111 ieee80211_chan_to_freq_global(u8 op_class, u8 chan) ieee80211_chan_to_freq_global() argument 1179 ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) ieee80211_chan_to_freq() argument 1817 global_op_class_from_country_array(u8 op_class, size_t array_size, const struct country_op_class *country_array) global_op_class_from_country_array() argument 1831 country_to_global_op_class(const char *country, u8 op_class) country_to_global_op_class() argument 1868 get_oper_class(const char *country, u8 op_class) get_oper_class() argument [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() 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()
|
H A D | ieee802_11_common.h | 174 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan); 177 u8 *op_class, u8 *channel); 179 int sec_channel, u8 *op_class, u8 *channel); 195 u8 op_class; member 219 u8 country_to_global_op_class(const char *country, u8 op_class); 221 const struct oper_class_map * get_oper_class(const char *country, u8 op_class);
|
H A D | ocv.h | 16 u8 op_class; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | ieee802_11_common.c | 1014 u8 op_class; in ieee80211_freq_to_chan() local 1017 &op_class, channel); in ieee80211_freq_to_chan() 1027 * @op_class: Buffer for returning operating class 1034 u8 *op_class, u8 *channel) in ieee80211_freq_to_channel_ext() 1052 *op_class = 83; in ieee80211_freq_to_channel_ext() 1054 *op_class = 84; in ieee80211_freq_to_channel_ext() 1056 *op_class = 81; in ieee80211_freq_to_channel_ext() 1067 *op_class = 82; /* channel 14 */ in ieee80211_freq_to_channel_ext() 1077 *op_class = 0; /* TODO */ in ieee80211_freq_to_channel_ext() 1102 *op_class in ieee80211_freq_to_channel_ext() 1031 ieee80211_freq_to_channel_ext(unsigned int freq, int sec_channel, int chanwidth, u8 *op_class, u8 *channel) ieee80211_freq_to_channel_ext() argument 1260 ieee80211_chaninfo_to_channel(unsigned int freq, enum chan_width chanwidth, int sec_channel, u8 *op_class, u8 *channel) ieee80211_chaninfo_to_channel() argument 1342 ieee80211_chan_to_freq_us(u8 op_class, u8 chan) ieee80211_chan_to_freq_us() argument 1398 ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) ieee80211_chan_to_freq_eu() argument 1448 ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) ieee80211_chan_to_freq_jp() argument 1504 ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) ieee80211_chan_to_freq_cn() argument 1530 ieee80211_chan_to_freq_global(u8 op_class, u8 chan) ieee80211_chan_to_freq_global() argument 1622 ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) ieee80211_chan_to_freq() argument 1679 is_dfs_global_op_class(u8 op_class) is_dfs_global_op_class() argument 2341 global_op_class_from_country_array(u8 op_class, size_t array_size, const struct country_op_class *country_array) global_op_class_from_country_array() argument 2355 country_to_global_op_class(const char *country, u8 op_class) country_to_global_op_class() argument 2392 get_oper_class(const char *country, u8 op_class) get_oper_class() argument 2469 is_6ghz_op_class(u8 op_class) is_6ghz_op_class() argument 2730 op_class_to_bandwidth(u8 op_class) op_class_to_bandwidth() argument 2791 op_class_to_ch_width(u8 op_class) op_class_to_ch_width() argument [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 | 263 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan); 266 u8 *op_class, u8 *channel); 268 int sec_channel, u8 *op_class, u8 *channel); 271 int is_dfs_global_op_class(u8 op_class); 285 u8 op_class; member 316 u8 country_to_global_op_class(const char *country, u8 op_class); 318 const struct oper_class_map * get_oper_class(const char *country, u8 op_class); 322 bool is_6ghz_op_class(u8 op_class); 333 int op_class_to_bandwidth(u8 op_class); 334 int op_class_to_ch_width(u8 op_class); [all...] |
H A D | ocv.h | 16 u8 op_class; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_utils.c | 53 * @op_class: Operating class 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() 65 * @op_class: Buffer for returning operating class 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() 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 384 p2p_channel_select(struct p2p_channels *chans, const int *classes, u8 *op_class, u8 *op_channel) p2p_channel_select() argument [all...] |
H A D | p2p_go_neg.c | 447 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() 451 p2p_dbg(p2p, "Pick highest preferred channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 460 p2p_dbg(p2p, "Pick possible VHT channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 468 p2p_dbg(p2p, "Pick possible HT40 channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 476 p2p_dbg(p2p, "Pick possible 5 GHz channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 488 p2p_dbg(p2p, "Using original operating class and channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 534 p2p_dbg(p2p, "Selected operating channel (op_class %u channel %u) not acceptable to the peer", in p2p_go_select_channel() 539 p2p_dbg(p2p, "Try to optimize channel selection with peer information received; previously selected op_class %u channel %u", in p2p_go_select_channel() 558 u8 op_class, op_channe in p2p_check_pref_chan_no_recv() local 605 u8 op_class, op_channel; p2p_check_pref_chan_recv() local 648 u8 op_class, op_channel; p2p_check_pref_chan() local [all...] |
H A D | p2p_i.h | 679 int p2p_channel_to_freq(int op_class, int channel); 680 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel); 696 u8 *op_class, u8 *op_channel); 697 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_utils.c | 56 * @op_class: Operating class 60 int p2p_channel_to_freq(int op_class, int channel) in p2p_channel_to_freq() argument 62 return ieee80211_chan_to_freq(NULL, op_class, channel); in p2p_channel_to_freq() 68 * @op_class: Buffer for returning operating class 72 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) in p2p_freq_to_channel() argument 74 if (ieee80211_freq_to_channel_ext(freq, 0, 0, op_class, channel) == in p2p_freq_to_channel() 350 freq = p2p_channel_to_freq(p2p->cfg->pref_chan[i].op_class, in p2p_get_pref_freq() 403 u8 *op_class, u8 *op_channel) in p2p_channel_select() 419 *op_class = c->reg_class; in p2p_channel_select() 433 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, in p2p_channel_random_social() argument 402 p2p_channel_select(struct p2p_channels *chans, const int *classes, u8 *op_class, u8 *op_channel) p2p_channel_select() argument [all...] |
H A D | p2p_go_neg.c | 458 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel() 460 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel() 462 p2p_dbg(p2p, "Pick highest preferred channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 487 p2p_dbg(p2p, "Pick possible EDMG channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 495 p2p_dbg(p2p, "Pick possible VHT channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 503 p2p_dbg(p2p, "Pick possible HT40 channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 511 p2p_dbg(p2p, "Pick possible 5 GHz channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 519 p2p_dbg(p2p, "p2p_reselect_channel Pick 2.4g channel (op_class %u channel %u) ok", in p2p_reselect_channel() 532 p2p_dbg(p2p, "Using original operating class and channel (op_class %u channel %u) from intersection", in p2p_reselect_channel() 577 p2p_dbg(p2p, "origin pepare operating channel (op_class in p2p_go_select_channel() 619 u8 op_class, op_channel; p2p_check_pref_chan_no_recv() local 666 u8 op_class, op_channel; p2p_check_pref_chan_recv() local 709 u8 op_class, op_channel; p2p_check_pref_chan() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | mbo_ap.c | 48 info->op_class = buf[0]; in mbo_ap_parse_non_pref_chan() 78 MAC2STR_SEC(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 | beacon.c | 405 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() 560 !is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_gen_probe_resp() 569 is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_gen_probe_resp() 697 is_6ghz_op_class(hapd->iconf->op_class)) in ssid_match() 706 !is_6ghz_op_class(colocated->conf->op_class)) in ssid_match() 1161 if (!is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_unsol_bcast_probe_resp() 1195 if (is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_fils_discovery_cap() [all...] |
H A D | neighbor_db.c | 229 u8 channel, op_class; in hostapd_neighbor_set_own_report() local 272 &op_class, &channel) == in hostapd_neighbor_set_own_report() 293 * Neighbor Report element size = BSSID + BSSID info + op_class + chan + in hostapd_neighbor_set_own_report() 302 wpabuf_put_u8(nr, op_class); in hostapd_neighbor_set_own_report()
|
H A D | ieee802_11_he.c | 174 if (is_6ghz_op_class(hapd->iconf->op_class)) in hostapd_eid_he_operation() 213 if (is_6ghz_op_class(hapd->iconf->op_class)) { in hostapd_eid_he_operation() 346 if (!mode || !is_6ghz_op_class(hapd->iconf->op_class) || in hostapd_eid_he_6ghz_band_cap() 487 !is_6ghz_op_class(hapd->iconf->op_class)) { in copy_sta_he_6ghz_capab()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
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 | neighbor_db.c | 171 u8 channel, op_class; in hostapd_neighbor_set_own_report() local 212 &op_class, &channel) == in hostapd_neighbor_set_own_report() 233 * Neighbor Report element size = BSSID + BSSID info + op_class + chan + in hostapd_neighbor_set_own_report() 242 wpabuf_put_u8(nr, op_class); in hostapd_neighbor_set_own_report()
|