Home
last modified time | relevance | path

Searched full:p2p (Results 1 – 25 of 257) sorted by relevance

1234567891011

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c18 #include "p2p.h"
22 /* parameters used for p2p escan */
47 #define P2P_VER 9 /* P2P version: 9=WiFi P2P v1.0 */
51 #define P2P_OUI "\x50\x6F\x9A" /* P2P OUI */
52 #define P2P_OUI_LEN 3 /* P2P OUI length */
71 /* WiFi P2P Public Action Frame OUI Subtypes */
75 #define P2P_PAF_INVITE_REQ 3 /* P2P Invitation Request */
76 #define P2P_PAF_INVITE_RSP 4 /* P2P Invitation Response */
83 /* WiFi P2P Action Frame OUI Subtypes */
85 #define P2P_AF_PRESENCE_REQ 1 /* P2P Presence Request */
[all …]
H A Dp2p.h16 * @P2PAPI_BSSCFG_DEVICE: maps to driver's P2P device discovery bsscfg.
17 * @P2PAPI_BSSCFG_CONNECTION: maps to driver's 1st P2P connection bsscfg.
18 * @P2PAPI_BSSCFG_CONNECTION2: maps to driver's 2nd P2P connection bsscfg.
23 P2PAPI_BSSCFG_DEVICE, /* maps to driver's P2P device discovery bsscfg */
24 P2PAPI_BSSCFG_CONNECTION, /* driver's 1st P2P connection bsscfg */
25 P2PAPI_BSSCFG_CONNECTION2, /* driver's 2nd P2P connection bsscfg */
32 * @vif: virtual interface of this P2P bss.
41 * enum brcmf_p2p_status - P2P specific dongle status.
50 * @BRCMF_P2P_STATUS_GO_NEG_PHASE: P2P GO negotiation ongoing.
51 * @BRCMF_P2P_STATUS_DISCOVER_LISTEN: P2P listen, remaining on channel.
[all …]
H A Dfeature.h12 * MCHAN: multi-channel for concurrent P2P.
15 * P2P: peer-to-peer
40 BRCMF_FEAT_DEF(P2P) \
H A Dcfg80211.h14 #include "p2p.h"
74 /* P2P Action Frames flags (spec ordered) */
215 * @mbss: Multiple BSS type, set if not first AP (not relevant for P2P).
313 * @p2p: peer-to-peer specific information.
345 struct brcmf_p2p_info p2p; member
/linux/drivers/net/wireless/ath/wil6210/
H A Dp2p.c18 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 …]
H A Dnetdev.c204 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()
/linux/Documentation/driver-api/pci/
H A Dp2pdma.rst9 called Peer-to-Peer (or P2P). However, there are a number of issues that
10 make P2P transactions tricky to do in a perfectly safe way.
17 only supports doing P2P when the endpoints involved are all behind the
24 memory that is used for P2P transactions needs to be backed by struct
33 In a given P2P implementation there may be three or more different
36 * Provider - A driver which provides or publishes P2P resources like
49 in that it exposes any CMB (Controller Memory Buffer) as a P2P memory
50 resource (provider), it accepts P2P memory pages as buffers in requests
56 to the P2P memory (CMB) and then to the NVMe device (and vice versa).
61 memory behind it, its driver could add support as a P2P provider and
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dtransmit-amplitude.yaml17 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/drivers/staging/rtl8723bs/include/
H A Dwifi.h403 /* =====================P2P Section ===================== */
412 P2P_STATE_NONE = 0, /* P2P disable */
413 P2P_STATE_IDLE = 1, /* P2P had enabled and do nothing */
418 P2P_STATE_TX_PROVISION_DIS_REQ = 6, /* In P2P provisioning discovery */
424 …P2P_STATE_RECV_INVITE_REQ_MATCH = 12, /* receiving the P2P Invitation request and match with the…
425 P2P_STATE_PROVISIONING_ING = 13, /* Doing the P2P WPS */
426 P2P_STATE_PROVISIONING_DONE = 14, /* Finish the P2P WPS */
427 P2P_STATE_TX_INVITE_REQ = 15, /* Transmit the P2P Invitation request */
428 P2P_STATE_RX_INVITE_RESP_OK = 16, /* Receiving the P2P Invitation response */
429 …P2P_STATE_RECV_INVITE_REQ_DISMATCH = 17, /* receiving the P2P Invitation request and mismatch wit…
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dtxq.h15 * @IWL_MVM_DQA_P2P_DEVICE_QUEUE: a queue reserved for P2P device frames
17 * monitor mode. Note this queue is the same as the queue for P2P device
18 * but we can't have active monitor mode along with P2P device anyway.
19 * @IWL_MVM_DQA_GCAST_QUEUE: a queue reserved for P2P GO/SoftAP GCAST frames
26 * @IWL_MVM_DQA_AP_PROBE_RESP_QUEUE: a queue reserved for P2P GO/SoftAP probe
H A Dtime-event.h20 /* P2P Device Events */
26 /* P2P Client Events */
31 /* P2P GO Events */
341 * @ROC_ACTIVITY_P2P_DISC: ROC for p2p discoverability activity
342 * @ROC_ACTIVITY_P2P_TXRX: ROC for p2p action frames activity
343 * @ROC_ACTIVITY_P2P_NEG: ROC for p2p negotiation (used also for TX)
417 * @SESSION_PROTECT_CONF_P2P_DEVICE_DISCOV: Schedule the P2P Device to be in
418 * listen mode. Will be fragmented. Valid only on the P2P Device MAC.
419 * Valid only on the P2P Device MAC. The firmware will take into account
421 * @SESSION_PROTECT_CONF_P2P_GO_NEGOTIATION: Schedule the P2P Device to be be
[all …]
H A Dmac.h57 * @FW_MAC_TYPE_P2P_DEVICE: P2P Device
58 * @FW_MAC_TYPE_P2P_STA: P2P client
59 * @FW_MAC_TYPE_GO: P2P GO
180 * struct iwl_mac_data_go - configuration data for P2P GO MAC context
193 * struct iwl_mac_data_p2p_sta - configuration data for P2P client MAC context
212 * struct iwl_mac_data_p2p_dev - configuration data for the P2P Device MAC
214 * @is_disc_extended: if set to true, P2P Device discoverability is enabled on
316 * @p2p_sta: P2P client specific config data, see &struct iwl_mac_data_p2p_sta
317 * @p2p_dev: P2P-device specific config data, see &struct iwl_mac_data_p2p_dev
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/
H A Duncore-io.json1823 "BriefDescription": "Num requests sent by PCIe - by target : Confined P2P",
1835 "BriefDescription": "Num requests sent by PCIe - by target : Local P2P",
1883 "BriefDescription": "Num requests sent by PCIe - by target : Remote P2P",
3003 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF0 - NCB",
3013 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF0 - NCS",
3023 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF1 - NCB",
3033 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF1 - NCS",
3043 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF2 - NCB",
3053 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF2 - NCS",
3063 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF3 - NCB",
[all …]
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/
H A Duncore-io.json1823 "BriefDescription": "Num requests sent by PCIe - by target : Confined P2P",
1835 "BriefDescription": "Num requests sent by PCIe - by target : Local P2P",
1883 "BriefDescription": "Num requests sent by PCIe - by target : Remote P2P",
3003 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF0 - NCB",
3013 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF0 - NCS",
3023 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF1 - NCB",
3033 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF1 - NCS",
3043 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF2 - NCB",
3053 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF2 - NCS",
3063 "BriefDescription": "Local Dedicated P2P Credit Taken - 0 : M2IOSF3 - NCB",
[all …]
/linux/net/wireless/
H A DKconfig148 A relaxation feature example is allowing the operation of a P2P group
154 is associated to P2P GO and in addition the P2P GO instantiated on
156 non P2P clients.
/linux/drivers/pci/
H A Dp2pdma.c232 struct pci_p2pdma *p2p; in pci_p2pdma_setup() local
234 p2p = devm_kzalloc(&pdev->dev, sizeof(*p2p), GFP_KERNEL); in pci_p2pdma_setup()
235 if (!p2p) in pci_p2pdma_setup()
238 xa_init(&p2p->map_types); in pci_p2pdma_setup()
240 p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev)); in pci_p2pdma_setup()
241 if (!p2p->pool) in pci_p2pdma_setup()
252 rcu_assign_pointer(pdev->p2pdma, p2p); in pci_p2pdma_setup()
256 gen_pool_destroy(p2p->pool); in pci_p2pdma_setup()
258 devm_kfree(&pdev->dev, p2p); in pci_p2pdma_setup()
276 * pci_p2pdma_add_resource - add memory for use as p2p memory
[all …]
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_dma_buf.c44 /* No P2P */ in check_residency()
148 * Did import succeed when it shouldn't due to lack of p2p support? in xe_test_dmabuf_import_same_driver()
185 /* Shouldn't fail if we can reuse same bo, use p2p or use system */ in xe_test_dmabuf_import_same_driver()
186 KUNIT_FAIL(test, "dynamic p2p attachment failed with err=%ld\n", in xe_test_dmabuf_import_same_driver()
201 * importers with different capabilities; some lacking p2p support and some
/linux/drivers/gpu/drm/amd/amdkfd/
H A DKconfig32 Enable peer-to-peer (P2P) communication between AMD GPUs over
37 This P2P feature is only enabled on compatible chipsets, and between
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dpower.c238 /* allow UAPSD if P2P interface and BSS station interface share in iwl_mvm_allow_uapsd_iterator()
266 * Avoid using uAPSD if P2P client is associated to GO that uses in iwl_mvm_power_allow_uapsd()
269 if (vif->p2p && in iwl_mvm_power_allow_uapsd()
274 if (vif->p2p && !iwl_mvm_is_p2p_scm_uapsd_supported(mvm)) in iwl_mvm_power_allow_uapsd()
379 if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd()
401 } else if (iwl_mvm_vif_low_latency(mvmvif) && vif->p2p && in iwl_mvm_power_build_cmd()
677 /* enable PM on p2p if p2p stand alone */ in iwl_mvm_power_set_pm()
703 * bss and p2p clients that share it in iwl_mvm_power_set_pm()
830 vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_enable_beacon_filter()
861 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_disable_beacon_filter()
H A Dmac-ctxt.c142 * their TSF (like P2P Device), but we won't be able in iwl_mvm_mac_tsf_id_iter()
247 if (!vif->p2p) in iwl_mvm_mac_ctxt_init()
305 /* No need to allocate data queues to P2P Device MAC and NAN.*/ in iwl_mvm_mac_ctxt_init()
518 if (vif->p2p) in iwl_mvm_get_mac_type()
682 if (vif->p2p) { in iwl_mvm_mac_ctxt_cmd_sta()
724 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta()
807 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && in iwl_mvm_go_iterator()
818 * This flag should be set to true when the P2P Device is in iwl_mac_ctxt_p2p_dev_has_extended_disc()
819 * discoverable and there is at least another active P2P GO. Settings in iwl_mac_ctxt_p2p_dev_has_extended_disc()
820 * this flag will allow the P2P Device to be discoverable on other in iwl_mac_ctxt_p2p_dev_has_extended_disc()
[all …]
H A Dmld-mac.c112 if (vif->p2p) in iwl_mvm_mld_mac_ctxt_cmd_sta()
149 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mld_mac_ctxt_cmd_sta()
209 * needed to support both P2P device discovery using probe requests and in iwl_mvm_mld_mac_ctxt_cmd_p2p_device()
210 * P2P service discovery using action frames in iwl_mvm_mld_mac_ctxt_cmd_p2p_device()
/linux/drivers/net/wireless/ath/
H A Ddebug.c40 return "P2P-CLIENT"; in ath_opmode_to_string()
42 return "P2P-GO"; in ath_opmode_to_string()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac80211.c115 rtw89_debug(rtwdev, RTW89_DBG_STATE, "add vif %pM type %d, p2p %d\n", in rtw89_ops_add_interface()
116 vif->addr, vif->type, vif->p2p); in rtw89_ops_add_interface()
180 rtw89_debug(rtwdev, RTW89_DBG_STATE, "remove vif %pM type %d p2p %d\n", in rtw89_ops_remove_interface()
181 vif->addr, vif->type, vif->p2p); in rtw89_ops_remove_interface()
200 enum nl80211_iftype type, bool p2p) in rtw89_ops_change_interface() argument
207 rtw89_debug(rtwdev, RTW89_DBG_STATE, "change vif %pM (%d)->(%d), p2p (%d)->(%d)\n", in rtw89_ops_change_interface()
208 vif->addr, vif->type, type, vif->p2p, p2p); in rtw89_ops_change_interface()
213 vif->p2p = p2p; in rtw89_ops_change_interface()
281 * set by itself. However, during P2P scan might have configure in rtw89_ops_configure_filter()
783 if (vif != br_data->vif || vif->p2p) in rtw89_ra_mask_info_update_iter()
/linux/drivers/net/wireless/st/cw1200/
H A Dsta.c172 /* Skip the confimration procedure in P2P case */ in __cw1200_cqm_bssloss_sm()
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()
411 /* Disable p2p-dev mode forced by TX request */ in cw1200_config()
443 bool is_p2p = priv->vif && priv->vif->p2p; in cw1200_update_filtering()
485 /* When acting as p2p client being connected to p2p GO, in order to in cw1200_update_filtering()
486 * receive frames from a different p2p device, turn off bssid filter. in cw1200_update_filtering()
[all …]
/linux/drivers/net/wireless/ath/ath6kl/
H A Dinit.c510 if (ar->p2p && (ar->vif_max == 1 || idx)) { in ath6kl_target_config_wlan_params()
517 "failed to request P2P capabilities (%d) - assuming P2P not supported\n", 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()
524 /* Enable Probe Request reporting for P2P */ in ath6kl_target_config_wlan_params()
565 * vif[1] - "P2P dev"/"P2P GO"/"P2P Client" in ath6kl_configure_target()
566 * vif[2] - "P2P dev"/"P2P GO"/"P2P Client" in ath6kl_configure_target()
567 * Otherwise, All the interface are initialized to p2p dev. in ath6kl_configure_target()
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()
[all …]

1234567891011