/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | p2p.c | 466 static void brcmf_p2p_generate_bss_mac(struct brcmf_p2p_info *p2p, u8 *dev_addr) in brcmf_p2p_generate_bss_mac() argument 468 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac() 479 memcpy(p2p->dev_addr, dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac() 481 p2p->dev_addr[0] |= 0x02; in brcmf_p2p_generate_bss_mac() 487 memcpy(p2p->int_addr, p2p->dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac() 488 p2p->int_addr[0] |= 0x02; in brcmf_p2p_generate_bss_mac() 489 p2p->int_addr[4] ^= 0x80; in brcmf_p2p_generate_bss_mac() 547 static s32 brcmf_p2p_deinit_discovery(struct brcmf_p2p_info *p2p) in brcmf_p2p_deinit_discovery() argument 554 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery() 558 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery() [all …]
|
D | Makefile | 31 p2p.o \
|
D | p2p.h | 150 void brcmf_p2p_detach(struct brcmf_p2p_info *p2p);
|
D | cfg80211.h | 379 struct brcmf_p2p_info p2p; member
|
D | cfg80211.c | 1051 if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) in brcmf_cfg80211_escan() 1052 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_cfg80211_escan() 1745 if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) { in brcmf_cfg80211_connect() 4267 if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) in brcmf_cfg80211_del_station() 4268 ifp = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_cfg80211_del_station() 4378 if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) in brcmf_cfg80211_mgmt_tx() 4379 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_cfg80211_mgmt_tx() 4445 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_cfg80211_cancel_remain_on_channel() 6127 brcmf_p2p_detach(&cfg->p2p); in brcmf_cfg80211_attach() 6160 brcmf_p2p_detach(&cfg->p2p); in brcmf_cfg80211_detach()
|
/linux-4.1.27/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.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | mac-ctxt.c | 363 if (!vif->p2p) in iwl_mvm_mac_ctxt_allocate_resources() 663 if (vif->p2p) in iwl_mvm_mac_ctxt_cmd_common() 769 if (vif->p2p) { in iwl_mvm_mac_ctxt_cmd_sta() 894 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && in iwl_mvm_go_iterator() 998 if (info->band == IEEE80211_BAND_5GHZ || vif->p2p) { in iwl_mvm_mac_ctxt_send_beacon() 1060 if (vif->p2p && data->beacon_device_ts) in iwl_mvm_mac_ap_iterator() 1133 WARN_ON(vif->type != NL80211_IFTYPE_AP || vif->p2p); in iwl_mvm_mac_ctxt_cmd_ap() 1159 WARN_ON(vif->type != NL80211_IFTYPE_AP || !vif->p2p); in iwl_mvm_mac_ctxt_cmd_go() 1195 if (!vif->p2p) in iwl_mvm_mac_ctx_send() 1295 if (csa_vif->p2p && in iwl_mvm_csa_count_down()
|
D | power.c | 268 if (vif->p2p && in iwl_mvm_power_allow_uapsd() 275 if (vif->p2p && in iwl_mvm_power_allow_uapsd() 810 vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_enable_beacon_filter() 865 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in iwl_mvm_disable_beacon_filter() 986 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in iwl_mvm_update_d0i3_power_mode()
|
D | debugfs-vif.c | 638 ((vif->type == NL80211_IFTYPE_STATION && !vif->p2p) || in iwl_mvm_vif_dbgfs_register() 639 (vif->type == NL80211_IFTYPE_STATION && vif->p2p && in iwl_mvm_vif_dbgfs_register() 652 if (vif->type == NL80211_IFTYPE_STATION && !vif->p2p && in iwl_mvm_vif_dbgfs_register()
|
D | mac80211.c | 1585 vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { in iwl_mvm_mac_add_interface() 1926 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p || in iwl_mvm_bcast_filter_iterator() 2091 if (vif->p2p) { in iwl_mvm_bss_info_changed_station() 2118 if (vif->p2p) in iwl_mvm_bss_info_changed_station() 2238 if (vif->p2p && mvm->p2p_device_vif) in iwl_mvm_start_ap_ibss() 2296 if (vif->p2p && mvm->p2p_device_vif) in iwl_mvm_stop_ap_ibss() 2649 (vif->p2p || in iwl_mvm_mac_sta_state() 3665 if (!vif || vif->type != NL80211_IFTYPE_AP || !vif->p2p || in __iwl_mvm_mac_testmode_cmd()
|
D | utils.c | 898 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in iwl_mvm_bss_iface_iterator()
|
D | rs.c | 180 if (iwl_mvm_vif_low_latency(mvmvif) && mvmsta->vif->p2p) in rs_mimo_allow() 2853 if (IWL_MVM_RS_DISABLE_P2P_MIMO && sta_priv->vif->p2p) in iwl_mvm_rs_rate_init() 3254 if (mvmsta->vif->p2p) in rs_fill_lq_cmd()
|
/linux-4.1.27/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.1.27/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() 1311 if (priv->vif->p2p) { in cw1200_do_join() 1779 if (!priv->vif->p2p) { in cw1200_set_btcoexinfo() 1996 if (priv->vif->p2p) { in cw1200_bss_info_changed() 2218 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.1.27/net/mac80211/ |
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" : "" 274 enum nl80211_iftype type, bool p2p), 276 TP_ARGS(local, sdata, type, p2p), 289 __entry->new_p2p = p2p; 1416 bool p2p; member 1467 SWITCH_ENTRY_ASSIGN(vif.p2p, vif->p2p);
|
D | iface.c | 1345 sdata->vif.p2p = false; in ieee80211_setup_sdata() 1372 sdata->vif.p2p = true; in ieee80211_setup_sdata() 1385 sdata->vif.p2p = true; in ieee80211_setup_sdata() 1431 bool p2p = false; in ieee80211_runtime_change_iftype() local 1467 p2p = true; in ieee80211_runtime_change_iftype() 1471 p2p = true; in ieee80211_runtime_change_iftype() 1486 ret = drv_change_interface(local, sdata, internal_type, p2p); in ieee80211_runtime_change_iftype()
|
D | driver-ops.h | 165 enum nl80211_iftype type, bool p2p) in drv_change_interface() argument 174 trace_drv_change_interface(local, sdata, type, p2p); in drv_change_interface() 175 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface()
|
D | mlme.c | 1912 if (sdata->vif.p2p) { in ieee80211_set_associated() 3436 if (sdata->vif.p2p) { in ieee80211_rx_mgmt_beacon()
|
/linux-4.1.27/drivers/net/wireless/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 | 1362 u8 p2p; /*using p2p role*/ member
|
/linux-4.1.27/drivers/net/wireless/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.1.27/drivers/net/wireless/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.1.27/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() 1105 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() 3735 if (ar->p2p) { in ath6kl_cfg80211_init()
|
D | core.h | 834 bool p2p; member
|
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/ |
D | cmd.c | 70 if (wlvif->p2p) in wl18xx_cmd_channel_switch()
|
/linux-4.1.27/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.1.27/include/net/ |
D | mac80211.h | 1349 bool p2p; member 3173 enum nl80211_iftype new_type, bool p2p); 5222 ieee80211_iftype_p2p(enum nl80211_iftype type, bool p2p) in ieee80211_iftype_p2p() argument 5224 if (p2p) { in ieee80211_iftype_p2p() 5240 return ieee80211_iftype_p2p(vif->type, vif->p2p); in ieee80211_vif_type_p2p()
|
/linux-4.1.27/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 | 2226 if (wlvif->p2p) in wl12xx_get_role_type() 2232 if (wlvif->p2p) in wl12xx_get_role_type() 2256 wlvif->p2p = 1; in wl12xx_init_vif_data() 2265 wlvif->p2p = 1; in wl12xx_init_vif_data() 2819 enum nl80211_iftype new_type, bool p2p) in wl12xx_op_change_interface() argument 2828 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.1.27/drivers/net/wireless/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.1.27/drivers/net/wireless/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.1.27/drivers/net/wireless/rtlwifi/rtl8192c/ |
D | fw_common.c | 531 (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); in rtl92c_set_fw_pwrmode_cmd() 839 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl92c_set_p2p_ps_offload_cmd()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | main.c | 974 if (!avp->vif->p2p || !iter_data->has_hw_macaddr) in ath9k_update_bssid_mask() 1277 bool p2p) in ath9k_change_interface() argument 1296 vif->p2p = p2p; in ath9k_change_interface() 2454 vif->addr, vif->type, vif->p2p, in ath9k_assign_vif_chanctx() 2485 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 | 1423 if (vif->type != NL80211_IFTYPE_STATION || !vif->p2p) in ath9k_update_p2p_ps()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | core.h | 523 bool p2p; member
|
D | mac.c | 3245 if (vif->p2p) in ath10k_add_interface() 3254 if (vif->p2p) in ath10k_add_interface()
|
/linux-4.1.27/drivers/net/wireless/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.1.27/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.1.27/drivers/net/wireless/ath/wcn36xx/ |
D | hal.h | 1281 u8 p2p; member 1392 u8 p2p; member 1434 u8 p2p; member
|
D | smd.c | 230 sta_params->p2p = 0; in wcn36xx_smd_set_sta_params() 979 params->uc_ucast_sig, params->p2p); in wcn36xx_smd_config_sta_rsp()
|
/linux-4.1.27/arch/powerpc/boot/dts/ |
D | virtex440-ml507.dts | 116 xlnx,mplb-p2p = <0>;
|
D | virtex440-ml510.dts | 111 xlnx,mplb-p2p = <0x0>;
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | sta.c | 617 else if (ctx && ctx->vif && ctx->vif->p2p) in iwl_sta_fill_lq()
|
D | mac80211.c | 1484 vif->p2p = newp2p; in iwlagn_mac_change_interface()
|
/linux-4.1.27/drivers/net/wireless/ |
D | mac80211_hwsim.c | 190 vif, vp->magic, vif->addr, vif->type, vif->p2p); in hwsim_check_magic()
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
D | common.c | 4747 vif->p2p = false; in il_mac_change_interface()
|