Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/p2p/
Dp2p_utils.c56 int p2p_channel_to_freq(int op_class, int channel) in p2p_channel_to_freq() argument
58 return ieee80211_chan_to_freq(NULL, op_class, channel); in p2p_channel_to_freq()
68 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) in p2p_freq_to_channel() argument
75 *op_class = 81; /* 2.407 GHz, channels 1..13 */ in p2p_freq_to_channel()
81 *op_class = 82; /* channel 14 */ in p2p_freq_to_channel()
90 *op_class = 115; /* 5 GHz, channels 36..48 */ in p2p_freq_to_channel()
99 *op_class = 124; /* 5 GHz, channels 149..161 */ in p2p_freq_to_channel()
108 *op_class = 125; /* 5 GHz, channels 149..169 */ in p2p_freq_to_channel()
117 *op_class = 180; /* 60 GHz, channels 1..4 */ in p2p_freq_to_channel()
379 freq = p2p_channel_to_freq(p2p->cfg->pref_chan[i].op_class, in p2p_get_pref_freq()
[all …]
Dp2p.c1358 u8 op_class, op_channel; in p2p_prepare_channel_pref() local
1363 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) { in p2p_prepare_channel_pref()
1368 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) && in p2p_prepare_channel_pref()
1369 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class, in p2p_prepare_channel_pref()
1372 freq, op_class, op_channel); in p2p_prepare_channel_pref()
1376 p2p->op_reg_class = op_class; in p2p_prepare_channel_pref()
1395 u8 op_class, op_channel; in p2p_prepare_channel_best() local
1404 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel) in p2p_prepare_channel_best()
1407 p2p->op_reg_class = op_class; in p2p_prepare_channel_best()
1411 p2p_freq_to_channel(p2p->best_freq_5, &op_class, &op_channel) in p2p_prepare_channel_best()
[all …]
Dp2p_i.h663 int p2p_channel_to_freq(int op_class, int channel);
664 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
680 u8 *op_class, u8 *op_channel);
681 int p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class,
Dp2p.h357 u8 op_class; member
1917 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
Dp2p_go_neg.c439 p2p->cfg->pref_chan[i].op_class, in p2p_reselect_channel()
441 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class; in p2p_reselect_channel()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c602 static int ieee80211_chan_to_freq_us(u8 op_class, u8 chan) in ieee80211_chan_to_freq_us() argument
604 switch (op_class) { in ieee80211_chan_to_freq_us()
646 static int ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) in ieee80211_chan_to_freq_eu() argument
648 switch (op_class) { in ieee80211_chan_to_freq_eu()
684 static int ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) in ieee80211_chan_to_freq_jp() argument
686 switch (op_class) { in ieee80211_chan_to_freq_jp()
728 static int ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) in ieee80211_chan_to_freq_cn() argument
730 switch (op_class) { in ieee80211_chan_to_freq_cn()
754 static int ieee80211_chan_to_freq_global(u8 op_class, u8 chan) in ieee80211_chan_to_freq_global() argument
757 switch (op_class) { in ieee80211_chan_to_freq_global()
[all …]
Dieee802_11_common.h103 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
Dieee802_11_defs.h1298 u8 op_class; member
/external/wpa_supplicant_8/src/ap/
Dieee802_11_ht.c265 ic_report->op_class); in hostapd_2040_coex_action()
/external/wpa_supplicant_8/wpa_supplicant/
Dwnm_sta.c418 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) in wnm_nei_get_chan() argument
430 return ieee80211_chan_to_freq(country, op_class, chan); in wnm_nei_get_chan()
Dp2p_supplicant.c3119 u8 op_class; member
3126 static const struct p2p_oper_class_map op_class[] = { variable
3259 for (op = 0; op_class[op].op_class; op++) { in wpas_p2p_setup_channels()
3260 const struct p2p_oper_class_map *o = &op_class[op]; in wpas_p2p_setup_channels()
3275 o->op_class); in wpas_p2p_setup_channels()
3278 reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
3286 o->op_class); in wpas_p2p_setup_channels()
3289 cli_reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
3318 for (op = 0; op_class[op].op_class; op++) { in wpas_p2p_get_ht40_mode()
3319 const struct p2p_oper_class_map *o = &op_class[op]; in wpas_p2p_get_ht40_mode()
Dconfig.c3902 u8 op_class, chan; in wpa_config_process_p2p_pref_chan() local
3907 op_class = atoi(pos); in wpa_config_process_p2p_pref_chan()
3919 pref[num].op_class = op_class; in wpa_config_process_p2p_pref_chan()
Dconfig_file.c1102 config->p2p_pref_chan[i].op_class, in wpa_config_write_global()
Dsme.c1208 ic_report->op_class = 0; in sme_send_2040_bss_coex()