/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | p2p.c | 467 static void brcmf_p2p_generate_bss_mac(struct brcmf_p2p_info *p2p, u8 *dev_addr) in brcmf_p2p_generate_bss_mac() argument 469 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac() 480 memcpy(p2p->dev_addr, dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac() 482 p2p->dev_addr[0] |= 0x02; in brcmf_p2p_generate_bss_mac() 488 memcpy(p2p->int_addr, p2p->dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac() 489 p2p->int_addr[0] |= 0x02; in brcmf_p2p_generate_bss_mac() 490 p2p->int_addr[4] ^= 0x80; in brcmf_p2p_generate_bss_mac() 548 static s32 brcmf_p2p_deinit_discovery(struct brcmf_p2p_info *p2p) in brcmf_p2p_deinit_discovery() argument 555 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery() 559 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery() [all …]
|
D | Makefile | 31 p2p.o \
|
D | p2p.h | 152 void brcmf_p2p_detach(struct brcmf_p2p_info *p2p);
|
D | cfg80211.c | 806 if (cfg->p2p.p2pdev_dynamically) in brcmf_cfg80211_change_iface() 1058 if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) in brcmf_cfg80211_escan() 1059 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_cfg80211_escan() 1752 if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) { in brcmf_cfg80211_connect() 4352 if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) in brcmf_cfg80211_del_station() 4353 ifp = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_cfg80211_del_station() 4463 if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) in brcmf_cfg80211_mgmt_tx() 4464 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_cfg80211_mgmt_tx() 4530 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_cfg80211_cancel_remain_on_channel() 5763 bool mbss, p2p; in brcmf_setup_ifmodes() local [all …]
|
D | cfg80211.h | 377 struct brcmf_p2p_info p2p; member
|
D | core.c | 1149 brcmf_p2p_detach(&drvr->config->p2p); in brcmf_detach()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_nodeqp.c | 391 struct scif_p2p_info *p2p; in scif_init_p2p_info() local 399 p2p = kzalloc(sizeof(*p2p), GFP_KERNEL); in scif_init_p2p_info() 400 if (!p2p) in scif_init_p2p_info() 402 p2p->ppi_sg[SCIF_PPI_MMIO] = scif_p2p_setsg(psdev->mmio->pa, in scif_init_p2p_info() 404 if (!p2p->ppi_sg[SCIF_PPI_MMIO]) in scif_init_p2p_info() 406 p2p->sg_nentries[SCIF_PPI_MMIO] = num_mmio_pages; in scif_init_p2p_info() 409 p2p->ppi_sg[SCIF_PPI_APER] = scif_p2p_setsg(psdev->aper->pa, in scif_init_p2p_info() 412 p2p->sg_nentries[SCIF_PPI_APER] = num_aper_chunks; in scif_init_p2p_info() 413 err = dma_map_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], in scif_init_p2p_info() 417 err = dma_map_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_APER], in scif_init_p2p_info() [all …]
|
D | scif_main.h | 179 struct list_head p2p; member
|
D | scif_main.c | 136 INIT_LIST_HEAD(&scifdev->p2p); in scif_setup_scifdev()
|
/linux-4.4.14/arch/arm/mach-orion5x/ |
D | pci.c | 371 u32 p2p = readl(PCI_P2P_CONF); in orion5x_pci_set_bus_nr() local 378 bus = (p2p & PCI_P2P_BUS_MASK) >> PCI_P2P_BUS_OFFS; in orion5x_pci_set_bus_nr() 379 dev = (p2p & PCI_P2P_DEV_MASK) >> PCI_P2P_DEV_OFFS; in orion5x_pci_set_bus_nr() 388 p2p &= ~PCI_P2P_BUS_MASK; in orion5x_pci_set_bus_nr() 389 p2p |= (nr << PCI_P2P_BUS_OFFS); in orion5x_pci_set_bus_nr() 390 writel(p2p, PCI_P2P_CONF); in orion5x_pci_set_bus_nr()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | mac-ctxt.c | 365 if (!vif->p2p) in iwl_mvm_mac_ctxt_allocate_resources() 672 if (vif->p2p) in iwl_mvm_mac_ctxt_cmd_common() 778 if (vif->p2p) { in iwl_mvm_mac_ctxt_cmd_sta() 846 if (vif->probe_req_reg && vif->bss_conf.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta() 906 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && in iwl_mvm_go_iterator() 1010 if (info->band == IEEE80211_BAND_5GHZ || vif->p2p) { in iwl_mvm_mac_ctxt_send_beacon() 1072 if (vif->p2p && data->beacon_device_ts) in iwl_mvm_mac_ap_iterator() 1146 WARN_ON(vif->type != NL80211_IFTYPE_AP || vif->p2p); in iwl_mvm_mac_ctxt_cmd_ap() 1178 WARN_ON(vif->type != NL80211_IFTYPE_AP || !vif->p2p); in iwl_mvm_mac_ctxt_cmd_go() 1214 if (!vif->p2p) in iwl_mvm_mac_ctx_send() [all …]
|
D | power.c | 271 if (vif->p2p && in iwl_mvm_power_allow_uapsd() 278 if (vif->p2p && in iwl_mvm_power_allow_uapsd() 383 if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd() 405 } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd() 828 vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_enable_beacon_filter() 883 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in iwl_mvm_disable_beacon_filter() 1004 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in iwl_mvm_update_d0i3_power_mode()
|
D | tof.c | 181 if (vif->p2p || vif->type != NL80211_IFTYPE_AP || in iwl_mvm_tof_responder_cmd()
|
D | mac80211.c | 1722 vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { in iwl_mvm_mac_add_interface() 2014 !vif->p2p) in iwl_mvm_config_iface_filter() 2084 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p || in iwl_mvm_bcast_filter_iterator() 2249 if (vif->p2p) { in iwl_mvm_bss_info_changed_station() 2276 if (vif->p2p) in iwl_mvm_bss_info_changed_station() 2398 if (vif->p2p && mvm->p2p_device_vif) in iwl_mvm_start_ap_ibss() 2456 if (vif->p2p && mvm->p2p_device_vif) in iwl_mvm_stop_ap_ibss() 2744 (vif->p2p || in iwl_mvm_mac_sta_state() 3753 if (!vif || vif->type != NL80211_IFTYPE_AP || !vif->p2p || in __iwl_mvm_mac_testmode_cmd()
|
D | debugfs-vif.c | 1412 ((vif->type == NL80211_IFTYPE_STATION && !vif->p2p) || in iwl_mvm_vif_dbgfs_register() 1413 (vif->type == NL80211_IFTYPE_STATION && vif->p2p && in iwl_mvm_vif_dbgfs_register() 1427 if (vif->type == NL80211_IFTYPE_STATION && !vif->p2p && in iwl_mvm_vif_dbgfs_register() 1433 !vif->p2p && (vif->type != NL80211_IFTYPE_P2P_DEVICE)) { in iwl_mvm_vif_dbgfs_register()
|
D | utils.c | 990 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in iwl_mvm_bss_iface_iterator()
|
D | rs.c | 3466 if (mvmsta->vif->p2p) in rs_fill_lq_cmd()
|
/linux-4.4.14/Documentation/ |
D | Intel-IOMMU.txt | 43 device has its own domain (hence protection). Devices under p2p bridges 44 share the virtual address with all devices under the p2p bridge due to 45 transaction id aliasing for p2p bridges.
|
/linux-4.4.14/net/mac80211/ |
D | driver-ops.c | 80 enum nl80211_iftype type, bool p2p) in drv_change_interface() argument 89 trace_drv_change_interface(local, sdata, type, p2p); in drv_change_interface() 90 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface()
|
D | trace.h | 24 __field(bool, p2p) \ 27 __entry->p2p = sdata->vif.p2p; \ 30 #define VIF_PR_ARG __get_str(vif_name), __entry->vif_type, __entry->p2p ? "/p2p" : "" 285 enum nl80211_iftype type, bool p2p), 287 TP_ARGS(local, sdata, type, p2p), 300 __entry->new_p2p = p2p; 1448 bool p2p; member 1499 SWITCH_ENTRY_ASSIGN(vif.p2p, vif->p2p);
|
D | iface.c | 1371 sdata->vif.p2p = false; in ieee80211_setup_sdata() 1398 sdata->vif.p2p = true; in ieee80211_setup_sdata() 1411 sdata->vif.p2p = true; in ieee80211_setup_sdata() 1457 bool p2p = false; in ieee80211_runtime_change_iftype() local 1493 p2p = true; in ieee80211_runtime_change_iftype() 1497 p2p = true; in ieee80211_runtime_change_iftype() 1512 ret = drv_change_interface(local, sdata, internal_type, p2p); in ieee80211_runtime_change_iftype()
|
D | driver-ops.h | 117 enum nl80211_iftype type, bool p2p);
|
D | mlme.c | 1938 if (sdata->vif.p2p) { in ieee80211_set_associated() 3466 if (sdata->vif.p2p) { in ieee80211_rx_mgmt_beacon()
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | sta.c | 176 if (!priv->vif->p2p && !atomic_read(&priv->tx_lock)) in __cw1200_cqm_bssloss_sm() 311 bool p2p) in cw1200_change_interface() argument 315 p2p, vif->type, vif->p2p); in cw1200_change_interface() 317 if (new_type != vif->type || vif->p2p != p2p) { in cw1200_change_interface() 320 vif->p2p = p2p; in cw1200_change_interface() 446 bool is_p2p = priv->vif && priv->vif->p2p; in cw1200_update_filtering() 1307 if (priv->vif->p2p) { in cw1200_do_join() 1775 if (!priv->vif->p2p) { in cw1200_set_btcoexinfo() 1992 if (priv->vif->p2p) { in cw1200_bss_info_changed() 2214 if (priv->vif->p2p) in cw1200_upload_beacon() [all …]
|
D | pm.c | 219 if (!priv->vif->p2p && in cw1200_wow_suspend() 328 if (!priv->vif->p2p && priv->join_status == CW1200_JOIN_STATUS_STA) { in cw1200_wow_resume()
|
D | sta.h | 27 bool p2p);
|
D | txrx.c | 1019 bool p2p = priv->vif && priv->vif->p2p; in cw1200_rx_cb() local 1034 } else if (p2p && in cw1200_rx_cb() 1045 if (link_id && p2p && in cw1200_rx_cb()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | Makefile | 14 p2p.o \
|
D | core.h | 621 bool p2p; member
|
D | mac.c | 4346 if (vif->p2p) in ath10k_add_interface() 4363 if (vif->p2p) in ath10k_add_interface()
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | TODO | 11 - support soft-ap and p2p mode
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 255 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface() 281 mac->p2p = P2P_ROLE_GO; in rtl_op_add_interface() 316 if (mac->p2p) { in rtl_op_add_interface() 357 mac->p2p = 0; in rtl_op_remove_interface() 369 enum nl80211_iftype new_type, bool p2p) in rtl_op_change_interface() argument 376 vif->p2p = p2p; in rtl_op_change_interface() 379 "p2p %x\n", p2p); in rtl_op_change_interface() 931 if (mac->p2p) in rtl_op_sta_add()
|
D | ps.c | 981 if (!mac->p2p) in rtl_p2p_info()
|
D | wifi.h | 1381 u8 p2p; /*using p2p role*/ member
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | fw.c | 282 (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); in rtl8723e_set_fw_pwrmode_cmd() 578 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8723e_set_p2p_ps_offload_cmd()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | fw.c | 251 (rtlpriv->mac80211.p2p) ? in rtl8723be_set_fw_pwrmode_cmd() 563 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8723be_set_p2p_ps_offload_cmd()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | init.c | 509 if (ar->p2p && (ar->vif_max == 1 || idx)) { in ath6kl_target_config_wlan_params() 518 ar->p2p = false; in ath6kl_target_config_wlan_params() 522 if (ar->p2p && (ar->vif_max == 1 || idx)) { in ath6kl_target_config_wlan_params() 583 if (ar->p2p && ar->vif_max == 1) in ath6kl_configure_target() 1106 if (ar->vif_max > 1 && !ar->p2p) in ath6kl_fetch_fw_apin()
|
D | core.c | 271 ar->p2p = !!ath6kl_p2p; in ath6kl_core_create()
|
D | cfg80211.c | 461 u8 nw_subtype = (ar->p2p) ? SUBTYPE_P2PDEV : SUBTYPE_NONE; in ath6kl_cfg80211_connect() 3058 u8 *p2p; in ath6kl_send_go_probe_resp() local 3067 p2p = kmalloc(len, GFP_KERNEL); in ath6kl_send_go_probe_resp() 3068 if (p2p == NULL) in ath6kl_send_go_probe_resp() 3077 memcpy(p2p + p2p_len, pos, 2 + pos[1]); in ath6kl_send_go_probe_resp() 3084 mgmt->da, p2p, p2p_len); in ath6kl_send_go_probe_resp() 3085 kfree(p2p); in ath6kl_send_go_probe_resp() 3868 if (ar->p2p) { in ath6kl_cfg80211_init()
|
D | core.h | 836 bool p2p; member
|
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
D | cmd.c | 70 if (wlvif->p2p) in wl18xx_cmd_channel_switch()
|
/linux-4.4.14/Documentation/nfc/ |
D | nfc-hci.txt | 95 - dep_link_up() is called after a p2p target has been detected, to finish 96 the p2p connection setup with hardware parameters that need to be passed back 98 - dep_link_down() is called to bring the p2p link down. 110 - tm_send() is called to send data in the case of a p2p connection
|
/linux-4.4.14/include/net/ |
D | mac80211.h | 1370 bool p2p; member 3278 enum nl80211_iftype new_type, bool p2p); 5297 ieee80211_iftype_p2p(enum nl80211_iftype type, bool p2p) in ieee80211_iftype_p2p() argument 5299 if (p2p) { in ieee80211_iftype_p2p() 5315 return ieee80211_iftype_p2p(vif->type, vif->p2p); in ieee80211_vif_type_p2p()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | event.c | 253 if (wlvif->p2p) { in wlcore_event_beacon_loss()
|
D | wlcore_i.h | 345 u8 p2p; /* we are using p2p role */ member
|
D | debugfs.c | 469 wlvif->p2p ? "P2P-CL" : "STA"); in driver_state_read() 474 wlvif->p2p ? "P2P-GO" : "AP"); in driver_state_read() 572 VIF_STATE_PRINT_INT(p2p); in vifs_state_read()
|
D | main.c | 2232 if (wlvif->p2p) in wl12xx_get_role_type() 2238 if (wlvif->p2p) in wl12xx_get_role_type() 2262 wlvif->p2p = 1; in wl12xx_init_vif_data() 2272 wlvif->p2p = 1; in wl12xx_init_vif_data() 2851 enum nl80211_iftype new_type, bool p2p) in wl12xx_op_change_interface() argument 2860 vif->p2p = p2p; in wl12xx_op_change_interface()
|
D | cmd.c | 539 if (wlvif->p2p) in wl12xx_cmd_role_start_sta() 687 if (wlvif->p2p) in wl12xx_cmd_role_start_ap()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | fw.c | 474 (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); in rtl88e_set_fw_pwrmode_cmd() 789 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl88e_set_p2p_ps_offload_cmd()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | fw.c | 511 (rtlpriv->mac80211.p2p) ? in rtl92ee_set_fw_pwrmode_cmd() 811 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl92ee_set_p2p_ps_offload_cmd()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | fw_common.c | 532 (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); in rtl92c_set_fw_pwrmode_cmd() 840 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl92c_set_p2p_ps_offload_cmd()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | main.c | 977 if (!avp->vif->p2p || !iter_data->has_hw_macaddr) in ath9k_update_bssid_mask() 1282 bool p2p) in ath9k_change_interface() argument 1301 vif->p2p = p2p; in ath9k_change_interface() 2464 vif->addr, vif->type, vif->p2p, in ath9k_assign_vif_chanctx() 2495 vif->addr, vif->type, vif->p2p, in ath9k_unassign_vif_chanctx()
|
D | beacon.c | 151 if (vif->p2p) in ath9k_beacon_generate()
|
D | channel.c | 1432 if (vif->type != NL80211_IFTYPE_STATION || !vif->p2p) in ath9k_update_p2p_ps()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | fw.c | 569 (rtlpriv->mac80211.p2p) ? in rtl8821ae_set_fw_pwrmode_cmd() 1774 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8821ae_set_p2p_ps_offload_cmd()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | main.c | 591 ar->disable_offload |= vif->p2p; in carl9170_init_interface() 648 if (main_vif->p2p && vif->p2p && in carl9170_op_add_interface()
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
D | hal.h | 1281 u8 p2p; member 1392 u8 p2p; member 1434 u8 p2p; member
|
D | smd.c | 228 sta_params->p2p = 0; in wcn36xx_smd_set_sta_params() 977 params->uc_ucast_sig, params->p2p); in wcn36xx_smd_config_sta_rsp()
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | virtex440-ml507.dts | 116 xlnx,mplb-p2p = <0>;
|
D | virtex440-ml510.dts | 111 xlnx,mplb-p2p = <0x0>;
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | mac80211.c | 1495 vif->p2p = newp2p; in iwlagn_mac_change_interface()
|
D | sta.c | 584 else if (ctx && ctx->vif && ctx->vif->p2p) in iwl_sta_fill_lq()
|
/linux-4.4.14/drivers/net/wireless/ |
D | mac80211_hwsim.c | 190 vif, vp->magic, vif->addr, vif->type, vif->p2p); in hwsim_check_magic()
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
D | common.c | 4747 vif->p2p = false; in il_mac_change_interface()
|