p2p 371 arch/arm/mach-orion5x/pci.c u32 p2p = readl(PCI_P2P_CONF); p2p 378 arch/arm/mach-orion5x/pci.c bus = (p2p & PCI_P2P_BUS_MASK) >> PCI_P2P_BUS_OFFS; p2p 379 arch/arm/mach-orion5x/pci.c dev = (p2p & PCI_P2P_DEV_MASK) >> PCI_P2P_DEV_OFFS; p2p 388 arch/arm/mach-orion5x/pci.c p2p &= ~PCI_P2P_BUS_MASK; p2p 389 arch/arm/mach-orion5x/pci.c p2p |= (nr << PCI_P2P_BUS_OFFS); p2p 390 arch/arm/mach-orion5x/pci.c writel(p2p, PCI_P2P_CONF); p2p 127 drivers/misc/mic/scif/scif_main.c INIT_LIST_HEAD(&scifdev->p2p); p2p 170 drivers/misc/mic/scif/scif_main.h struct list_head p2p; p2p 382 drivers/misc/mic/scif/scif_nodeqp.c struct scif_p2p_info *p2p; p2p 390 drivers/misc/mic/scif/scif_nodeqp.c p2p = kzalloc(sizeof(*p2p), GFP_KERNEL); p2p 391 drivers/misc/mic/scif/scif_nodeqp.c if (!p2p) p2p 393 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_sg[SCIF_PPI_MMIO] = scif_p2p_setsg(psdev->mmio->pa, p2p 395 drivers/misc/mic/scif/scif_nodeqp.c if (!p2p->ppi_sg[SCIF_PPI_MMIO]) p2p 397 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_MMIO] = num_mmio_pages; p2p 400 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_sg[SCIF_PPI_APER] = scif_p2p_setsg(psdev->aper->pa, p2p 403 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_APER] = num_aper_chunks; p2p 404 drivers/misc/mic/scif/scif_nodeqp.c err = dma_map_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], p2p 408 drivers/misc/mic/scif/scif_nodeqp.c err = dma_map_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_APER], p2p 412 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_da[SCIF_PPI_MMIO] = sg_dma_address(p2p->ppi_sg[SCIF_PPI_MMIO]); p2p 413 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_da[SCIF_PPI_APER] = sg_dma_address(p2p->ppi_sg[SCIF_PPI_APER]); p2p 414 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_len[SCIF_PPI_MMIO] = num_mmio_pages; p2p 415 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_len[SCIF_PPI_APER] = num_aper_pages; p2p 416 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_peer_id = peerdev->node; p2p 417 drivers/misc/mic/scif/scif_nodeqp.c return p2p; p2p 419 drivers/misc/mic/scif/scif_nodeqp.c dma_unmap_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], p2p 420 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_MMIO], DMA_BIDIRECTIONAL); p2p 422 drivers/misc/mic/scif/scif_nodeqp.c scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_MMIO]); p2p 423 drivers/misc/mic/scif/scif_nodeqp.c scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_APER]); p2p 425 drivers/misc/mic/scif/scif_nodeqp.c kfree(p2p); p2p 431 drivers/misc/mic/scif/scif_nodeqp.c struct scif_p2p_info *p2p) p2p 435 drivers/misc/mic/scif/scif_nodeqp.c dma_unmap_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], p2p 436 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_MMIO], DMA_BIDIRECTIONAL); p2p 437 drivers/misc/mic/scif/scif_nodeqp.c dma_unmap_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_APER], p2p 438 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_APER], DMA_BIDIRECTIONAL); p2p 439 drivers/misc/mic/scif/scif_nodeqp.c scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_MMIO]); p2p 440 drivers/misc/mic/scif/scif_nodeqp.c scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_APER]); p2p 441 drivers/misc/mic/scif/scif_nodeqp.c kfree(p2p); p2p 457 drivers/misc/mic/scif/scif_nodeqp.c struct scif_p2p_info *p2p; p2p 475 drivers/misc/mic/scif/scif_nodeqp.c if (!list_empty(&dev_i->p2p)) { p2p 476 drivers/misc/mic/scif/scif_nodeqp.c list_for_each_safe(pos, tmp, &dev_i->p2p) { p2p 477 drivers/misc/mic/scif/scif_nodeqp.c p2p = list_entry(pos, struct scif_p2p_info, ppi_list); p2p 478 drivers/misc/mic/scif/scif_nodeqp.c if (p2p->ppi_peer_id == dev_j->node) p2p 490 drivers/misc/mic/scif/scif_nodeqp.c list_add_tail(&p2p_ij->ppi_list, &dev_i->p2p); p2p 491 drivers/misc/mic/scif/scif_nodeqp.c list_add_tail(&p2p_ji->ppi_list, &dev_j->p2p); p2p 1303 drivers/misc/mic/scif/scif_nodeqp.c struct scif_p2p_info *p2p; p2p 1309 drivers/misc/mic/scif/scif_nodeqp.c list_for_each_safe(pos, tmp, &scifdev->p2p) { p2p 1310 drivers/misc/mic/scif/scif_nodeqp.c p2p = list_entry(pos, struct scif_p2p_info, ppi_list); p2p 1311 drivers/misc/mic/scif/scif_nodeqp.c dma_unmap_sg(&scifdev->sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], p2p 1312 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_MMIO], p2p 1314 drivers/misc/mic/scif/scif_nodeqp.c dma_unmap_sg(&scifdev->sdev->dev, p2p->ppi_sg[SCIF_PPI_APER], p2p 1315 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_APER], p2p 1317 drivers/misc/mic/scif/scif_nodeqp.c scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_MMIO]); p2p 1318 drivers/misc/mic/scif/scif_nodeqp.c scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_APER]); p2p 1320 drivers/misc/mic/scif/scif_nodeqp.c kfree(p2p); p2p 1326 drivers/misc/mic/scif/scif_nodeqp.c list_for_each_safe(pos, tmp, &peer_dev->p2p) { p2p 1327 drivers/misc/mic/scif/scif_nodeqp.c p2p = list_entry(pos, struct scif_p2p_info, ppi_list); p2p 1328 drivers/misc/mic/scif/scif_nodeqp.c if (p2p->ppi_peer_id == scifdev->node) { p2p 1330 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_sg[SCIF_PPI_MMIO], p2p 1331 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_MMIO], p2p 1334 drivers/misc/mic/scif/scif_nodeqp.c p2p->ppi_sg[SCIF_PPI_APER], p2p 1335 drivers/misc/mic/scif/scif_nodeqp.c p2p->sg_nentries[SCIF_PPI_APER], p2p 1337 drivers/misc/mic/scif/scif_nodeqp.c scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_MMIO]); p2p 1338 drivers/misc/mic/scif/scif_nodeqp.c scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_APER]); p2p 1340 drivers/misc/mic/scif/scif_nodeqp.c kfree(p2p); p2p 976 drivers/net/wireless/ath/ath10k/core.h bool p2p; p2p 1554 drivers/net/wireless/ath/ath10k/mac.c if (arvif->vif->type != NL80211_IFTYPE_AP || !arvif->vif->p2p) p2p 3561 drivers/net/wireless/ath/ath10k/mac.c if (vif->type != NL80211_IFTYPE_AP || !vif->p2p) p2p 5197 drivers/net/wireless/ath/ath10k/mac.c if (vif->p2p) p2p 5218 drivers/net/wireless/ath/ath10k/mac.c if (vif->p2p) p2p 3575 drivers/net/wireless/ath/ath10k/wmi.c if (!arvif->vif->p2p) p2p 460 drivers/net/wireless/ath/ath6kl/cfg80211.c u8 nw_subtype = (ar->p2p) ? SUBTYPE_P2PDEV : SUBTYPE_NONE; p2p 3067 drivers/net/wireless/ath/ath6kl/cfg80211.c u8 *p2p; p2p 3076 drivers/net/wireless/ath/ath6kl/cfg80211.c p2p = kmalloc(len, GFP_KERNEL); p2p 3077 drivers/net/wireless/ath/ath6kl/cfg80211.c if (p2p == NULL) p2p 3086 drivers/net/wireless/ath/ath6kl/cfg80211.c memcpy(p2p + p2p_len, pos, 2 + pos[1]); p2p 3093 drivers/net/wireless/ath/ath6kl/cfg80211.c mgmt->da, p2p, p2p_len); p2p 3094 drivers/net/wireless/ath/ath6kl/cfg80211.c kfree(p2p); p2p 3879 drivers/net/wireless/ath/ath6kl/cfg80211.c if (ar->p2p) { p2p 274 drivers/net/wireless/ath/ath6kl/core.c ar->p2p = !!ath6kl_p2p; p2p 836 drivers/net/wireless/ath/ath6kl/core.h bool p2p; p2p 510 drivers/net/wireless/ath/ath6kl/init.c if (ar->p2p && (ar->vif_max == 1 || idx)) { p2p 519 drivers/net/wireless/ath/ath6kl/init.c ar->p2p = false; p2p 523 drivers/net/wireless/ath/ath6kl/init.c if (ar->p2p && (ar->vif_max == 1 || idx)) { p2p 584 drivers/net/wireless/ath/ath6kl/init.c if (ar->p2p && ar->vif_max == 1) p2p 1129 drivers/net/wireless/ath/ath6kl/init.c if (ar->vif_max > 1 && !ar->p2p) p2p 1297 drivers/net/wireless/ath/ath9k/main.c bool p2p) p2p 1316 drivers/net/wireless/ath/ath9k/main.c vif->p2p = p2p; p2p 2506 drivers/net/wireless/ath/ath9k/main.c vif->addr, vif->type, vif->p2p, p2p 2537 drivers/net/wireless/ath/ath9k/main.c vif->addr, vif->type, vif->p2p, p2p 591 drivers/net/wireless/ath/carl9170/main.c ar->disable_offload |= vif->p2p; p2p 648 drivers/net/wireless/ath/carl9170/main.c if (main_vif->p2p && vif->p2p && p2p 1396 drivers/net/wireless/ath/wcn36xx/hal.h u8 p2p; p2p 1507 drivers/net/wireless/ath/wcn36xx/hal.h u8 p2p; p2p 1549 drivers/net/wireless/ath/wcn36xx/hal.h u8 p2p; p2p 231 drivers/net/wireless/ath/wcn36xx/smd.c sta_params->p2p = 0; p2p 665 drivers/net/wireless/ath/wcn36xx/smd.c msg_body->p2p_search = vif->p2p; p2p 1163 drivers/net/wireless/ath/wcn36xx/smd.c v1->p2p = orig->p2p; p2p 1194 drivers/net/wireless/ath/wcn36xx/smd.c params->uc_ucast_sig, params->p2p); p2p 911 drivers/net/wireless/ath/wil6210/cfg80211.c if (vif->scan_request || vif->p2p.discovery_started) { p2p 215 drivers/net/wireless/ath/wil6210/netdev.c del_timer_sync(&vif->p2p.discovery_timer); p2p 217 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->p2p.discovery_expired_work); p2p 218 drivers/net/wireless/ath/wil6210/netdev.c cancel_work_sync(&vif->p2p.delayed_listen_work); p2p 267 drivers/net/wireless/ath/wil6210/netdev.c struct wil6210_vif *vif = from_timer(vif, t, p2p.discovery_timer); p2p 272 drivers/net/wireless/ath/wil6210/netdev.c schedule_work(&vif->p2p.discovery_expired_work); p2p 283 drivers/net/wireless/ath/wil6210/netdev.c timer_setup(&vif->p2p.discovery_timer, wil_p2p_discovery_timer_fn, 0); p2p 287 drivers/net/wireless/ath/wil6210/netdev.c INIT_WORK(&vif->p2p.discovery_expired_work, wil_p2p_listen_expired); p2p 288 drivers/net/wireless/ath/wil6210/netdev.c INIT_WORK(&vif->p2p.delayed_listen_work, wil_p2p_delayed_listen_work); p2p 29 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; p2p 30 drivers/net/wireless/ath/wil6210/p2p.c u8 channel = p2p->listen_chan.hw_value; p2p 53 drivers/net/wireless/ath/wil6210/p2p.c INIT_WORK(&p2p->discovery_expired_work, wil_p2p_listen_expired); p2p 54 drivers/net/wireless/ath/wil6210/p2p.c mod_timer(&p2p->discovery_timer, p2p 55 drivers/net/wireless/ath/wil6210/p2p.c jiffies + msecs_to_jiffies(p2p->listen_duration)); p2p 75 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; p2p 81 drivers/net/wireless/ath/wil6210/p2p.c if (p2p->discovery_started) { p2p 123 drivers/net/wireless/ath/wil6210/p2p.c p2p->discovery_started = 1; p2p 124 drivers/net/wireless/ath/wil6210/p2p.c INIT_WORK(&p2p->discovery_expired_work, wil_p2p_search_expired); p2p 125 drivers/net/wireless/ath/wil6210/p2p.c mod_timer(&p2p->discovery_timer, p2p 141 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; p2p 151 drivers/net/wireless/ath/wil6210/p2p.c if (p2p->discovery_started) { p2p 157 drivers/net/wireless/ath/wil6210/p2p.c memcpy(&p2p->listen_chan, chan, sizeof(*chan)); p2p 158 drivers/net/wireless/ath/wil6210/p2p.c *cookie = ++p2p->cookie; p2p 159 drivers/net/wireless/ath/wil6210/p2p.c p2p->listen_duration = duration; p2p 164 drivers/net/wireless/ath/wil6210/p2p.c p2p->pending_listen_wdev = wdev; p2p 165 drivers/net/wireless/ath/wil6210/p2p.c p2p->discovery_started = 1; p2p 176 drivers/net/wireless/ath/wil6210/p2p.c p2p->discovery_started = 1; p2p 190 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; p2p 191 drivers/net/wireless/ath/wil6210/p2p.c u8 started = p2p->discovery_started; p2p 193 drivers/net/wireless/ath/wil6210/p2p.c if (p2p->discovery_started) { p2p 194 drivers/net/wireless/ath/wil6210/p2p.c if (p2p->pending_listen_wdev) { p2p 196 drivers/net/wireless/ath/wil6210/p2p.c p2p->pending_listen_wdev = NULL; p2p 198 drivers/net/wireless/ath/wil6210/p2p.c del_timer_sync(&p2p->discovery_timer); p2p 201 drivers/net/wireless/ath/wil6210/p2p.c p2p->discovery_started = 0; p2p 210 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; p2p 215 drivers/net/wireless/ath/wil6210/p2p.c if (cookie != p2p->cookie) { p2p 217 drivers/net/wireless/ath/wil6210/p2p.c p2p->cookie, cookie); p2p 233 drivers/net/wireless/ath/wil6210/p2p.c p2p->cookie, p2p 234 drivers/net/wireless/ath/wil6210/p2p.c &p2p->listen_chan, p2p 244 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = container_of(work, p2p 246 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = container_of(p2p, p2p 247 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif, p2p); p2p 262 drivers/net/wireless/ath/wil6210/p2p.c p2p->cookie, p2p 263 drivers/net/wireless/ath/wil6210/p2p.c &p2p->listen_chan, p2p 272 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = container_of(work, p2p 274 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = container_of(p2p, p2p 275 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif, p2p); p2p 304 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = container_of(work, p2p 306 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif *vif = container_of(p2p, p2p 307 drivers/net/wireless/ath/wil6210/p2p.c struct wil6210_vif, p2p); p2p 314 drivers/net/wireless/ath/wil6210/p2p.c if (!p2p->discovery_started || !p2p->pending_listen_wdev) p2p 329 drivers/net/wireless/ath/wil6210/p2p.c cfg80211_remain_on_channel_expired(p2p->pending_listen_wdev, p2p 330 drivers/net/wireless/ath/wil6210/p2p.c p2p->cookie, p2p 331 drivers/net/wireless/ath/wil6210/p2p.c &p2p->listen_chan, p2p 336 drivers/net/wireless/ath/wil6210/p2p.c cfg80211_ready_on_channel(p2p->pending_listen_wdev, p2p->cookie, p2p 337 drivers/net/wireless/ath/wil6210/p2p.c &p2p->listen_chan, p2p 338 drivers/net/wireless/ath/wil6210/p2p.c p2p->listen_duration, GFP_KERNEL); p2p 340 drivers/net/wireless/ath/wil6210/p2p.c wil->radio_wdev = p2p->pending_listen_wdev; p2p 342 drivers/net/wireless/ath/wil6210/p2p.c p2p->pending_listen_wdev = NULL; p2p 352 drivers/net/wireless/ath/wil6210/p2p.c struct wil_p2p_info *p2p = &vif->p2p; p2p 363 drivers/net/wireless/ath/wil6210/p2p.c if (!p2p->discovery_started) { p2p 383 drivers/net/wireless/ath/wil6210/p2p.c p2p->cookie, p2p 384 drivers/net/wireless/ath/wil6210/p2p.c &p2p->listen_chan, p2p 880 drivers/net/wireless/ath/wil6210/wil6210.h struct wil_p2p_info p2p; p2p 953 drivers/net/wireless/ath/wil6210/wmi.c if (vif->p2p.pending_listen_wdev) { p2p 955 drivers/net/wireless/ath/wil6210/wmi.c schedule_work(&vif->p2p.delayed_listen_work); p2p 886 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (cfg->p2p.p2pdev_dynamically) p2p 1118 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) p2p 1119 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; p2p 1908 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) { p2p 4792 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) p2p 4793 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c ifp = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; p2p 4907 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) p2p 4908 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 4980 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 6475 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c bool mbss, p2p; p2p 6479 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c p2p = brcmf_feat_is_enabled(ifp, BRCMF_FEAT_P2P); p2p 6481 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c n_combos = 1 + !!p2p + !!mbss; p2p 6492 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c c0_limits = kcalloc(p2p ? 3 : 2, sizeof(*c0_limits), GFP_KERNEL); p2p 6497 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (p2p) { p2p 6519 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c if (p2p) { p2p 7140 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_p2p_detach(&cfg->p2p); p2p 7147 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_p2p_detach(&cfg->p2p); p2p 7184 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c brcmf_p2p_detach(&cfg->p2p); p2p 296 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h struct brcmf_p2p_info p2p; p2p 1365 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c brcmf_p2p_detach(&drvr->config->p2p); p2p 458 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static void brcmf_p2p_generate_bss_mac(struct brcmf_p2p_info *p2p, u8 *dev_addr) p2p 469 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c eth_random_addr(p2p->dev_addr); p2p 471 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(p2p->dev_addr, dev_addr, ETH_ALEN); p2p 477 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(p2p->int_addr, p2p->dev_addr, ETH_ALEN); p2p 478 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->int_addr[0] |= 0x02; p2p 479 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->int_addr[4] ^= 0x80; p2p 537 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static s32 brcmf_p2p_deinit_discovery(struct brcmf_p2p_info *p2p) p2p 544 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 548 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; p2p 561 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static int brcmf_p2p_enable_discovery(struct brcmf_p2p_info *p2p) p2p 563 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_pub *drvr = p2p->cfg->pub; p2p 568 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 575 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_P2P_STATUS_ENABLED, &p2p->status)) { p2p 581 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; p2p 587 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 606 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_P2P_STATUS_ENABLED, &p2p->status); p2p 620 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static s32 brcmf_p2p_escan(struct brcmf_p2p_info *p2p, u32 num_chans, p2p 624 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_pub *drvr = p2p->cfg->pub; p2p 641 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[bss_type].vif; p2p 698 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c else if (brcmf_get_vif_state_any(p2p->cfg, BRCMF_VIF_STATUS_CONNECTED)) p2p 733 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_SCAN_STATUS_BUSY, &p2p->cfg->scan_status); p2p 754 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 777 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_CONNECTION].vif; p2p 806 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c chanspecs[i] = channel_to_chanspec(&p2p->cfg->d11inf, p2p 812 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_escan(p2p, num_nodfs, chanspecs, search_state, p2p 874 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 884 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->afx_hdl.my_listen_chan = err; p2p 886 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status); p2p 889 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_enable_discovery(p2p); p2p 893 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 911 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_discover_listen(struct brcmf_p2p_info *p2p, u16 channel, u32 duration) p2p 913 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_pub *drvr = p2p->cfg->pub; p2p 918 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 925 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_P2P_STATUS_DISCOVER_LISTEN, &p2p->status)) { p2p 933 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->cfg->d11inf.encchspec(&ch); p2p 937 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_P2P_STATUS_DISCOVER_LISTEN, &p2p->status); p2p 938 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->remain_on_channel_cookie++; p2p 958 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 966 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_enable_discovery(p2p); p2p 969 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_discover_listen(p2p, channel_nr, duration); p2p 973 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(&p2p->remain_on_channel, channel, sizeof(*channel)); p2p 974 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c *cookie = p2p->remain_on_channel_cookie; p2p 995 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 999 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status)) { p2p 1001 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status)) { p2p 1003 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status); p2p 1005 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c complete(&p2p->wait_next_af); p2p 1009 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->remain_on_channel_cookie, p2p 1010 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->remain_on_channel, p2p 1041 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static s32 brcmf_p2p_act_frm_search(struct brcmf_p2p_info *p2p, u16 channel) p2p 1043 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_pub *drvr = p2p->cfg->pub; p2p 1066 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->cfg->d11inf.encchspec(&ch); p2p 1072 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->cfg->d11inf.encchspec(&ch); p2p 1075 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->cfg->d11inf.encchspec(&ch); p2p 1078 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->cfg->d11inf.encchspec(&ch); p2p 1081 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_escan(p2p, channel_cnt, default_chan_list, p2p 1098 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = container_of(afx_hdl, p2p 1101 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_pub *drvr = p2p->cfg->pub; p2p 1109 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_discover_listen(p2p, afx_hdl->my_listen_chan, p2p 1112 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_act_frm_search(p2p, afx_hdl->peer_listen_chan); p2p 1117 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status)) p2p 1129 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static s32 brcmf_p2p_af_searching_channel(struct brcmf_p2p_info *p2p) p2p 1131 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct afx_hdl *afx_hdl = &p2p->afx_hdl; p2p 1137 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c pri_vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; p2p 1140 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL, &p2p->status); p2p 1159 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status))) p2p 1173 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status))) p2p 1189 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL, &p2p->status); p2p 1206 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 1207 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct afx_hdl *afx_hdl = &p2p->afx_hdl; p2p 1213 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!test_bit(BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL, &p2p->status)) p2p 1256 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 1257 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_if *ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; p2p 1259 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_P2P_STATUS_SENDING_ACT_FRAME, &p2p->status) && p2p 1260 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c (test_bit(BRCMF_P2P_STATUS_ACTION_TX_COMPLETED, &p2p->status) || p2p 1261 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c test_bit(BRCMF_P2P_STATUS_ACTION_TX_NOACK, &p2p->status))) { p2p 1266 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (p2p->af_sent_channel) p2p 1269 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status)) { p2p 1285 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_gon_req_collision(struct brcmf_p2p_info *p2p, u8 *mac) p2p 1287 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_cfg80211_info *cfg = p2p->cfg; p2p 1292 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!test_bit(BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, &p2p->status) || p2p 1293 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c !p2p->gon_req_action) p2p 1302 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ifp = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif->ifp; p2p 1305 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->block_gon_req_tx = true; p2p 1310 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status)) p2p 1311 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c complete(&p2p->afx_hdl.act_frm_scan); p2p 1313 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status)) p2p 1339 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 1340 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct afx_hdl *afx_hdl = &p2p->afx_hdl; p2p 1373 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c (brcmf_p2p_gon_req_collision(p2p, (u8 *)e->addr))) { p2p 1375 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status) && p2p 1390 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status); p2p 1397 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, &p2p->status) && p2p 1398 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c (p2p->next_af_subtype == action)) { p2p 1401 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status); p2p 1446 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 1453 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!test_bit(BRCMF_P2P_STATUS_SENDING_ACT_FRAME, &p2p->status)) p2p 1459 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status); p2p 1460 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!p2p->wait_for_offchan_complete) p2p 1461 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c complete(&p2p->send_af_done); p2p 1463 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_P2P_STATUS_ACTION_TX_NOACK, &p2p->status); p2p 1471 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c complete(&p2p->send_af_done); p2p 1489 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static s32 brcmf_p2p_tx_action_frame(struct brcmf_p2p_info *p2p, p2p 1492 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_pub *drvr = p2p->cfg->pub; p2p 1499 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c reinit_completion(&p2p->send_af_done); p2p 1500 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_ACTION_TX_COMPLETED, &p2p->status); p2p 1501 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_ACTION_TX_NOACK, &p2p->status); p2p 1503 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 1511 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->af_sent_channel = le32_to_cpu(af_params->channel); p2p 1512 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->af_tx_sent_jiffies = jiffies; p2p 1514 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_P2P_STATUS_DISCOVER_LISTEN, &p2p->status) && p2p 1515 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->af_sent_channel == p2p 1516 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ieee80211_frequency_to_channel(p2p->remain_on_channel.center_freq)) p2p 1517 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->wait_for_offchan_complete = false; p2p 1519 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->wait_for_offchan_complete = true; p2p 1522 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c (p2p->wait_for_offchan_complete) ? p2p 1525 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c timeout = wait_for_completion_timeout(&p2p->send_af_done, p2p 1528 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_P2P_STATUS_ACTION_TX_COMPLETED, &p2p->status)) { p2p 1535 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_ACTION_TX_COMPLETED, &p2p->status); p2p 1536 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_ACTION_TX_NOACK, &p2p->status); p2p 1556 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 1571 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status); p2p 1574 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->next_af_subtype = act_frm->subtype + 1; p2p 1575 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->gon_req_action = true; p2p 1580 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->next_af_subtype = act_frm->subtype + 1; p2p 1587 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status); p2p 1596 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->next_af_subtype = act_frm->subtype + 1; p2p 1607 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->next_af_subtype = act_frm->subtype + 1; p2p 1624 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->next_af_subtype = act_frm->subtype + 1; p2p 1630 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->next_af_subtype = P2P_PAF_GON_REQ; p2p 1654 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 1658 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct afx_hdl *afx_hdl = &p2p->afx_hdl; p2p 1682 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->next_af_subtype = P2P_PAF_SUBTYPE_INVALID; p2p 1683 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->gon_req_action = false; p2p 1707 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->next_af_subtype = action + 1; p2p 1734 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->sme_state)) p2p 1748 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (p2p->next_af_subtype != P2P_PAF_SUBTYPE_INVALID) { p2p 1750 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, &p2p->status); p2p 1753 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->af_sent_channel = 0; p2p 1754 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c set_bit(BRCMF_P2P_STATUS_SENDING_ACT_FRAME, &p2p->status); p2p 1758 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif->saved_ie.probe_req_ie_len) { p2p 1759 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c afx_hdl = &p2p->afx_hdl; p2p 1762 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (brcmf_p2p_af_searching_channel(p2p) == p2p 1780 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c while (!p2p->block_gon_req_tx && p2p 1782 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ack = !brcmf_p2p_tx_action_frame(p2p, af_params); p2p 1788 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status); p2p 1792 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_SENDING_ACT_FRAME, &p2p->status); p2p 1799 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (ack && config_af_params.extra_listen && !p2p->block_gon_req_tx && p2p 1800 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c test_bit(BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, &p2p->status) && p2p 1801 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->af_sent_channel == afx_hdl->my_listen_chan) { p2p 1802 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c delta_ms = jiffies_to_msecs(jiffies - p2p->af_tx_sent_jiffies); p2p 1810 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status); p2p 1815 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!brcmf_p2p_discover_listen(p2p, p2p 1816 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->af_sent_channel, p2p 1822 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c wait_for_completion_timeout(&p2p->wait_next_af, p2p 1826 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c &p2p->status); p2p 1830 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (p2p->block_gon_req_tx) { p2p 1834 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->block_gon_req_tx = false; p2p 1838 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_WAITING_NEXT_ACT_FRAME, &p2p->status); p2p 1858 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 1859 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct afx_hdl *afx_hdl = &p2p->afx_hdl; p2p 1879 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_P2P_STATUS_FINDING_COMMON_CHANNEL, &p2p->status) && p2p 1893 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (test_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status)) { p2p 1926 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static void brcmf_p2p_get_current_chanspec(struct brcmf_p2p_info *p2p, p2p 1935 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; p2p 1955 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->cfg->d11inf.encchspec(&ch); p2p 1968 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 1977 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; p2p 1983 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_CONNECTION].vif; p2p 1993 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_get_current_chanspec(p2p, &chanspec); p2p 1997 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(if_request.addr, p2p->int_addr, sizeof(if_request.addr)); p2p 2021 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static int brcmf_p2p_request_p2p_if(struct brcmf_p2p_info *p2p, p2p 2030 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_get_current_chanspec(p2p, &chanspec); p2p 2070 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c static struct wireless_dev *brcmf_p2p_create_p2pdev(struct brcmf_p2p_info *p2p, p2p 2074 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_pub *drvr = p2p->cfg->pub; p2p 2081 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif) p2p 2084 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p_vif = brcmf_alloc_vif(p2p->cfg, NL80211_IFTYPE_P2P_DEVICE); p2p 2090 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; p2p 2099 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_generate_bss_mac(p2p, addr); p2p 2100 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_set_firmware(pri_ifp, p2p->dev_addr); p2p 2102 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_cfg80211_arm_vif_event(p2p->cfg, p2p_vif); p2p 2110 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_cfg80211_arm_vif_event(p2p->cfg, NULL); p2p 2115 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_cfg80211_wait_vif_event(p2p->cfg, BRCMF_E_IF_ADD, p2p 2117 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_cfg80211_arm_vif_event(p2p->cfg, NULL); p2p 2127 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif = p2p_vif; p2p 2128 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(p2p_ifp->mac_addr, p2p->dev_addr, ETH_ALEN); p2p 2129 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(&p2p_vif->wdev.address, p2p->dev_addr, sizeof(p2p->dev_addr)); p2p 2140 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c init_completion(&p2p->send_af_done); p2p 2141 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c INIT_WORK(&p2p->afx_hdl.afx_work, brcmf_p2p_afx_handler); p2p 2142 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c init_completion(&p2p->afx_hdl.act_frm_scan); p2p 2143 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c init_completion(&p2p->wait_next_af); p2p 2186 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c return brcmf_p2p_create_p2pdev(&cfg->p2p, wiphy, p2p 2197 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_request_p2p_if(&cfg->p2p, ifp, cfg->p2p.int_addr, p2p 2231 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg->p2p.bss_idx[P2PAPI_BSSCFG_CONNECTION].vif = vif; p2p 2255 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 2278 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (!p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif) p2p 2281 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_deinit_discovery(p2p); p2p 2288 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c clear_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status); p2p 2313 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->bss_idx[P2PAPI_BSSCFG_CONNECTION].vif = NULL; p2p 2326 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif = NULL; p2p 2338 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 2344 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err = brcmf_p2p_enable_discovery(p2p); p2p 2354 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p = &cfg->p2p; p2p 2362 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c if (p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif == vif) { p2p 2382 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c struct brcmf_p2p_info *p2p; p2p 2387 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p = &cfg->p2p; p2p 2388 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->cfg = cfg; p2p 2391 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif = pri_ifp->vif; p2p 2394 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c err_ptr = brcmf_p2p_create_p2pdev(p2p, NULL, NULL); p2p 2400 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c p2p->p2pdev_dynamically = true; p2p 2410 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c void brcmf_p2p_detach(struct brcmf_p2p_info *p2p) p2p 2414 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; p2p 2417 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c brcmf_p2p_deinit_discovery(p2p); p2p 2421 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memset(p2p, 0, sizeof(*p2p)); p2p 141 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h void brcmf_p2p_detach(struct brcmf_p2p_info *p2p); p2p 4740 drivers/net/wireless/intel/iwlegacy/common.c vif->p2p = false; p2p 1465 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c vif->p2p = newp2p; p2p 569 drivers/net/wireless/intel/iwlwifi/dvm/sta.c else if (ctx && ctx->vif && ctx->vif->p2p) p2p 783 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c ((vif->type == NL80211_IFTYPE_STATION && !vif->p2p) || p2p 784 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c (vif->type == NL80211_IFTYPE_STATION && vif->p2p))) p2p 796 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c if (vif->type == NL80211_IFTYPE_STATION && !vif->p2p && p2p 171 drivers/net/wireless/intel/iwlwifi/mvm/ftm-responder.c if (vif->p2p || vif->type != NL80211_IFTYPE_AP || p2p 290 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (!vif->p2p) p2p 510 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->p2p) p2p 612 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->p2p) { p2p 702 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->probe_req_reg && vif->bss_conf.assoc && vif->p2p) p2p 777 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->type == NL80211_IFTYPE_AP && vif->p2p && p2p 859 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (info->band == NL80211_BAND_5GHZ || vif->p2p) p2p 1072 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (vif->p2p && data->beacon_device_ts) p2p 1158 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_AP || vif->p2p); p2p 1177 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c WARN_ON(vif->type != NL80211_IFTYPE_AP || !vif->p2p); p2p 1206 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (!vif->p2p) p2p 1308 drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c if (csa_vif->p2p && p2p 1480 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { p2p 1768 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c !vif->p2p) p2p 1838 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type != NL80211_IFTYPE_STATION || vif->p2p || p2p 2308 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p) { p2p 2517 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { p2p 2531 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p && mvm->p2p_device_vif) p2p 2584 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { p2p 2593 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p && mvm->p2p_device_vif) p2p 2917 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p && !iwl_mvm_is_p2p_scm_uapsd_supported(mvm)) { p2p 2922 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif->p2p && p2p 3074 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c (vif->p2p || p2p 4351 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (!vif || vif->type != NL80211_IFTYPE_AP || !vif->p2p || p2p 4936 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (vif->p2p || vif->type != NL80211_IFTYPE_AP || p2p 306 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->p2p && p2p 318 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->p2p) { p2p 427 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && p2p 449 drivers/net/wireless/intel/iwlwifi/mvm/power.c } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && p2p 857 drivers/net/wireless/intel/iwlwifi/mvm/power.c vif->type != NL80211_IFTYPE_STATION || vif->p2p) p2p 890 drivers/net/wireless/intel/iwlwifi/mvm/power.c if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) p2p 3659 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (mvmsta->vif->p2p) p2p 262 drivers/net/wireless/intel/iwlwifi/mvm/scan.c if (vif->type == NL80211_IFTYPE_AP && vif->p2p && p2p 880 drivers/net/wireless/intel/iwlwifi/mvm/utils.c if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) p2p 191 drivers/net/wireless/mac80211_hwsim.c vif, vp->magic, vif->addr, vif->type, vif->p2p); p2p 229 drivers/net/wireless/realtek/rtlwifi/core.c mac->p2p = P2P_ROLE_CLIENT; p2p 256 drivers/net/wireless/realtek/rtlwifi/core.c mac->p2p = P2P_ROLE_GO; p2p 295 drivers/net/wireless/realtek/rtlwifi/core.c if (mac->p2p) { p2p 340 drivers/net/wireless/realtek/rtlwifi/core.c mac->p2p = 0; p2p 353 drivers/net/wireless/realtek/rtlwifi/core.c enum nl80211_iftype new_type, bool p2p) p2p 361 drivers/net/wireless/realtek/rtlwifi/core.c vif->p2p = p2p; p2p 364 drivers/net/wireless/realtek/rtlwifi/core.c "p2p %x\n", p2p); p2p 922 drivers/net/wireless/realtek/rtlwifi/core.c if (mac->p2p) p2p 980 drivers/net/wireless/realtek/rtlwifi/ps.c if (!mac->p2p) p2p 379 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); p2p 695 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { p2p 435 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); p2p 743 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { p2p 439 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c if (rtlpriv->mac80211.p2p) { p2p 469 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c ((rtlpriv->mac80211.p2p) ? p2p 834 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { p2p 259 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); p2p 556 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { p2p 257 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c if (rtlpriv->mac80211.p2p) { p2p 661 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { p2p 506 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c if (rtlpriv->mac80211.p2p) { p2p 536 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c ((rtlpriv->mac80211.p2p) ? p2p 1865 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { p2p 1499 drivers/net/wireless/realtek/rtlwifi/wifi.h u8 p2p; /*using p2p role*/ p2p 215 drivers/net/wireless/st/cw1200/pm.c if (!priv->vif->p2p && p2p 324 drivers/net/wireless/st/cw1200/pm.c if (!priv->vif->p2p && priv->join_status == CW1200_JOIN_STATUS_STA) { p2p 173 drivers/net/wireless/st/cw1200/sta.c if (!priv->vif->p2p && !atomic_read(&priv->tx_lock)) p2p 308 drivers/net/wireless/st/cw1200/sta.c bool p2p) p2p 312 drivers/net/wireless/st/cw1200/sta.c p2p, vif->type, vif->p2p); p2p 314 drivers/net/wireless/st/cw1200/sta.c if (new_type != vif->type || vif->p2p != p2p) { p2p 317 drivers/net/wireless/st/cw1200/sta.c vif->p2p = p2p; p2p 443 drivers/net/wireless/st/cw1200/sta.c bool is_p2p = priv->vif && priv->vif->p2p; p2p 1298 drivers/net/wireless/st/cw1200/sta.c if (priv->vif->p2p) { p2p 1766 drivers/net/wireless/st/cw1200/sta.c if (!priv->vif->p2p) { p2p 1983 drivers/net/wireless/st/cw1200/sta.c if (priv->vif->p2p) { p2p 2202 drivers/net/wireless/st/cw1200/sta.c if (priv->vif->p2p) p2p 2224 drivers/net/wireless/st/cw1200/sta.c if (priv->vif->p2p) { p2p 2312 drivers/net/wireless/st/cw1200/sta.c .mode = priv->vif->p2p ? p2p 2350 drivers/net/wireless/st/cw1200/sta.c if (!ret && priv->vif->p2p) { p2p 24 drivers/net/wireless/st/cw1200/sta.h bool p2p); p2p 1016 drivers/net/wireless/st/cw1200/txrx.c bool p2p = priv->vif && priv->vif->p2p; p2p 1031 drivers/net/wireless/st/cw1200/txrx.c } else if (p2p && p2p 1042 drivers/net/wireless/st/cw1200/txrx.c if (link_id && p2p && p2p 56 drivers/net/wireless/ti/wl18xx/cmd.c if (wlvif->p2p) p2p 535 drivers/net/wireless/ti/wlcore/cmd.c if (wlvif->p2p) p2p 686 drivers/net/wireless/ti/wlcore/cmd.c if (wlvif->p2p) p2p 469 drivers/net/wireless/ti/wlcore/debugfs.c wlvif->p2p ? "P2P-CL" : "STA"); p2p 474 drivers/net/wireless/ti/wlcore/debugfs.c wlvif->p2p ? "P2P-GO" : "AP"); p2p 572 drivers/net/wireless/ti/wlcore/debugfs.c VIF_STATE_PRINT_INT(p2p); p2p 322 drivers/net/wireless/ti/wlcore/event.c if (wlvif->p2p) { p2p 2191 drivers/net/wireless/ti/wlcore/main.c if (wlvif->p2p) p2p 2199 drivers/net/wireless/ti/wlcore/main.c if (wlvif->p2p) p2p 2223 drivers/net/wireless/ti/wlcore/main.c wlvif->p2p = 1; p2p 2233 drivers/net/wireless/ti/wlcore/main.c wlvif->p2p = 1; p2p 2827 drivers/net/wireless/ti/wlcore/main.c enum nl80211_iftype new_type, bool p2p) p2p 2836 drivers/net/wireless/ti/wlcore/main.c vif->p2p = p2p; p2p 342 drivers/net/wireless/ti/wlcore/wlcore_i.h u8 p2p; /* we are using p2p role */ p2p 115 drivers/pci/p2pdma.c struct pci_p2pdma *p2p; p2p 117 drivers/pci/p2pdma.c p2p = devm_kzalloc(&pdev->dev, sizeof(*p2p), GFP_KERNEL); p2p 118 drivers/pci/p2pdma.c if (!p2p) p2p 121 drivers/pci/p2pdma.c xa_init(&p2p->map_types); p2p 123 drivers/pci/p2pdma.c p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev)); p2p 124 drivers/pci/p2pdma.c if (!p2p->pool) p2p 131 drivers/pci/p2pdma.c pdev->p2pdma = p2p; p2p 141 drivers/pci/p2pdma.c gen_pool_destroy(p2p->pool); p2p 143 drivers/pci/p2pdma.c devm_kfree(&pdev->dev, p2p); p2p 652 drivers/staging/wilc1000/wilc_netdev.c priv->p2p.local_random = 0x01; p2p 170 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.local_random = 0x01; p2p 171 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.recv_random = 0x00; p2p 172 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.is_wilc_ie = false; p2p 442 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.local_random = 0x01; p2p 443 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.recv_random = 0x00; p2p 444 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.is_wilc_ie = false; p2p 991 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c !priv->p2p.is_wilc_ie) { p2p 994 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.recv_random = buff[i + 6]; p2p 995 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.is_wilc_ie = true; p2p 1001 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (priv->p2p.local_random <= priv->p2p.recv_random) { p2p 1004 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.local_random, priv->p2p.recv_random); p2p 1073 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.is_wilc_ie) p2p 1177 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (priv->p2p.local_random == 1 && p2p 1178 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.recv_random < priv->p2p.local_random) { p2p 1179 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c get_random_bytes(&priv->p2p.local_random, 1); p2p 1180 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.local_random++; p2p 1184 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c if (priv->p2p.local_random <= priv->p2p.recv_random || p2p 1211 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c mgmt_tx->buff[len + vendor_spec_len] = priv->p2p.local_random; p2p 1231 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c sizeof(priv->p2p.local_random); p2p 1409 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.local_random = 0x01; p2p 1410 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.recv_random = 0x00; p2p 1411 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c priv->p2p.is_wilc_ie = false; p2p 157 drivers/staging/wilc1000/wilc_wfi_netdevice.h struct wilc_p2p_var p2p; p2p 1613 include/net/mac80211.h bool p2p; p2p 3771 include/net/mac80211.h enum nl80211_iftype new_type, bool p2p); p2p 6057 include/net/mac80211.h ieee80211_iftype_p2p(enum nl80211_iftype type, bool p2p) p2p 6059 include/net/mac80211.h if (p2p) { p2p 6075 include/net/mac80211.h return ieee80211_iftype_p2p(vif->type, vif->p2p); p2p 1053 net/mac80211/cfg.c sdata->vif.bss_conf.allow_p2p_go_ps = sdata->vif.p2p; p2p 77 net/mac80211/driver-ops.c enum nl80211_iftype type, bool p2p) p2p 86 net/mac80211/driver-ops.c trace_drv_change_interface(local, sdata, type, p2p); p2p 87 net/mac80211/driver-ops.c ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); p2p 134 net/mac80211/driver-ops.h enum nl80211_iftype type, bool p2p); p2p 1398 net/mac80211/iface.c sdata->vif.p2p = false; p2p 1425 net/mac80211/iface.c sdata->vif.p2p = true; p2p 1438 net/mac80211/iface.c sdata->vif.p2p = true; p2p 1489 net/mac80211/iface.c bool p2p = false; p2p 1525 net/mac80211/iface.c p2p = true; p2p 1529 net/mac80211/iface.c p2p = true; p2p 1544 net/mac80211/iface.c ret = drv_change_interface(local, sdata, internal_type, p2p); p2p 2156 net/mac80211/mlme.c if (sdata->vif.p2p || p2p 3930 net/mac80211/mlme.c if (sdata->vif.p2p || p2p 573 net/mac80211/sta_info.c bool allow_p2p_go_ps = sdata->vif.p2p; p2p 31 net/mac80211/trace.h __field(bool, p2p) \ p2p 34 net/mac80211/trace.h __entry->p2p = sdata->vif.p2p; \ p2p 37 net/mac80211/trace.h #define VIF_PR_ARG __get_str(vif_name), __entry->vif_type, __entry->p2p ? "/p2p" : "" p2p 311 net/mac80211/trace.h enum nl80211_iftype type, bool p2p), p2p 313 net/mac80211/trace.h TP_ARGS(local, sdata, type, p2p), p2p 326 net/mac80211/trace.h __entry->new_p2p = p2p; p2p 1543 net/mac80211/trace.h bool p2p; p2p 1594 net/mac80211/trace.h SWITCH_ENTRY_ASSIGN(vif.p2p, vif->p2p);