/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | mbo_ap.c | 48 info->op_class = buf[0]; 78 MAC2STR(sta->addr), info->op_class, info->pref, 136 count, info->op_class, info->pref,
|
H A D | beacon.c | 342 u8 op_class, channel; local 351 &op_class, &channel) == 359 *eid++ = op_class;
|
H A D | ieee802_11.c | 2149 u8 op_class, channel, phytype; local 2184 &op_class, &channel) == NUM_HOSTAPD_MODES) { 2185 op_class = 0; 2188 *pos++ = op_class;
|
H A D | ieee802_11_ht.c | 328 ic_report->op_class);
|
H A D | neighbor_db.c | 171 u8 channel, op_class; local 212 &op_class, &channel) == 233 * Neighbor Report element size = BSSID + BSSID info + op_class + chan + 242 wpabuf_put_u8(nr, op_class);
|
H A D | sta_info.h | 53 u8 op_class; member in struct:mbo_non_pref_chan_info
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | dpp.c | 1717 u8 op_class, channel; local 1719 if (ieee80211_freq_to_channel_ext(neg_freq, 0, 0, &op_class, 1730 wpabuf_put_u8(msg, op_class); 3151 "DPP: Initiator requested different channel for negotiation: op_class=%u channel=%u --> freq=%d",
|
H A D | ieee802_11_common.c | 707 u8 op_class; local 710 &op_class, channel); 720 * @op_class: Buffer for returning operating class 726 u8 *op_class, u8 *channel) 744 *op_class = 83; 746 *op_class = 84; 748 *op_class = 81; 759 *op_class = 82; /* channel 14 */ 769 *op_class = 0; /* TODO */ 794 *op_class 724 ieee80211_freq_to_channel_ext(unsigned int freq, int sec_channel, int vht, u8 *op_class, u8 *channel) argument 889 ieee80211_chaninfo_to_channel(unsigned int freq, enum chan_width chanwidth, int sec_channel, u8 *op_class, u8 *channel) argument 959 ieee80211_chan_to_freq_us(u8 op_class, u8 chan) argument 1003 ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) argument 1041 ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) argument 1085 ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) argument 1111 ieee80211_chan_to_freq_global(u8 op_class, u8 chan) argument 1179 ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument 1817 global_op_class_from_country_array(u8 op_class, size_t array_size, const struct country_op_class *country_array) argument 1831 country_to_global_op_class(const char *country, u8 op_class) argument 1868 get_oper_class(const char *country, u8 op_class) argument [all...] |
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 in struct:oper_class_map 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 | ieee802_11_defs.h | 1832 u8 op_class; member in struct:ieee80211_2040_intol_chan_report 1976 u8 op_class; /* Operating Class */ member in struct:rrm_measurement_beacon_report 2012 u8 op_class; member in struct:multi_band_ie
|
H A D | ocv.c | 26 oci->freq = ieee80211_chan_to_freq(NULL, oci->op_class, oci->channel); 30 oci->op_class, oci->channel); 34 op_class_map = get_oper_class(NULL, oci->op_class); 38 oci->op_class); 55 u8 op_class, channel; local 60 &op_class, &channel) < 0) { 66 *pos++ = op_class; 118 oci.op_class = oci_ie[0];
|
H A D | ocv.h | 16 u8 op_class; member in struct:oci_info
|
/freebsd-11-stable/contrib/wpa/src/fst/ |
H A D | fst_group.c | 35 "%s: %s: mb_ctrl=%u band_id=%u op_class=%u chan=%u bssid=" 39 mbie->mb_ctrl, mbie->band_id, mbie->op_class, 79 mbie->op_class = 0; /* means all */
|
/freebsd-11-stable/contrib/wpa/src/p2p/ |
H A D | p2p.c | 1366 u8 op_class, op_channel; local 1371 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { 1376 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && 1377 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class, 1380 freq, op_class, op_channel); 1384 p2p->op_reg_class = op_class; 1403 u8 op_class, op_channel; local 1412 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) 1415 p2p->op_reg_class = op_class; 1419 p2p_freq_to_channel(p2p->best_freq_5, &op_class, 2243 u8 channel, op_class; local 4708 p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class, u8 *op_channel, struct wpa_freq_range_list *avoid_list, struct wpa_freq_range_list *disallow_list) argument 5239 u8 op_class, channel; local 5504 p2p_set_override_pref_op_chan(struct p2p_data *p2p, u8 op_class, u8 chan) argument [all...] |
H A D | p2p.h | 421 u8 op_class; member in struct:p2p_channel 2013 * @op_class: Selected operating class 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,
|
H A D | p2p_build.c | 118 u8 op_class, op_channel; local 129 if (p2p_freq_to_channel(preferred_freq_list[i], &op_class, 139 if (p2p_freq_to_channel(preferred_freq_list[i], &op_class, 145 wpabuf_put_u8(buf, op_class);
|
H A D | p2p_go_neg.c | 447 p2p->cfg->pref_chan[i].op_class, 449 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; 451 p2p_dbg(p2p, "Pick highest preferred channel (op_class %u channel %u) from intersection", 460 p2p_dbg(p2p, "Pick possible VHT channel (op_class %u channel %u) from intersection", 468 p2p_dbg(p2p, "Pick possible HT40 channel (op_class %u channel %u) from intersection", 476 p2p_dbg(p2p, "Pick possible 5 GHz channel (op_class %u channel %u) from intersection", 488 p2p_dbg(p2p, "Using original operating class and channel (op_class %u channel %u) from intersection", 534 p2p_dbg(p2p, "Selected operating channel (op_class %u channel %u) not acceptable to the peer", 539 p2p_dbg(p2p, "Try to optimize channel selection with peer information received; previously selected op_class %u channel %u", 558 u8 op_class, op_channe local 605 u8 op_class, op_channel; local 648 u8 op_class, op_channel; 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,
|
H A D | p2p_utils.c | 53 * @op_class: Operating class 57 int p2p_channel_to_freq(int op_class, int channel) argument 59 return ieee80211_chan_to_freq(NULL, op_class, channel); 65 * @op_class: Buffer for returning operating class 69 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) argument 71 if (ieee80211_freq_to_channel_ext(freq, 0, 0, op_class, channel) == 332 freq = p2p_channel_to_freq(p2p->cfg->pref_chan[i].op_class, 385 u8 *op_class, u8 *op_channel) 401 *op_class = c->reg_class; 415 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, argument 384 p2p_channel_select(struct p2p_channels *chans, const int *classes, u8 *op_class, u8 *op_channel) argument [all...] |
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | config.c | 4475 u8 op_class, chan; local 4480 op_class = atoi(pos); 4492 pref[num].op_class = op_class;
|
H A D | config_file.c | 1249 config->p2p_pref_chan[i].op_class,
|
H A D | ctrl_iface.c | 6699 u8 channel, op_class; local 6703 op_class = pos ? atoi(pos) : 81; 6705 return p2p_set_listen_channel(wpa_s->global->p2p, op_class, 6882 int op_class, chan; local 6884 op_class = atoi(param); 6890 p2p_set_override_pref_op_chan(wpa_s->global->p2p, op_class, 9511 " info=0x%x op_class=%u chan=%u phy_type=%u%s%s%s%s",
|
H A D | op_classes.c | 212 const struct oper_class_map *op_class) 222 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op_class->mode); 245 if (op_class->op_class >= 115 && op_class->op_class <= 130 && !freq5) 247 if (op_class->op_class >= 81 && op_class->op_class < 210 wpas_op_class_supported(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, const struct oper_class_map *op_class) argument [all...] |
H A D | p2p_supplicant.c | 3609 for (op = 0; global_op_class[op].op_class; op++) { 3628 o->op_class); 3631 reg->reg_class = o->op_class; 3639 o->op_class); 3642 cli_reg->reg_class = o->op_class; 3671 for (op = 0; global_op_class[op].op_class; op++) {
|
H A D | rrm.c | 469 static int wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, argument 477 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); 482 (op_class == 128 || op_class == 129 || op_class == 130)) 530 if (wpas_add_channel(op->op_class, chan, num_primary_channels, 633 u8 op_class, u8 chan, int active, 648 op = get_oper_class(country, op_class); 652 op_class); 689 u8 *op_class, u 632 wpas_beacon_request_freqs(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan, int active, const u8 *subelems, size_t len) argument 688 wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, u8 *op_class, u8 *chan, u8 *phy_type) argument [all...] |