Lines Matching refs:cfg
72 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_req()
77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_invitation_req()
83 dev_addr = p2p->cfg->dev_addr; in p2p_build_invitation_req()
154 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_resp()
159 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); in p2p_build_invitation_resp()
238 p2p_channels_union(&p2p->cfg->channels, &p2p->cfg->cli_channels, in p2p_process_invitation_req()
249 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels); in p2p_process_invitation_req()
256 if (p2p->cfg->invitation_process) { in p2p_process_invitation_req()
257 status = p2p->cfg->invitation_process( in p2p_process_invitation_req()
258 p2p->cfg->cb_ctx, sa, msg.group_bssid, msg.group_id, in p2p_process_invitation_req()
265 p2p_channels_intersect(&p2p->cfg->channels, &dev->channels, in p2p_process_invitation_req()
299 p2p->op_reg_class = p2p->cfg->op_reg_class; in p2p_process_invitation_req()
300 p2p->op_channel = p2p->cfg->op_channel; in p2p_process_invitation_req()
343 !p2p->cfg->cfg_op_channel) { in p2p_process_invitation_req()
359 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_process_invitation_req()
387 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_process_invitation_req()
388 p2p->cfg->channel); in p2p_process_invitation_req()
419 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_invitation_req()
420 p2p->cfg->dev_addr, in p2p_process_invitation_req()
445 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
452 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
457 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
465 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
490 p2p_channel_random_social(&p2p->cfg->channels, &p2p->op_reg_class, in p2p_process_invitation_resp()
493 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
494 p2p->cfg->stop_listen(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
504 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_invitation_resp()
531 if (p2p->cfg->invitation_result) { in p2p_process_invitation_resp()
552 p2p->cfg->invitation_result(p2p->cfg->cb_ctx, *msg.status, in p2p_process_invitation_resp()
592 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_invite_send()
631 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_invitation_resp_cb()
636 if (p2p->cfg->invitation_received) { in p2p_invitation_resp_cb()
637 p2p->cfg->invitation_received(p2p->cfg->cb_ctx, in p2p_invitation_resp_cb()