Home
last modified time | relevance | path

Searched refs:reg_class (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p_utils.c49 static int p2p_channel_to_freq_j4(int reg_class, int channel) in p2p_channel_to_freq_j4() argument
53 switch (reg_class) { in p2p_channel_to_freq_j4()
103 int p2p_channel_to_freq(const char *country, int reg_class, int channel) in p2p_channel_to_freq() argument
106 return p2p_channel_to_freq_j4(reg_class, channel); in p2p_channel_to_freq()
109 switch (reg_class) { in p2p_channel_to_freq()
142 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class, in p2p_freq_to_channel() argument
147 *reg_class = 81; /* 2.407 GHz, channels 1..13 */ in p2p_freq_to_channel()
153 *reg_class = 82; /* channel 14 */ in p2p_freq_to_channel()
159 *reg_class = 115; /* 5 GHz, channels 36..48 */ in p2p_freq_to_channel()
165 *reg_class = 124; /* 5 GHz, channels 149..161 */ in p2p_freq_to_channel()
[all …]
Dp2p_invitation.c93 u8 reg_class, u8 channel, in p2p_build_invitation_resp() argument
131 if (reg_class && channel) in p2p_build_invitation_resp()
133 reg_class, channel); in p2p_build_invitation_resp()
160 u8 reg_class = 0, channel = 0; in p2p_process_invitation_req() local
239 &reg_class, &channel) < 0) { in p2p_process_invitation_req()
249 if (!p2p_channels_includes(&intersection, reg_class, channel)) in p2p_process_invitation_req()
342 reg_class = p2p->op_reg_class; in p2p_process_invitation_req()
354 bssid, reg_class, channel, channels); in p2p_process_invitation_req()
363 p2p->cfg->reg_class, in p2p_process_invitation_req()
594 p2p->channels.reg_class[0].channels = 1; in p2p_invite()
[all …]
Dp2p_build.c88 u8 reg_class, u8 channel) in p2p_buf_add_listen_channel() argument
94 wpabuf_put_u8(buf, reg_class); /* Regulatory Class */ in p2p_buf_add_listen_channel()
97 "Channel %u", reg_class, channel); in p2p_buf_add_listen_channel()
102 u8 reg_class, u8 channel) in p2p_buf_add_operating_channel() argument
108 wpabuf_put_u8(buf, reg_class); /* Regulatory Class */ in p2p_buf_add_operating_channel()
111 "Channel %u", reg_class, channel); in p2p_buf_add_operating_channel()
127 struct p2p_reg_class *c = &chan->reg_class[i]; in p2p_buf_add_channel_list()
128 wpabuf_put_u8(buf, c->reg_class); in p2p_buf_add_channel_list()
Dp2p_go_neg.c61 struct p2p_reg_class *cl = &ch->reg_class[ch->reg_classes]; in p2p_peer_channels_check()
62 cl->reg_class = *pos++; in p2p_peer_channels_check()
171 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, in p2p_build_go_neg_req()
399 cl = &intersection->reg_class[0]; in p2p_reselect_channel()
402 cl->reg_class, cl->channel[0]); in p2p_reselect_channel()
403 p2p->op_reg_class = cl->reg_class; in p2p_reselect_channel()
630 intersection.reg_class[0].channels == 0) { in p2p_process_go_neg_req()
638 c = &intersection.reg_class[i]; in p2p_process_go_neg_req()
640 c->reg_class); in p2p_process_go_neg_req()
694 p2p->cfg->reg_class, in p2p_process_go_neg_req()
[all …]
Dp2p.c269 freq = p2p_channel_to_freq(p2p->cfg->country, p2p->cfg->reg_class, in p2p_listen_in_find()
307 freq = p2p_channel_to_freq(p2p->cfg->country, p2p->cfg->reg_class, in p2p_listen()
804 u8 reg_class; in p2p_get_next_prog_freq() local
810 cla = &c->reg_class[cl]; in p2p_get_next_prog_freq()
811 if (cla->reg_class != p2p->last_prog_scan_class) in p2p_get_next_prog_freq()
825 reg_class = c->reg_class[0].reg_class; in p2p_get_next_prog_freq()
826 channel = c->reg_class[0].channel[0]; in p2p_get_next_prog_freq()
836 reg_class = c->reg_class[cl].reg_class; in p2p_get_next_prog_freq()
837 channel = c->reg_class[cl].channel[ch]; in p2p_get_next_prog_freq()
840 freq = p2p_channel_to_freq(p2p->cfg->country, reg_class, channel); in p2p_get_next_prog_freq()
[all …]
Dp2p_i.h562 int p2p_channel_to_freq(const char *country, int reg_class, int channel);
563 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class,
568 int p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class,
612 u8 reg_class, u8 channel);
614 u8 reg_class, u8 channel);
Dp2p.h33 u8 reg_class; member
44 } reg_class[P2P_MAX_REG_CLASSES]; member
252 u8 reg_class; member
1582 int p2p_set_listen_channel(struct p2p_data *p2p, u8 reg_class, u8 channel);
Dp2p_pd.c220 p2p->cfg->reg_class, in p2p_process_prov_disc_req()
Dp2p_sd.c294 p2p->cfg->reg_class, in p2p_rx_gas_initial_req()
/external/valgrind/main/VEX/priv/
Dhost_generic_reg_alloc2.c70 HRegClass reg_class; member
210 if (vreg->reg_class == HRcVec128 || vreg->reg_class == HRcFlt64) { in sanity_check_spill_offset()
501 vreg_lrs[j].reg_class = HRcINVALID; in doRegisterAllocation()
563 if (vreg_lrs[k].reg_class == HRcINVALID) { in doRegisterAllocation()
565 vreg_lrs[k].reg_class = hregClass(vreg); in doRegisterAllocation()
568 vassert(vreg_lrs[k].reg_class == hregClass(vreg)); in doRegisterAllocation()
819 vassert(vreg_lrs[j].reg_class == HRcINVALID); in doRegisterAllocation()
829 if (vreg_lrs[j].reg_class == HRcVec128 in doRegisterAllocation()
830 || vreg_lrs[j].reg_class == HRcFlt64) { in doRegisterAllocation()
1149 vassert(vreg_lrs[m].reg_class != HRcINVALID); in doRegisterAllocation()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant.c2453 chan->reg_class[cla].reg_class = 81; in wpas_p2p_default_channels()
2454 chan->reg_class[cla].channels = 0; in wpas_p2p_default_channels()
2457 wpas_p2p_add_chan(&chan->reg_class[cla], i + 1); in wpas_p2p_default_channels()
2459 if (chan->reg_class[cla].channels) in wpas_p2p_default_channels()
2466 chan->reg_class[cla].reg_class = 115; in wpas_p2p_default_channels()
2467 chan->reg_class[cla].channels = 0; in wpas_p2p_default_channels()
2469 wpas_p2p_add_chan(&chan->reg_class[cla], 36); in wpas_p2p_default_channels()
2471 wpas_p2p_add_chan(&chan->reg_class[cla], 40); in wpas_p2p_default_channels()
2473 wpas_p2p_add_chan(&chan->reg_class[cla], 44); in wpas_p2p_default_channels()
2475 wpas_p2p_add_chan(&chan->reg_class[cla], 48); in wpas_p2p_default_channels()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_test.c3239 p2p.reg_class = 12; /* TODO: change depending on location */ in wpa_driver_test_init_p2p()
3259 p2p.channels.reg_class[0].reg_class = 12; /* US/12 = 2.4 GHz band */ in wpa_driver_test_init_p2p()
3260 p2p.channels.reg_class[0].channels = 11; in wpa_driver_test_init_p2p()
3262 p2p.channels.reg_class[0].channel[i] = i + 1; in wpa_driver_test_init_p2p()