Home
last modified time | relevance | path

Searched refs:peer_id (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dtxrx.c169 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) in ath10k_peer_find_by_id() argument
173 if (peer_id >= BITS_PER_TYPE(peer->peer_ids)) in ath10k_peer_find_by_id()
179 if (test_bit(peer_id, peer->peer_ids)) in ath10k_peer_find_by_id()
223 if (ev->peer_id >= ATH10K_MAX_NUM_PEER_IDS) { in ath10k_peer_map_event()
226 ev->peer_id); in ath10k_peer_map_event()
244 ev->vdev_id, ev->addr, ev->peer_id); in ath10k_peer_map_event()
246 WARN_ON(ar->peer_map[ev->peer_id] && (ar->peer_map[ev->peer_id] != peer)); in ath10k_peer_map_event()
247 ar->peer_map[ev->peer_id] = peer; in ath10k_peer_map_event()
248 set_bit(ev->peer_id, peer->peer_ids); in ath10k_peer_map_event()
259 if (ev->peer_id >= ATH10K_MAX_NUM_PEER_IDS) { in ath10k_peer_unmap_event()
[all …]
Dhtt_rx.c1114 u16 peer_id; in ath10k_htt_rx_h_peer_channel() local
1133 peer_id = MS(__le32_to_cpu(rxd_mpdu_start->info0), in ath10k_htt_rx_h_peer_channel()
1136 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_rx_h_peer_channel()
1878 u16 peer_id, in ath10k_htt_rx_h_frag_pn_check() argument
1887 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_rx_h_frag_pn_check()
1926 u16 peer_id, in ath10k_htt_rx_h_mpdu() argument
2058 peer_id, in ath10k_htt_rx_h_mpdu()
2467 u16 peer_id; in ath10k_htt_rx_proc_rx_ind_hl() local
2475 peer_id = __le16_to_cpu(rx->hdr.peer_id); in ath10k_htt_rx_proc_rx_ind_hl()
2479 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_rx_proc_rx_ind_hl()
[all …]
Dhtt.h592 __le16 peer_id; member
791 __le16 peer_id; member
801 __le16 peer_id; member
809 __le16 peer_id; member
859 __le16 peer_id; member
1027 __le16 peer_id; member
1043 __le16 peer_id; member
1067 __le16 peer_id; member
1078 __le16 peer_id; member
1106 __le16 peer_id; member
[all …]
Dtxrx.h16 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id);
Ddebug.h224 u16 peer_id, u8 tid,
247 u16 peer_id, u8 tid, in ath10k_sta_update_rx_tid_stats_ampdu() argument
Dhtt_tx.c47 u16 peer_id; in __ath10k_htt_tx_txq_recalc() local
61 peer_id = arsta->peer_id; in __ath10k_htt_tx_txq_recalc()
63 peer_id = arvif->peer_id; in __ath10k_htt_tx_txq_recalc()
67 bit = BIT(peer_id % 32); in __ath10k_htt_tx_txq_recalc()
68 idx = peer_id / 32; in __ath10k_htt_tx_txq_recalc()
73 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in __ath10k_htt_tx_txq_recalc()
76 peer_id, tid); in __ath10k_htt_tx_txq_recalc()
80 ar->htt.tx_q_state.vaddr->count[tid][peer_id] = count; in __ath10k_htt_tx_txq_recalc()
85 peer_id, tid, count); in __ath10k_htt_tx_txq_recalc()
Dmac.h71 u16 peer_id,
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dpeer.c12 int peer_id) in ath11k_peer_find_list_by_id() argument
19 if (peer->peer_id != peer_id) in ath11k_peer_find_list_by_id()
64 int peer_id) in ath11k_peer_find_by_id() argument
73 peer = rhashtable_lookup_fast(ab->rhead_peer_id, &peer_id, in ath11k_peer_find_by_id()
96 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id) in ath11k_peer_unmap_event() argument
102 peer = ath11k_peer_find_list_by_id(ab, peer_id); in ath11k_peer_unmap_event()
105 peer_id); in ath11k_peer_unmap_event()
110 peer->vdev_id, peer->addr, peer_id); in ath11k_peer_unmap_event()
120 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id, in ath11k_peer_map_event() argument
133 peer->peer_id = peer_id; in ath11k_peer_map_event()
[all …]
Dpeer.h15 int peer_id; member
41 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id);
42 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id,
48 struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id);
Ddp_rx.c1234 u16 peer_id) in ath11k_get_ppdu_user_index() argument
1240 if (peer_id == ppdu_stats->user_stats[i].peer_id) in ath11k_get_ppdu_user_index()
1257 u16 peer_id; in ath11k_htt_tlv_ppdu_stats_parse() local
1278 peer_id = ((struct htt_ppdu_stats_user_rate *)ptr)->sw_peer_id; in ath11k_htt_tlv_ppdu_stats_parse()
1280 peer_id); in ath11k_htt_tlv_ppdu_stats_parse()
1284 user_stats->peer_id = peer_id; in ath11k_htt_tlv_ppdu_stats_parse()
1297 peer_id = ((struct htt_ppdu_stats_usr_cmpltn_cmn *)ptr)->sw_peer_id; in ath11k_htt_tlv_ppdu_stats_parse()
1299 peer_id); in ath11k_htt_tlv_ppdu_stats_parse()
1303 user_stats->peer_id = peer_id; in ath11k_htt_tlv_ppdu_stats_parse()
1317 peer_id = in ath11k_htt_tlv_ppdu_stats_parse()
[all …]
Ddp_tx.c366 peer = ath11k_peer_find_by_id(ab, ts->peer_id); in ath11k_dp_tx_htt_tx_complete_buf()
370 ts->peer_id); in ath11k_dp_tx_htt_tx_complete_buf()
407 ts.peer_id = FIELD_GET(HTT_TX_WBM_COMP_INFO2_SW_PEER_ID, in ath11k_dp_tx_process_htt_tx_complete()
410 ts.peer_id = HTT_INVALID_PEER_ID; in ath11k_dp_tx_process_htt_tx_complete()
462 peer = ath11k_peer_find_by_id(ab, ts->peer_id); in ath11k_dp_tx_update_txcompl()
465 "failed to find the peer by id %u\n", ts->peer_id); in ath11k_dp_tx_update_txcompl()
621 peer = ath11k_peer_find_by_id(ab, ts->peer_id); in ath11k_dp_tx_complete_msdu()
625 ts->peer_id); in ath11k_dp_tx_complete_msdu()
670 ts->peer_id = FIELD_GET(HAL_WBM_RELEASE_INFO3_PEER_ID, desc->info3); in ath11k_dp_tx_status_parse()
Ddp_tx.h16 u16 peer_id; member
Dhal_tx.h62 u16 peer_id; member
Dhw.c844 u16 peer_id = 0; in ath11k_hw_ipq8074_mpdu_info_get_peerid() local
846 peer_id = FIELD_GET(HAL_RX_MPDU_INFO_INFO0_PEERID, in ath11k_hw_ipq8074_mpdu_info_get_peerid()
849 return peer_id; in ath11k_hw_ipq8074_mpdu_info_get_peerid()
855 u16 peer_id = 0; in ath11k_hw_qcn9074_mpdu_info_get_peerid() local
857 peer_id = FIELD_GET(HAL_RX_MPDU_INFO_INFO0_PEERID, in ath11k_hw_qcn9074_mpdu_info_get_peerid()
860 return peer_id; in ath11k_hw_qcn9074_mpdu_info_get_peerid()
866 u16 peer_id = 0; in ath11k_hw_wcn6855_mpdu_info_get_peerid() local
868 peer_id = FIELD_GET(HAL_RX_MPDU_INFO_INFO0_PEERID_WCN6855, in ath11k_hw_wcn6855_mpdu_info_get_peerid()
870 return peer_id; in ath11k_hw_wcn6855_mpdu_info_get_peerid()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dpeer.c67 int peer_id) in ath12k_peer_find_by_id() argument
74 if (peer_id == peer->peer_id) in ath12k_peer_find_by_id()
110 void ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id) in ath12k_peer_unmap_event() argument
116 peer = ath12k_peer_find_by_id(ab, peer_id); in ath12k_peer_unmap_event()
119 peer_id); in ath12k_peer_unmap_event()
124 peer->vdev_id, peer->addr, peer_id); in ath12k_peer_unmap_event()
134 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, in ath12k_peer_map_event() argument
147 peer->peer_id = peer_id; in ath12k_peer_map_event()
156 vdev_id, mac_addr, peer_id); in ath12k_peer_map_event()
Dpeer.h27 int peer_id; member
52 void ath12k_peer_unmap_event(struct ath12k_base *ab, u16 peer_id);
53 void ath12k_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id,
59 struct ath12k_peer *ath12k_peer_find_by_id(struct ath12k_base *ab, int peer_id);
Ddp_rx.c751 static void ath12k_peer_rx_tid_qref_setup(struct ath12k_base *ab, u16 peer_id, u16 tid, in ath12k_peer_rx_tid_qref_setup() argument
764 (peer_id * (IEEE80211_NUM_TIDS + 1) + tid); in ath12k_peer_rx_tid_qref_setup()
773 static void ath12k_peer_rx_tid_qref_reset(struct ath12k_base *ab, u16 peer_id, u16 tid) in ath12k_peer_rx_tid_qref_reset() argument
785 (peer_id * (IEEE80211_NUM_TIDS + 1) + tid); in ath12k_peer_rx_tid_qref_reset()
818 ath12k_peer_rx_tid_qref_reset(ar->ab, peer->peer_id, tid); in ath12k_dp_rx_peer_tid_delete()
962 if (peer->peer_id > DP_MAX_PEER_ID || tid > IEEE80211_NUM_TIDS) { in ath12k_dp_rx_peer_tid_setup()
964 peer->peer_id, tid); in ath12k_dp_rx_peer_tid_setup()
1037 ath12k_peer_rx_tid_qref_setup(ab, peer->peer_id, tid, paddr); in ath12k_dp_rx_peer_tid_setup()
1181 u16 peer_id) in ath12k_get_ppdu_user_index() argument
1187 if (peer_id == ppdu_stats->user_stats[i].peer_id) in ath12k_get_ppdu_user_index()
[all …]
Ddp_mon.c776 u16 peer_id; in ath12k_dp_mon_rx_parse_status_tlv() local
779 peer_id = u32_get_bits(info[1], HAL_RX_MPDU_START_INFO1_PEERID); in ath12k_dp_mon_rx_parse_status_tlv()
780 if (peer_id) in ath12k_dp_mon_rx_parse_status_tlv()
781 ppdu_info->peer_id = peer_id; in ath12k_dp_mon_rx_parse_status_tlv()
2083 ppdu_info->peer_id = HAL_INVALID_PEERID; in ath12k_dp_mon_srng_process()
2142 peer = ath12k_peer_find_by_id(ab, ppdu_info->peer_id); in ath12k_dp_mon_srng_process()
2147 ppdu_info->peer_id); in ath12k_dp_mon_srng_process()
2535 if (ppdu_info->peer_id == HAL_INVALID_PEERID || in ath12k_dp_mon_rx_process_stats()
2543 peer = ath12k_peer_find_by_id(ab, ppdu_info->peer_id); in ath12k_dp_mon_rx_process_stats()
2547 ppdu_info->peer_id); in ath12k_dp_mon_rx_process_stats()
[all …]
Dhal_tx.h65 u16 peer_id; member
/linux-6.6.21/net/tipc/
Ddiscover.c146 u8 *peer_id, in tipc_disc_addr_trial_msg() argument
180 sugg_addr = tipc_node_try_addr(net, peer_id, src); in tipc_disc_addr_trial_msg()
203 u8 peer_id[NODE_ID_LEN] = {0,}; in tipc_disc_rcv() local
221 memcpy(peer_id, msg_node_id(hdr), NODE_ID_LEN); in tipc_disc_rcv()
223 sprintf(peer_id, "%x", src); in tipc_disc_rcv()
237 src, sugg, peer_id, mtyp)) in tipc_disc_rcv()
250 tipc_node_check_dest(net, src, peer_id, b, caps, signature, pnet_hash, in tipc_disc_rcv()
Dlink.h77 u32 peer, u8 *peer_id, u16 peer_caps,
83 bool tipc_link_bc_create(struct net *net, u32 ownnode, u32 peer, u8 *peer_id,
Dnode.c137 u8 peer_id[16]; member
248 memcpy(id, &n->peer_id, TIPC_NODEID_LEN); in tipc_node_get_id()
363 if (!memcmp(id, n->peer_id, 16) && in tipc_node_find_by_id()
459 if (memcmp(n->peer_id, tn_peer->node_id, NODE_ID_LEN)) in tipc_node_assign_peer_net()
470 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id, in tipc_node_create() argument
483 tipc_node_find_by_id(net, peer_id); in tipc_node_create()
491 if (!tipc_link_bc_create(net, tipc_own_addr(net), addr, peer_id, U16_MAX, in tipc_node_create()
545 tipc_nodeid2string(n->peer_id_string, peer_id); in tipc_node_create()
556 memcpy(&n->peer_id, peer_id, 16); in tipc_node_create()
581 !tipc_link_bc_create(net, tipc_own_addr(net), addr, peer_id, U16_MAX, in tipc_node_create()
[all …]
Dnode.h83 struct tipc_node *tipc_node_create(struct net *net, u32 addr, u8 *peer_id,
/linux-6.6.21/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c864 ev.payload.peer_id = context_id; in qp_notify_peer_local()
1454 u32 peer_id) in qp_notify_peer() argument
1460 peer_id == VMCI_INVALID_ID) in qp_notify_peer()
1472 ev.msg.hdr.dst = vmci_make_handle(peer_id, VMCI_EVENT_HANDLER); in qp_notify_peer()
1479 ev.payload.peer_id = my_id; in qp_notify_peer()
1485 attach ? "ATTACH" : "DETACH", peer_id); in qp_notify_peer()
2086 u32 peer_id; in vmci_qp_broker_detach() local
2118 peer_id = entry->attach_id; in vmci_qp_broker_detach()
2121 peer_id = entry->create_id; in vmci_qp_broker_detach()
2188 qp_notify_peer(false, handle, context_id, peer_id); in vmci_qp_broker_detach()
/linux-6.6.21/include/linux/
Dvmw_vmci_defs.h550 u32 peer_id; /* Context id of attaching/detaching VM. */ member
695 u32 peer_id; /* Context id of attaching/detaching VM. */ member

12