/linux-6.1.9/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
|
/linux-6.1.9/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);
|
/linux-6.1.9/Documentation/devicetree/bindings/phy/ |
D | transmit-amplitude.yaml | 17 tx-p2p-microvolt: 21 'tx-p2p-microvolt-names' property must be provided and contain 24 tx-p2p-microvolt-names: 26 Names of the modes corresponding to voltages in the 'tx-p2p-microvolt' 93 tx-p2p-microvolt-names: [ tx-p2p-microvolt ] 101 tx-p2p-microvolt = <915000>, <1100000>, <1200000>; 102 tx-p2p-microvolt-names = "2500base-x", "usb-hs", "usb-ss";
|
/linux-6.1.9/drivers/pci/ |
D | p2pdma.c | 125 struct pci_p2pdma *p2p; in pci_p2pdma_setup() local 127 p2p = devm_kzalloc(&pdev->dev, sizeof(*p2p), GFP_KERNEL); in pci_p2pdma_setup() 128 if (!p2p) in pci_p2pdma_setup() 131 xa_init(&p2p->map_types); in pci_p2pdma_setup() 133 p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev)); in pci_p2pdma_setup() 134 if (!p2p->pool) in pci_p2pdma_setup() 145 rcu_assign_pointer(pdev->p2pdma, p2p); in pci_p2pdma_setup() 149 gen_pool_destroy(p2p->pool); in pci_p2pdma_setup() 151 devm_kfree(&pdev->dev, p2p); in pci_p2pdma_setup()
|
/linux-6.1.9/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-6.1.9/drivers/net/wireless/realtek/rtw89/ |
D | mac80211.c | 113 vif->addr, vif->type, vif->p2p); in rtw89_ops_add_interface() 158 vif->addr, vif->type, vif->p2p); in rtw89_ops_remove_interface() 173 enum nl80211_iftype type, bool p2p) in rtw89_ops_change_interface() argument 178 vif->addr, vif->type, type, vif->p2p, p2p); in rtw89_ops_change_interface() 183 vif->p2p = p2p; in rtw89_ops_change_interface() 684 if (vif != br_data->vif || vif->p2p) in rtw89_ra_mask_info_update_iter()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 233 if (!vif->p2p) in iwl_mvm_mac_ctxt_init() 453 if (vif->p2p) in iwl_mvm_mac_ctxt_cmd_common() 561 if (vif->p2p) { in iwl_mvm_mac_ctxt_cmd_sta() 633 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta() 714 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && in iwl_mvm_go_iterator() 795 if (info->band == NL80211_BAND_2GHZ && !vif->p2p) in iwl_mvm_mac_ctxt_get_lowest_rate() 1038 if (vif->p2p && data->beacon_device_ts) in iwl_mvm_mac_ap_iterator() 1124 WARN_ON(vif->type != NL80211_IFTYPE_AP || vif->p2p); in iwl_mvm_mac_ctxt_cmd_ap() 1143 WARN_ON(vif->type != NL80211_IFTYPE_AP || !vif->p2p); in iwl_mvm_mac_ctxt_cmd_go() 1171 if (!vif->p2p) in iwl_mvm_mac_ctx_send() [all …]
|
D | power.c | 248 if (vif->p2p && in iwl_mvm_power_allow_uapsd() 260 if (vif->p2p) { in iwl_mvm_power_allow_uapsd() 365 if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd() 387 } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd() 797 vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_enable_beacon_filter() 830 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_disable_beacon_filter()
|
/linux-6.1.9/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() 1299 if (priv->vif->p2p) { in cw1200_do_join() 1767 if (!priv->vif->p2p) { in cw1200_set_btcoexinfo() 1984 if (priv->vif->p2p) { in cw1200_bss_info_changed() 2203 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);
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | Makefile | 15 p2p.o \
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | mac80211.c | 245 enum nl80211_iftype type, bool p2p) in rtw_ops_change_interface() argument 250 vif->addr, vif->type, type, vif->p2p, p2p); in rtw_ops_change_interface() 255 vif->p2p = p2p; in rtw_ops_change_interface()
|
/linux-6.1.9/net/mac80211/ |
D | driver-ops.c | 78 enum nl80211_iftype type, bool p2p) in drv_change_interface() argument 87 trace_drv_change_interface(local, sdata, type, p2p); in drv_change_interface() 88 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; 1617 bool p2p; member 1671 SWITCH_ENTRY_ASSIGN(vif.p2p, vif->p2p);
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/wireless/ti/wl18xx/ |
D | cmd.c | 56 if (wlvif->p2p) in wl18xx_cmd_channel_switch()
|