Home
last modified time | relevance | path

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

/NextBSD/contrib/wpa/src/common/
HDieee802_11_common.c571 u8 op_class; in ieee80211_freq_to_chan() local
573 return ieee80211_freq_to_channel_ext(freq, 0, 0, &op_class, channel); in ieee80211_freq_to_chan()
589 u8 *op_class, u8 *channel) in ieee80211_freq_to_channel_ext() argument
605 *op_class = 83; in ieee80211_freq_to_channel_ext()
607 *op_class = 84; in ieee80211_freq_to_channel_ext()
609 *op_class = 81; in ieee80211_freq_to_channel_ext()
620 *op_class = 82; /* channel 14 */ in ieee80211_freq_to_channel_ext()
630 *op_class = 0; /* TODO */ in ieee80211_freq_to_channel_ext()
640 *op_class = 116; in ieee80211_freq_to_channel_ext()
642 *op_class = 117; in ieee80211_freq_to_channel_ext()
[all …]
HDieee802_11_common.h116 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
119 u8 *op_class, u8 *channel);
HDieee802_11_defs.h1317 u8 op_class; member
1386 u8 op_class; member
/NextBSD/contrib/wpa/src/p2p/
HDp2p_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
438 *op_class = 180; in p2p_channel_random_social()
440 *op_class = 81; in p2p_channel_random_social()
HDp2p_go_neg.c442 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()
444 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()
553 u8 op_class, op_channel; in p2p_check_pref_chan_no_recv() local
571 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_no_recv()
577 op_class, op_channel) && in p2p_check_pref_chan_no_recv()
579 op_class, op_channel))) { in p2p_check_pref_chan_no_recv()
582 oper_freq, op_class, op_channel); in p2p_check_pref_chan_no_recv()
590 p2p->op_reg_class = op_class; in p2p_check_pref_chan_no_recv()
616 u8 op_class, op_channel; in p2p_check_pref_chan_recv() local
638 if (p2p_freq_to_channel(oper_freq, &op_class, in p2p_check_pref_chan_recv()
[all …]
HDp2p.c1348 u8 op_class, op_channel; in p2p_prepare_channel_pref() local
1353 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1358 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && in p2p_prepare_channel_pref()
1359 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class, in p2p_prepare_channel_pref()
1362 freq, op_class, op_channel); in p2p_prepare_channel_pref()
1366 p2p->op_reg_class = op_class; in p2p_prepare_channel_pref()
1385 u8 op_class, op_channel; in p2p_prepare_channel_best() local
1394 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
1397 p2p->op_reg_class = op_class; in p2p_prepare_channel_best()
1401 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel) in p2p_prepare_channel_best()
[all …]
HDp2p_i.h672 int p2p_channel_to_freq(int op_class, int channel);
673 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
689 u8 *op_class, u8 *op_channel);
690 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class,
HDp2p_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()
HDp2p.h402 u8 op_class; member
1980 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
/NextBSD/contrib/wpa/src/fst/
HDfst_group.c55 mbie->mb_ctrl, mbie->band_id, mbie->op_class, in fst_dump_mb_ies()
95 mbie->op_class = 0; /* means all */ in fst_fill_mb_ie()
/NextBSD/contrib/wpa/src/ap/
HDieee802_11_ht.c265 ic_report->op_class); in hostapd_2040_coex_action()
HDieee802_11.c989 u8 op_class, channel, phytype; in handle_auth() local
1024 &op_class, &channel) == NUM_HOSTAPD_MODES) { in handle_auth()
1025 op_class = 0; in handle_auth()
1028 *pos++ = op_class; in handle_auth()
/NextBSD/contrib/wpa/wpa_supplicant/
HDwnm_sta.c412 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) in wnm_nei_get_chan() argument
424 return ieee80211_chan_to_freq(country, op_class, chan); in wnm_nei_get_chan()
HDp2p_supplicant.c3222 u8 op_class; member
3229 static const struct p2p_oper_class_map op_class[] = { variable
3362 for (op = 0; op_class[op].op_class; op++) { in wpas_p2p_setup_channels()
3363 const struct p2p_oper_class_map *o = &op_class[op]; in wpas_p2p_setup_channels()
3378 o->op_class); in wpas_p2p_setup_channels()
3381 reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
3389 o->op_class); in wpas_p2p_setup_channels()
3392 cli_reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
3421 for (op = 0; op_class[op].op_class; op++) { in wpas_p2p_get_ht40_mode()
3422 const struct p2p_oper_class_map *o = &op_class[op]; in wpas_p2p_get_ht40_mode()
HDconfig.c3897 u8 op_class, chan; in wpa_config_process_p2p_pref_chan() local
3902 op_class = atoi(pos); in wpa_config_process_p2p_pref_chan()
3914 pref[num].op_class = op_class; in wpa_config_process_p2p_pref_chan()
HDconfig_file.c1102 config->p2p_pref_chan[i].op_class, in wpa_config_write_global()
HDsme.c1238 ic_report->op_class = 0; in sme_send_2040_bss_coex()