Lines Matching refs:cfg
54 if (!p2p->cfg->get_go_info) in p2ps_add_new_group_info()
57 found = p2p->cfg->get_go_info( in p2ps_add_new_group_info()
58 p2p->cfg->cb_ctx, intended_addr, ssid, in p2ps_add_new_group_info()
68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
82 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
90 buf, p2p->cfg->dev_addr); in p2ps_add_new_group_info()
119 if (p2p->cfg->get_persistent_group) { in p2ps_add_pd_req_attrs()
120 shared_group = p2p->cfg->get_persistent_group( in p2ps_add_pd_req_attrs()
121 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2ps_add_pd_req_attrs()
128 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs()
133 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs()
157 p2p_buf_add_listen_channel(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs()
158 p2p->cfg->reg_class, in p2ps_add_pd_req_attrs()
159 p2p->cfg->channel); in p2ps_add_pd_req_attrs()
216 if (p2p->cfg->p2p_intra_bss) in p2p_build_prov_disc_req()
312 if (p2p->cfg->p2p_intra_bss) in p2p_build_prov_disc_resp()
319 if (persist_ssid && p2p->cfg->get_persistent_group && dev && in p2p_build_prov_disc_resp()
327 persist = p2p->cfg->get_persistent_group( in p2p_build_prov_disc_resp()
328 p2p->cfg->cb_ctx, in p2p_build_prov_disc_resp()
348 buf, p2p->cfg->country, in p2p_build_prov_disc_resp()
353 buf, p2p->cfg->country, in p2p_build_prov_disc_resp()
354 p2p->cfg->op_reg_class, in p2p_build_prov_disc_resp()
355 p2p->cfg->op_channel); in p2p_build_prov_disc_resp()
360 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2p_build_prov_disc_resp()
700 if (p2p->cfg->remove_stale_groups) { in p2p_process_prov_disc_req()
701 p2p->cfg->remove_stale_groups( in p2p_process_prov_disc_req()
702 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2p_process_prov_disc_req()
721 if (os_memcmp(p2p->cfg->dev_addr, msg.adv_mac, ETH_ALEN)) { in p2p_process_prov_disc_req()
737 conncap = p2p->cfg->p2ps_group_capability(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
897 conncap = p2p->cfg->p2ps_group_capability(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
988 freq = p2p_channel_to_freq(p2p->cfg->reg_class, in p2p_process_prov_disc_req()
989 p2p->cfg->channel); in p2p_process_prov_disc_req()
997 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, in p2p_process_prov_disc_req()
998 p2p->cfg->dev_addr, in p2p_process_prov_disc_req()
1021 if (!p2p->cfg->p2ps_prov_complete) { in p2p_process_prov_disc_req()
1026 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1039 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, reject, in p2p_process_prov_disc_req()
1048 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, in p2p_process_prov_disc_req()
1062 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, *msg.status, sa, in p2p_process_prov_disc_req()
1073 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, P2P_SC_SUCCESS, in p2p_process_prov_disc_req()
1090 p2p->cfg->p2ps_prov_complete(p2p->cfg->cb_ctx, P2P_SC_SUCCESS, in p2p_process_prov_disc_req()
1109 p2p->cfg->p2ps_prov_complete( in p2p_process_prov_disc_req()
1110 p2p->cfg->cb_ctx, P2P_SC_SUCCESS, sa, in p2p_process_prov_disc_req()
1140 if (p2p->cfg->prov_disc_req && in p2p_process_prov_disc_req()
1156 p2p->cfg->prov_disc_req(p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_req()
1388 if (p2p->cfg->prov_disc_fail) in p2p_process_prov_disc_resp()
1389 p2p->cfg->prov_disc_fail(p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_resp()
1454 if (p2p->cfg->p2ps_prov_complete) { in p2p_process_prov_disc_resp()
1475 p2p->cfg->p2ps_prov_complete( in p2p_process_prov_disc_resp()
1476 p2p->cfg->cb_ctx, status, sa, adv_mac, in p2p_process_prov_disc_resp()
1489 if (p2p->cfg->p2ps_prov_complete) in p2p_process_prov_disc_resp()
1490 p2p->cfg->p2ps_prov_complete( in p2p_process_prov_disc_resp()
1491 p2p->cfg->cb_ctx, status, sa, adv_mac, in p2p_process_prov_disc_resp()
1499 if (p2p->cfg->remove_stale_groups) { in p2p_process_prov_disc_resp()
1500 p2p->cfg->remove_stale_groups(p2p->cfg->cb_ctx, in p2p_process_prov_disc_resp()
1517 if (p2p->cfg->prov_disc_fail) in p2p_process_prov_disc_resp()
1518 p2p->cfg->prov_disc_fail( in p2p_process_prov_disc_resp()
1519 p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_resp()
1525 if (p2p->cfg->prov_disc_fail) in p2p_process_prov_disc_resp()
1526 p2p->cfg->prov_disc_fail( in p2p_process_prov_disc_resp()
1527 p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_resp()
1532 if (p2p->cfg->prov_disc_fail) in p2p_process_prov_disc_resp()
1533 p2p->cfg->prov_disc_fail(p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_resp()
1550 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_prov_disc_resp()
1573 if (p2p->cfg->prov_disc_resp && in p2p_process_prov_disc_resp()
1580 p2p->cfg->prov_disc_resp(p2p->cfg->cb_ctx, sa, in p2p_process_prov_disc_resp()
1657 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_send_prov_disc_req()