/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
D | p2p.c | 18 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_start_listen() local 19 u8 channel = p2p->listen_chan.hw_value; in wil_p2p_start_listen() 42 INIT_WORK(&p2p->discovery_expired_work, wil_p2p_listen_expired); in wil_p2p_start_listen() 43 mod_timer(&p2p->discovery_timer, in wil_p2p_start_listen() 44 jiffies + msecs_to_jiffies(p2p->listen_duration)); in wil_p2p_start_listen() 64 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_search() local 70 if (p2p->discovery_started) { in wil_p2p_search() 112 p2p->discovery_started = 1; in wil_p2p_search() 113 INIT_WORK(&p2p->discovery_expired_work, wil_p2p_search_expired); in wil_p2p_search() 114 mod_timer(&p2p->discovery_timer, in wil_p2p_search() [all …]
|
D | netdev.c | 204 del_timer_sync(&vif->p2p.discovery_timer); in wil_vif_deinit() 206 cancel_work_sync(&vif->p2p.discovery_expired_work); in wil_vif_deinit() 207 cancel_work_sync(&vif->p2p.delayed_listen_work); in wil_vif_deinit() 256 struct wil6210_vif *vif = from_timer(vif, t, p2p.discovery_timer); in wil_p2p_discovery_timer_fn() 261 schedule_work(&vif->p2p.discovery_expired_work); in wil_p2p_discovery_timer_fn() 272 timer_setup(&vif->p2p.discovery_timer, wil_p2p_discovery_timer_fn, 0); in wil_vif_init() 276 INIT_WORK(&vif->p2p.discovery_expired_work, wil_p2p_listen_expired); in wil_vif_init() 277 INIT_WORK(&vif->p2p.delayed_listen_work, wil_p2p_delayed_listen_work); in wil_vif_init()
|
D | Makefile | 22 wil6210-y += p2p.o
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.c | 463 static void brcmf_p2p_generate_bss_mac(struct brcmf_p2p_info *p2p, u8 *dev_addr) in brcmf_p2p_generate_bss_mac() argument 465 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac() 485 eth_random_addr(p2p->dev_addr); in brcmf_p2p_generate_bss_mac() 487 memcpy(p2p->dev_addr, dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac() 490 p2p->dev_addr[0] |= 0x02; in brcmf_p2p_generate_bss_mac() 496 memcpy(p2p->conn_int_addr, p2p->dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac() 497 p2p->conn_int_addr[0] |= 0x02; in brcmf_p2p_generate_bss_mac() 498 p2p->conn_int_addr[4] ^= 0x80; in brcmf_p2p_generate_bss_mac() 500 memcpy(p2p->conn2_int_addr, p2p->dev_addr, ETH_ALEN); in brcmf_p2p_generate_bss_mac() 501 p2p->conn2_int_addr[0] |= 0x02; in brcmf_p2p_generate_bss_mac() [all …]
|
D | Makefile | 18 p2p.o \
|
D | p2p.h | 144 void brcmf_p2p_detach(struct brcmf_p2p_info *p2p);
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | p2pdma.c | 115 struct pci_p2pdma *p2p; in pci_p2pdma_setup() local 117 p2p = devm_kzalloc(&pdev->dev, sizeof(*p2p), GFP_KERNEL); in pci_p2pdma_setup() 118 if (!p2p) in pci_p2pdma_setup() 121 xa_init(&p2p->map_types); in pci_p2pdma_setup() 123 p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev)); in pci_p2pdma_setup() 124 if (!p2p->pool) in pci_p2pdma_setup() 131 pdev->p2pdma = p2p; in pci_p2pdma_setup() 141 gen_pool_destroy(p2p->pool); in pci_p2pdma_setup() 143 devm_kfree(&pdev->dev, p2p); in pci_p2pdma_setup()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 288 if (!vif->p2p) in iwl_mvm_mac_ctxt_init() 508 if (vif->p2p) in iwl_mvm_mac_ctxt_cmd_common() 610 if (vif->p2p) { in iwl_mvm_mac_ctxt_cmd_sta() 700 if (vif->probe_req_reg && vif->bss_conf.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta() 779 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && in iwl_mvm_go_iterator() 860 if (info->band == NL80211_BAND_2GHZ && !vif->p2p) in iwl_mvm_mac_ctxt_get_lowest_rate() 1075 if (vif->p2p && data->beacon_device_ts) in iwl_mvm_mac_ap_iterator() 1161 WARN_ON(vif->type != NL80211_IFTYPE_AP || vif->p2p); in iwl_mvm_mac_ctxt_cmd_ap() 1180 WARN_ON(vif->type != NL80211_IFTYPE_AP || !vif->p2p); in iwl_mvm_mac_ctxt_cmd_go() 1209 if (!vif->p2p) in iwl_mvm_mac_ctx_send() [all …]
|
D | power.c | 306 if (vif->p2p && in iwl_mvm_power_allow_uapsd() 318 if (vif->p2p) { in iwl_mvm_power_allow_uapsd() 423 if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd() 445 } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd() 855 vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_enable_beacon_filter() 888 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_disable_beacon_filter()
|
/kernel/linux/linux-5.10/Documentation/x86/ |
D | intel-iommu.rst | 44 device has its own domain (hence protection). Devices under p2p bridges 45 share the virtual address with all devices under the p2p bridge due to 46 transaction id aliasing for p2p bridges.
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | sta.c | 173 if (!priv->vif->p2p && !atomic_read(&priv->tx_lock)) in __cw1200_cqm_bssloss_sm() 308 bool p2p) in cw1200_change_interface() argument 312 p2p, vif->type, vif->p2p); in cw1200_change_interface() 314 if (new_type != vif->type || vif->p2p != p2p) { in cw1200_change_interface() 317 vif->p2p = p2p; in cw1200_change_interface() 443 bool is_p2p = priv->vif && priv->vif->p2p; in cw1200_update_filtering() 1298 if (priv->vif->p2p) { in cw1200_do_join() 1766 if (!priv->vif->p2p) { in cw1200_set_btcoexinfo() 1983 if (priv->vif->p2p) { in cw1200_bss_info_changed() 2202 if (priv->vif->p2p) in cw1200_upload_beacon() [all …]
|
D | pm.c | 215 if (!priv->vif->p2p && in cw1200_wow_suspend() 324 if (!priv->vif->p2p && priv->join_status == CW1200_JOIN_STATUS_STA) { in cw1200_wow_resume()
|
D | sta.h | 24 bool p2p);
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | driver-ops.c | 77 enum nl80211_iftype type, bool p2p) in drv_change_interface() argument 86 trace_drv_change_interface(local, sdata, type, p2p); in drv_change_interface() 87 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface()
|
D | trace.h | 32 __field(bool, p2p) \ 35 __entry->p2p = sdata->vif.p2p; \ 38 #define VIF_PR_ARG __get_str(vif_name), __entry->vif_type, __entry->p2p ? "/p2p" : "" 322 enum nl80211_iftype type, bool p2p), 324 TP_ARGS(local, sdata, type, p2p), 337 __entry->new_p2p = p2p; 1559 bool p2p; member 1612 SWITCH_ENTRY_ASSIGN(vif.p2p, vif->p2p);
|
D | iface.c | 1511 sdata->vif.p2p = false; in ieee80211_setup_sdata() 1541 sdata->vif.p2p = true; in ieee80211_setup_sdata() 1551 sdata->vif.p2p = true; in ieee80211_setup_sdata() 1602 bool p2p = false; in ieee80211_runtime_change_iftype() local 1638 p2p = true; in ieee80211_runtime_change_iftype() 1642 p2p = true; in ieee80211_runtime_change_iftype() 1662 ret = drv_change_interface(local, sdata, internal_type, p2p); in ieee80211_runtime_change_iftype()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | Makefile | 15 p2p.o \
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | mac80211.c | 236 enum nl80211_iftype type, bool p2p) in rtw_ops_change_interface() argument 241 vif->addr, vif->type, type, vif->p2p, p2p); in rtw_ops_change_interface() 246 vif->p2p = p2p; in rtw_ops_change_interface()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 231 mac->p2p = P2P_ROLE_CLIENT; in rtl_op_add_interface() 258 mac->p2p = P2P_ROLE_GO; in rtl_op_add_interface() 297 if (mac->p2p) { in rtl_op_add_interface() 342 mac->p2p = 0; in rtl_op_remove_interface() 355 enum nl80211_iftype new_type, bool p2p) in rtl_op_change_interface() argument 363 vif->p2p = p2p; in rtl_op_change_interface() 366 "p2p %x\n", p2p); in rtl_op_change_interface() 924 if (mac->p2p) in rtl_op_sta_add()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | fw.c | 436 if (rtlpriv->mac80211.p2p) { in rtl92ee_set_fw_pwrmode_cmd() 466 ((rtlpriv->mac80211.p2p) ? in rtl92ee_set_fw_pwrmode_cmd() 831 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl92ee_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | fw.c | 259 (rtlpriv->mac80211.p2p) ? ppsc->smart_ps : 1); in rtl8723e_set_fw_pwrmode_cmd() 556 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8723e_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | fw.c | 257 if (rtlpriv->mac80211.p2p) { in rtl8723be_set_fw_pwrmode_cmd() 661 if (P2P_ROLE_GO == rtlpriv->mac80211.p2p) { in rtl8723be_set_p2p_ps_offload_cmd()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
D | init.c | 510 if (ar->p2p && (ar->vif_max == 1 || idx)) { in ath6kl_target_config_wlan_params() 519 ar->p2p = false; in ath6kl_target_config_wlan_params() 523 if (ar->p2p && (ar->vif_max == 1 || idx)) { in ath6kl_target_config_wlan_params() 584 if (ar->p2p && ar->vif_max == 1) in ath6kl_configure_target() 1129 if (ar->vif_max > 1 && !ar->p2p) in ath6kl_fetch_fw_apin()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/ |
D | cmd.c | 56 if (wlvif->p2p) in wl18xx_cmd_channel_switch()
|