| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/wil6210/ |
| H A D | cfg80211.c | 657 struct wireless_dev *p2p_wdev, *wdev; in wil_cfg80211_add_iface() local 667 if (wil->p2p_wdev) { in wil_cfg80211_add_iface() 672 p2p_wdev = kzalloc(sizeof(*p2p_wdev), GFP_KERNEL); in wil_cfg80211_add_iface() 673 if (!p2p_wdev) in wil_cfg80211_add_iface() 676 p2p_wdev->iftype = type; in wil_cfg80211_add_iface() 677 p2p_wdev->wiphy = wiphy; in wil_cfg80211_add_iface() 679 ether_addr_copy(p2p_wdev->address, ndev_main->perm_addr); in wil_cfg80211_add_iface() 681 wil->p2p_wdev = p2p_wdev; in wil_cfg80211_add_iface() 683 return p2p_wdev; in wil_cfg80211_add_iface() 760 if (wdev != wil->p2p_wdev) { in wil_cfg80211_del_iface() [all …]
|
| H A D | p2p.c | 349 if (wil->radio_wdev != wil->p2p_wdev) in wil_p2p_stop_radio_operations() 355 vif->scan_request->wdev == wil->p2p_wdev) in wil_p2p_stop_radio_operations()
|
| H A D | wil6210.h | 1027 struct wireless_dev *p2p_wdev; member 1081 if (wdev == wil->p2p_wdev) in wdev_to_vif()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_cfgp2p.c | 725 if (!cfg->p2p_wdev) { in wl_cfgp2p_init_discovery() 735 ret = wl_alloc_netinfo(cfg, NULL, cfg->p2p_wdev, WL_IF_TYPE_STA, 0, bssidx, 0); in wl_cfgp2p_init_discovery() 793 wl_dealloc_netinfo_by_wdev(cfg, cfg->p2p_wdev); in wl_cfgp2p_deinit_discovery() 852 } else if ((bssidx = wl_get_bssidx_by_wdev(cfg, cfg->p2p_wdev)) < 0) { in wl_cfgp2p_enable_discovery() 853 WL_ERR(("Find p2p index from wdev(%p) failed\n", cfg->p2p_wdev)); in wl_cfgp2p_enable_discovery() 860 cfgdev = cfg->p2p_wdev; in wl_cfgp2p_enable_discovery() 1924 if (cfg->p2p_wdev) { in wl_cfgp2p_down() 1927 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg); in wl_cfgp2p_down() 2443 cfg->p2p_wdev = wdev; in wl_cfgp2p_register_ndev() 2445 cfg->p2p_wdev = NULL; in wl_cfgp2p_register_ndev() [all …]
|
| H A D | wl_cfg80211.h | 1701 struct wireless_dev *p2p_wdev; /* representing cfg cfg80211 device for P2P */ member 2543 #define bcmcfg_to_p2p_wdev(cfg) (cfg->p2p_wdev) 2599 (cfg->scan_request->wdev == cfg->p2p_wdev)) ? true : false)
|
| H A D | wl_cfgvif.c | 4004 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { in wl_cfg80211_change_beacon() 4096 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { in wl_cfg80211_add_set_beacon()
|
| H A D | wl_cfg80211.c | 15734 wdev = cfg->p2p_wdev; in wl_cfg80211_detach_p2p() 15744 cfg->p2p_wdev = NULL; in wl_cfg80211_detach_p2p() 18886 if (!cfg->p2p_wdev) { in wl_cfg80211_set_wps_p2p_ie() 18890 wdev = cfg->p2p_wdev; in wl_cfg80211_set_wps_p2p_ie() 19602 if (cfg->p2p_wdev) { in wl_cfg80211_clear_p2p_disc_ies() 19605 wl_cfg80211_clear_per_bss_ies(cfg, cfg->p2p_wdev); in wl_cfg80211_clear_p2p_disc_ies() 19971 wdev = cfg->p2p_wdev; in wl_cfg80211_del_p2p_wdev()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfgp2p.c | 730 if (!cfg->p2p_wdev) { in wl_cfgp2p_init_discovery() 743 ret = wl_alloc_netinfo(cfg, NULL, cfg->p2p_wdev, WL_IF_TYPE_STA, 0, bssidx, 0); in wl_cfgp2p_init_discovery() 801 wl_dealloc_netinfo_by_wdev(cfg, cfg->p2p_wdev); in wl_cfgp2p_deinit_discovery() 865 } else if ((bssidx = wl_get_bssidx_by_wdev(cfg, cfg->p2p_wdev)) < 0) { in wl_cfgp2p_enable_discovery() 866 WL_ERR(("Find p2p index from wdev(%p) failed\n", cfg->p2p_wdev)); in wl_cfgp2p_enable_discovery() 873 cfgdev = cfg->p2p_wdev; in wl_cfgp2p_enable_discovery() 1937 if (cfg->p2p_wdev) { in wl_cfgp2p_down() 1940 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg); in wl_cfgp2p_down() 2456 cfg->p2p_wdev = wdev; in wl_cfgp2p_register_ndev() 2458 cfg->p2p_wdev = NULL; in wl_cfgp2p_register_ndev() [all …]
|
| H A D | wl_cfg80211.h | 1701 struct wireless_dev *p2p_wdev; /* representing cfg cfg80211 device for P2P */ member 2546 #define bcmcfg_to_p2p_wdev(cfg) (cfg->p2p_wdev) 2602 (cfg->scan_request->wdev == cfg->p2p_wdev)) ? true : false)
|
| H A D | wl_cfgvif.c | 4028 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { in wl_cfg80211_change_beacon() 4120 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { in wl_cfg80211_add_set_beacon()
|
| H A D | wl_cfg80211.c | 15855 wdev = cfg->p2p_wdev; in wl_cfg80211_detach_p2p() 15865 cfg->p2p_wdev = NULL; in wl_cfg80211_detach_p2p() 19084 if (!cfg->p2p_wdev) { in wl_cfg80211_set_wps_p2p_ie() 19088 wdev = cfg->p2p_wdev; in wl_cfg80211_set_wps_p2p_ie() 19800 if (cfg->p2p_wdev) { in wl_cfg80211_clear_p2p_disc_ies() 19803 wl_cfg80211_clear_per_bss_ies(cfg, cfg->p2p_wdev); in wl_cfg80211_clear_p2p_disc_ies() 20216 wdev = cfg->p2p_wdev; in wl_cfg80211_del_p2p_wdev()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_cfgp2p.c | 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; [all …]
|
| H A D | wl_cfg80211.h | 1178 struct wireless_dev *p2p_wdev; /* representing cfg cfg80211 device for P2P */ member 2045 #define bcmcfg_to_p2p_wdev(cfg) (cfg->p2p_wdev) 2100 (cfg->scan_request->wdev == cfg->p2p_wdev)) ? true : false)
|
| H A D | wl_cfg80211.c | 12974 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { 13087 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { 18640 wdev = cfg->p2p_wdev; 18650 cfg->p2p_wdev = NULL; 18920 if (cfg->p2p_wdev) 18921 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg); 22318 if (cfg->p2p_wdev && (ndev->ieee80211_ptr != cfg->p2p_wdev)) { 22320 wl_cfg80211_clear_per_bss_ies(cfg, cfg->p2p_wdev); 22965 wdev = cfg->p2p_wdev;
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_cfgp2p.c | 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; [all …]
|
| H A D | wl_cfg80211.h | 1238 struct wireless_dev *p2p_wdev; /* representing cfg cfg80211 device for P2P */ member 2109 #define bcmcfg_to_p2p_wdev(cfg) (cfg->p2p_wdev) 2164 (cfg->scan_request->wdev == cfg->p2p_wdev)) ? true : false)
|
| H A D | wl_cfg80211.c | 13079 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { 13192 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { 18792 wdev = cfg->p2p_wdev; 18802 cfg->p2p_wdev = NULL; 19072 if (cfg->p2p_wdev) 19073 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg); 22562 if (cfg->p2p_wdev && (ndev->ieee80211_ptr != cfg->p2p_wdev)) { 22564 wl_cfg80211_clear_per_bss_ies(cfg, cfg->p2p_wdev); 23209 wdev = cfg->p2p_wdev;
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_cfgp2p.c | 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; [all …]
|
| H A D | wl_cfg80211.h | 1238 struct wireless_dev *p2p_wdev; /* representing cfg cfg80211 device for P2P */ member 2109 #define bcmcfg_to_p2p_wdev(cfg) (cfg->p2p_wdev) 2164 (cfg->scan_request->wdev == cfg->p2p_wdev)) ? true : false)
|
| H A D | wl_cfg80211.c | 13081 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { 13194 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { 18794 wdev = cfg->p2p_wdev; 18804 cfg->p2p_wdev = NULL; 19074 if (cfg->p2p_wdev) 19075 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg); 22564 if (cfg->p2p_wdev && (ndev->ieee80211_ptr != cfg->p2p_wdev)) { 22566 wl_cfg80211_clear_per_bss_ies(cfg, cfg->p2p_wdev); 23211 wdev = cfg->p2p_wdev;
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_cfgp2p.c | 708 if (!cfg->p2p_wdev) { in wl_cfgp2p_init_discovery() 713 ret = wl_alloc_netinfo(cfg, NULL, cfg->p2p_wdev, WL_MODE_BSS, 0, bssidx); in wl_cfgp2p_init_discovery() 764 wl_dealloc_netinfo_by_wdev(cfg, cfg->p2p_wdev); in wl_cfgp2p_deinit_discovery() 813 } else if ((bssidx = wl_get_bssidx_by_wdev(cfg, cfg->p2p_wdev)) < 0) { in wl_cfgp2p_enable_discovery() 814 WL_ERR(("Find p2p index from wdev(%p) failed\n", cfg->p2p_wdev)); in wl_cfgp2p_enable_discovery() 1784 if (cfg->p2p_wdev) { in wl_cfgp2p_down() 1787 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg); in wl_cfgp2p_down() 2282 cfg->p2p_wdev = wdev; in wl_cfgp2p_register_ndev() 2399 if (cfg->p2p_wdev) { in wl_cfgp2p_add_p2p_disc_if() 2422 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg); in wl_cfgp2p_add_p2p_disc_if() [all …]
|
| H A D | wl_cfg80211.h | 743 struct wireless_dev *p2p_wdev; /* representing cfg cfg80211 device for P2P */ member 1405 #define bcmcfg_to_p2p_wdev(cfg) (cfg->p2p_wdev) 1447 (cfg->scan_request->wdev == cfg->p2p_wdev)) ? true : false)
|
| H A D | wl_cfg80211.c | 1970 if (cfg->p2p_wdev && is_p2p_group_iface(new_ndev->ieee80211_ptr)) { in wl_cfg80211_add_virtual_iface() 1971 u32 ulb_bw = wl_cfg80211_get_ulb_bw(cfg, cfg->p2p_wdev); in wl_cfg80211_add_virtual_iface() 10650 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { in wl_cfg80211_change_beacon() 10735 if ((dev_role == NL80211_IFTYPE_P2P_GO) && (cfg->p2p_wdev == NULL)) { in wl_cfg80211_add_set_beacon() 17067 wdev = cfg->p2p_wdev; in wl_cfg80211_detach_p2p() 17076 cfg->p2p_wdev = NULL; in wl_cfg80211_detach_p2p() 17295 if (cfg->p2p_wdev) in wl_cfg80211_detach() 17296 wl_cfgp2p_del_p2p_disc_if(cfg->p2p_wdev, cfg); in wl_cfg80211_detach() 21597 if (likely(cfg->p2p_wdev)) { in wl_cfg80211_set_ulb_bw() 21598 _netinfo = wl_get_netinfo_by_wdev(cfg, cfg->p2p_wdev); in wl_cfg80211_set_ulb_bw() [all …]
|