Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/wpa/src/p2p/
H A Dp2p_utils.c85 res->reg_class = a->reg_class; in p2p_reg_class_intersect()
123 if (a_reg->reg_class != b_reg->reg_class) in p2p_channels_intersect()
171 if (cl->reg_class != b_cl->reg_class) in p2p_channels_union_inplace()
182 if (cl->reg_class == b_cl->reg_class) in p2p_channels_union_inplace()
238 os_memmove(&chan->reg_class[o], &chan->reg_class[o + 1], in p2p_channels_remove_freqs()
260 if (reg->reg_class != reg_class) in p2p_channels_includes()
353 c = &chan->reg_class[i]; in p2p_channels_dump()
512 if (is_6ghz_op_class(src->reg_class[i].reg_class)) in p2p_copy_channels()
514 os_memcpy(&dst->reg_class[j], &src->reg_class[i], in p2p_copy_channels()
597 reg->reg_class, in p2p_pref_channel_filter()
[all …]
H A Dp2p_invitation.c116 u8 reg_class, u8 channel, in p2p_build_invitation_resp() argument
157 if (reg_class && channel) in p2p_build_invitation_resp()
159 reg_class, channel); in p2p_build_invitation_resp()
195 u8 reg_class = 0, channel = 0; in p2p_process_invitation_req() local
288 if (p2p_freq_to_channel(op_freq, &reg_class, &channel) < 0) { in p2p_process_invitation_req()
295 if (!p2p_channels_includes(&intersection, reg_class, channel)) in p2p_process_invitation_req()
377 reg_class = p2p->op_reg_class; in p2p_process_invitation_req()
389 bssid, reg_class, channel, channels); in p2p_process_invitation_req()
397 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_process_invitation_req()
H A Dp2p_build.c87 u8 reg_class, u8 channel) in p2p_buf_add_listen_channel() argument
93 wpabuf_put_u8(buf, reg_class); /* Regulatory Class */ in p2p_buf_add_listen_channel()
96 "Channel %u", reg_class, channel); in p2p_buf_add_listen_channel()
101 u8 reg_class, u8 channel) in p2p_buf_add_operating_channel() argument
107 wpabuf_put_u8(buf, reg_class); /* Regulatory Class */ in p2p_buf_add_operating_channel()
110 "Channel %u", reg_class, channel); in p2p_buf_add_operating_channel()
166 struct p2p_reg_class *c = &chan->reg_class[i]; in p2p_buf_add_channel_list()
168 if (is_6ghz_op_class(c->reg_class) && !is_6ghz_capab) in p2p_buf_add_channel_list()
170 wpabuf_put_u8(buf, c->reg_class); in p2p_buf_add_channel_list()
H A Dp2p.c972 u8 reg_class; in p2p_get_next_prog_freq() local
978 cla = &c->reg_class[cl]; in p2p_get_next_prog_freq()
993 reg_class = c->reg_class[0].reg_class; in p2p_get_next_prog_freq()
1004 reg_class = c->reg_class[cl].reg_class; in p2p_get_next_prog_freq()
1010 reg_class, channel, freq); in p2p_get_next_prog_freq()
1427 p2p->channels.reg_class[0].reg_class = p2p->op_reg_class; in p2p_prepare_channel_pref()
3609 p2p->cfg->reg_class, in p2p_scan_ie()
4817 reg_class, channel); in p2p_set_listen_channel()
4820 p2p->cfg->reg_class = reg_class; in p2p_set_listen_channel()
4825 p2p->pending_reg_class = reg_class; in p2p_set_listen_channel()
[all …]
H A Dp2p_go_neg.c63 struct p2p_reg_class *cl = &ch->reg_class[ch->reg_classes]; in p2p_peer_channels_check()
64 cl->reg_class = *pos++; in p2p_peer_channels_check()
178 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, in p2p_build_go_neg_req()
543 cl = &intersection->reg_class[0]; in p2p_reselect_channel()
545 cl->reg_class, cl->channel[0]); in p2p_reselect_channel()
546 p2p->op_reg_class = cl->reg_class; in p2p_reselect_channel()
566 intersection.reg_class[0].channels == 0) { in p2p_go_select_channel()
1105 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_process_go_neg_req()
H A Dp2p.h54 u8 reg_class; member
65 } reg_class[P2P_MAX_REG_CLASSES]; member
444 u8 reg_class; member
2043 int p2p_set_listen_channel(struct p2p_data *p2p, u8 reg_class, u8 channel,
H A Dp2p_pd.c164 p2p->cfg->reg_class, in p2ps_add_pd_req_attrs()
818 ch->reg_class[0].reg_class = in p2p_process_prov_disc_req()
820 ch->reg_class[0].channel[0] = in p2p_process_prov_disc_req()
822 ch->reg_class[0].channels = 1; in p2p_process_prov_disc_req()
1000 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_process_prov_disc_req()
H A Dp2p_i.h696 int p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class,
759 u8 reg_class, u8 channel);
761 u8 reg_class, u8 channel);
H A Dp2p_sd.c344 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_rx_gas_initial_req()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZicfiss.td13 class RVC_SSInst<bits<5> rs1val, RegisterClass reg_class, string opcodestr> :
14 RVInst16<(outs), (ins reg_class:$rs1), opcodestr, "$rs1", [], InstFormatOther> {
H A DRISCVInstrInfoVSDPatterns.td31 VReg reg_class,
41 (store_instr reg_class:$rs2, GPR:$rs1, avl, log2sew)>;
47 VReg reg_class,
59 (store_instr reg_class:$rs2, GPR:$rs1)>;
/freebsd-14.2/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant.c3650 chan->reg_class[cla].reg_class = 81; in wpas_p2p_default_channels()
3651 chan->reg_class[cla].channels = 0; in wpas_p2p_default_channels()
3656 if (chan->reg_class[cla].channels) in wpas_p2p_default_channels()
3663 chan->reg_class[cla].reg_class = 115; in wpas_p2p_default_channels()
3664 chan->reg_class[cla].channels = 0; in wpas_p2p_default_channels()
3680 chan->reg_class[cla].reg_class = 124; in wpas_p2p_default_channels()
4001 reg = &chan->reg_class[cla]; in wpas_p2p_setup_channels()
4003 reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
4987 p2p.reg_class, p2p.channel); in wpas_p2p_init()
8148 u8 reg_class, channel; in wpas_p2p_update_config() local
[all …]