Home
last modified time | relevance | path

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

/freebsd-13.1/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()
127 &res->reg_class[res->reg_classes]); 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()
401 *op_class = c->reg_class; in p2p_channel_select()
512 if (is_6ghz_op_class(src->reg_class[i].reg_class)) in p2p_copy_channels()
[all …]
H A Dp2p_invitation.c112 u8 reg_class, u8 channel, in p2p_build_invitation_resp() argument
153 if (reg_class && channel) in p2p_build_invitation_resp()
155 reg_class, channel); in p2p_build_invitation_resp()
185 u8 reg_class = 0, channel = 0; in p2p_process_invitation_req() local
278 if (p2p_freq_to_channel(op_freq, &reg_class, &channel) < 0) { in p2p_process_invitation_req()
285 if (!p2p_channels_includes(&intersection, reg_class, channel)) in p2p_process_invitation_req()
367 reg_class = p2p->op_reg_class; in p2p_process_invitation_req()
379 bssid, reg_class, channel, channels); in p2p_process_invitation_req()
387 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_process_invitation_req()
H A Dp2p_build.c86 u8 reg_class, u8 channel) in p2p_buf_add_listen_channel() argument
92 wpabuf_put_u8(buf, reg_class); /* Regulatory Class */ in p2p_buf_add_listen_channel()
95 "Channel %u", reg_class, channel); in p2p_buf_add_listen_channel()
100 u8 reg_class, u8 channel) in p2p_buf_add_operating_channel() argument
106 wpabuf_put_u8(buf, reg_class); /* Regulatory Class */ in p2p_buf_add_operating_channel()
109 "Channel %u", reg_class, channel); in p2p_buf_add_operating_channel()
163 struct p2p_reg_class *c = &chan->reg_class[i]; in p2p_buf_add_channel_list()
164 wpabuf_put_u8(buf, c->reg_class); in p2p_buf_add_channel_list()
H A Dp2p.c958 u8 reg_class; in p2p_get_next_prog_freq() local
964 cla = &c->reg_class[cl]; in p2p_get_next_prog_freq()
979 reg_class = c->reg_class[0].reg_class; in p2p_get_next_prog_freq()
990 reg_class = c->reg_class[cl].reg_class; in p2p_get_next_prog_freq()
996 reg_class, channel, freq); in p2p_get_next_prog_freq()
1399 p2p->channels.reg_class[0].reg_class = p2p->op_reg_class; in p2p_prepare_channel_pref()
3578 p2p->cfg->reg_class, in p2p_scan_ie()
4781 reg_class, channel); in p2p_set_listen_channel()
4784 p2p->cfg->reg_class = reg_class; in p2p_set_listen_channel()
4789 p2p->pending_reg_class = reg_class; in p2p_set_listen_channel()
[all …]
H A Dp2p_go_neg.c62 struct p2p_reg_class *cl = &ch->reg_class[ch->reg_classes]; in p2p_peer_channels_check()
63 cl->reg_class = *pos++; in p2p_peer_channels_check()
176 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, in p2p_build_go_neg_req()
506 cl = &intersection->reg_class[0]; in p2p_reselect_channel()
508 cl->reg_class, cl->channel[0]); in p2p_reselect_channel()
509 p2p->op_reg_class = cl->reg_class; in p2p_reselect_channel()
529 intersection.reg_class[0].channels == 0) { in p2p_go_select_channel()
1044 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_process_go_neg_req()
H A Dp2p.h52 u8 reg_class; member
63 } reg_class[P2P_MAX_REG_CLASSES]; member
442 u8 reg_class; member
2040 int p2p_set_listen_channel(struct p2p_data *p2p, u8 reg_class, u8 channel,
H A Dp2p_pd.c158 p2p->cfg->reg_class, in p2ps_add_pd_req_attrs()
804 ch->reg_class[0].reg_class = in p2p_process_prov_disc_req()
806 ch->reg_class[0].channel[0] = in p2p_process_prov_disc_req()
808 ch->reg_class[0].channels = 1; in p2p_process_prov_disc_req()
986 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_process_prov_disc_req()
H A Dp2p_i.h694 int p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class,
757 u8 reg_class, u8 channel);
759 u8 reg_class, u8 channel);
H A Dp2p_sd.c346 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_rx_gas_initial_req()
/freebsd-13.1/contrib/wpa/wpa_supplicant/
H A Dp2p_supplicant.c3527 chan->reg_class[cla].reg_class = 81; in wpas_p2p_default_channels()
3528 chan->reg_class[cla].channels = 0; in wpas_p2p_default_channels()
3533 if (chan->reg_class[cla].channels) in wpas_p2p_default_channels()
3540 chan->reg_class[cla].reg_class = 115; in wpas_p2p_default_channels()
3541 chan->reg_class[cla].channels = 0; in wpas_p2p_default_channels()
3557 chan->reg_class[cla].reg_class = 124; in wpas_p2p_default_channels()
3893 reg = &chan->reg_class[cla]; in wpas_p2p_setup_channels()
3895 reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
4874 p2p.reg_class, p2p.channel); in wpas_p2p_init()
8022 u8 reg_class, channel; in wpas_p2p_update_config() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVSDPatterns.td58 VReg reg_class,
68 (store_instr reg_class:$rs2, BaseAddr:$rs1, avl, log2sew)>;
74 VReg reg_class,
87 (store_instr reg_class:$rs2, BaseAddr:$rs1)>;