Home
last modified time | relevance | path

Searched refs:p2p (Results 1 – 25 of 53) sorted by relevance

123

/drivers/net/wireless/brcm80211/brcmfmac/
Dp2p.c467 static void brcmf_p2p_generate_bss_mac(struct brcmf_p2p_info *p2p, u8 *dev_addr) in brcmf_p2p_generate_bss_mac() argument
478 eth_random_addr(p2p->dev_addr); in brcmf_p2p_generate_bss_mac()
480 memcpy(p2p->dev_addr, dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac()
486 memcpy(p2p->int_addr, p2p->dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac()
487 p2p->int_addr[0] |= 0x02; in brcmf_p2p_generate_bss_mac()
488 p2p->int_addr[4] ^= 0x80; in brcmf_p2p_generate_bss_mac()
546 static s32 brcmf_p2p_deinit_discovery(struct brcmf_p2p_info *p2p) in brcmf_p2p_deinit_discovery() argument
553 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery()
557 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery()
570 static int brcmf_p2p_enable_discovery(struct brcmf_p2p_info *p2p) in brcmf_p2p_enable_discovery() argument
[all …]
DMakefile31 p2p.o \
Dp2p.h154 void brcmf_p2p_detach(struct brcmf_p2p_info *p2p);
Dcfg80211.c806 if (cfg->p2p.p2pdev_dynamically) in brcmf_cfg80211_change_iface()
1047 if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) in brcmf_cfg80211_escan()
1048 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_cfg80211_escan()
1741 if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) { in brcmf_cfg80211_connect()
4382 if (ifp->vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif) in brcmf_cfg80211_del_station()
4383 ifp = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_cfg80211_del_station()
4493 if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif) in brcmf_cfg80211_mgmt_tx()
4494 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_cfg80211_mgmt_tx()
4565 vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_cfg80211_cancel_remain_on_channel()
5802 bool mbss, p2p; in brcmf_setup_ifmodes() local
[all …]
/drivers/misc/mic/scif/
Dscif_nodeqp.c391 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 …]
Dscif_main.h179 struct list_head p2p; member
/drivers/net/wireless/iwlwifi/mvm/
Dmac-ctxt.c365 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 …]
Dpower.c271 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()
Dtof.c181 if (vif->p2p || vif->type != NL80211_IFTYPE_AP || in iwl_mvm_tof_responder_cmd()
Dmac80211.c1744 vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { in iwl_mvm_mac_add_interface()
2061 !vif->p2p) in iwl_mvm_config_iface_filter()
2131 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p || in iwl_mvm_bcast_filter_iterator()
2296 if (vif->p2p) { in iwl_mvm_bss_info_changed_station()
2323 if (vif->p2p) in iwl_mvm_bss_info_changed_station()
2445 if (vif->p2p && mvm->p2p_device_vif) in iwl_mvm_start_ap_ibss()
2503 if (vif->p2p && mvm->p2p_device_vif) in iwl_mvm_stop_ap_ibss()
2791 (vif->p2p || in iwl_mvm_mac_sta_state()
3800 if (!vif || vif->type != NL80211_IFTYPE_AP || !vif->p2p || in __iwl_mvm_mac_testmode_cmd()
/drivers/net/wireless/cw1200/
Dsta.c176 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()
2212 if (priv->vif->p2p) in cw1200_upload_beacon()
[all …]
Dpm.c219 if (!priv->vif->p2p && in cw1200_wow_suspend()
328 if (!priv->vif->p2p && priv->join_status == CW1200_JOIN_STATUS_STA) { in cw1200_wow_resume()
Dsta.h27 bool p2p);
Dtxrx.c1019 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()
/drivers/net/wireless/ath/ath10k/
DMakefile14 p2p.o \
/drivers/staging/wilc1000/
DTODO11 - support soft-ap and p2p mode
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c254 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface()
280 mac->p2p = P2P_ROLE_GO; in rtl_op_add_interface()
315 if (mac->p2p) { in rtl_op_add_interface()
356 mac->p2p = 0; in rtl_op_remove_interface()
368 enum nl80211_iftype new_type, bool p2p) in rtl_op_change_interface() argument
375 vif->p2p = p2p; in rtl_op_change_interface()
378 "p2p %x\n", p2p); in rtl_op_change_interface()
930 if (mac->p2p) in rtl_op_sta_add()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.c282 (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()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.c251 (rtlpriv->mac80211.p2p) ? in rtl8723be_set_fw_pwrmode_cmd()
563 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8723be_set_p2p_ps_offload_cmd()
/drivers/net/wireless/ath/ath6kl/
Dinit.c509 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()
/drivers/net/wireless/ti/wl18xx/
Dcmd.c70 if (wlvif->p2p) in wl18xx_cmd_channel_switch()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.c474 (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()
/drivers/net/wireless/ti/wlcore/
Devent.c253 if (wlvif->p2p) { in wlcore_event_beacon_loss()
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c532 (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()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c511 (rtlpriv->mac80211.p2p) ? in rtl92ee_set_fw_pwrmode_cmd()
813 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl92ee_set_p2p_ps_offload_cmd()

123