Lines Matching refs:p2p_wdev
742 if (!cfg->p2p_wdev) { in wl_cfgp2p_init_discovery()
752 ret = wl_alloc_netinfo(cfg, NULL, cfg->p2p_wdev, WL_IF_TYPE_STA, 0, bssidx, 0); in wl_cfgp2p_init_discovery()
810 wl_dealloc_netinfo_by_wdev(cfg, cfg->p2p_wdev); in wl_cfgp2p_deinit_discovery()
868 } else if ((bssidx = wl_get_bssidx_by_wdev(cfg, cfg->p2p_wdev)) < 0) { in wl_cfgp2p_enable_discovery()
869 WL_ERR(("Find p2p index from wdev(%p) failed\n", cfg->p2p_wdev)); in wl_cfgp2p_enable_discovery()
876 cfgdev = cfg->p2p_wdev; in wl_cfgp2p_enable_discovery()
1900 if (cfg->p2p_wdev) {
1903 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg);
2412 cfg->p2p_wdev = wdev;
2414 cfg->p2p_wdev = NULL;
2536 if (cfg->p2p_wdev) {
2559 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg);
2599 cfg->p2p_wdev = wdev;
2712 cfg->p2p_wdev = NULL;