Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
1880 u16 peer_id, in ath10k_htt_rx_h_frag_pn_check() argument
1890 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_rx_h_frag_pn_check()
1929 u16 peer_id, in ath10k_htt_rx_h_mpdu() argument
2061 peer_id, in ath10k_htt_rx_h_mpdu()
2472 u16 peer_id; in ath10k_htt_rx_proc_rx_ind_hl() local
2480 peer_id = __le16_to_cpu(rx->hdr.peer_id); in ath10k_htt_rx_proc_rx_ind_hl()
2484 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,
Dcore.h527 u16 peer_id; member
574 u16 peer_id; member
989 u16 peer_id; member
Ddebugfs_sta.c48 void ath10k_sta_update_rx_tid_stats_ampdu(struct ath10k *ar, u16 peer_id, u8 tid, in ath10k_sta_update_rx_tid_stats_ampdu() argument
62 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_sta_update_rx_tid_stats_ampdu()
/linux-6.1.9/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
40 void ath11k_peer_unmap_event(struct ath11k_base *ab, u16 peer_id);
41 void ath11k_peer_map_event(struct ath11k_base *ab, u8 vdev_id, u16 peer_id,
47 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 …]
Dhal_tx.h62 u16 peer_id; member
Ddp_tx.c431 peer = ath11k_peer_find_by_id(ab, ts->peer_id); in ath11k_dp_tx_update_txcompl()
434 "failed to find the peer by id %u\n", ts->peer_id); in ath11k_dp_tx_update_txcompl()
590 peer = ath11k_peer_find_by_id(ab, ts->peer_id); in ath11k_dp_tx_complete_msdu()
594 ts->peer_id); in ath11k_dp_tx_complete_msdu()
639 ts->peer_id = FIELD_GET(HAL_WBM_RELEASE_INFO3_PEER_ID, desc->info3); in ath11k_dp_tx_status_parse()
Dhw.c796 u16 peer_id = 0; in ath11k_hw_ipq8074_mpdu_info_get_peerid() local
800 peer_id = FIELD_GET(HAL_RX_MPDU_INFO_INFO0_PEERID, in ath11k_hw_ipq8074_mpdu_info_get_peerid()
803 return peer_id; in ath11k_hw_ipq8074_mpdu_info_get_peerid()
808 u16 peer_id = 0; in ath11k_hw_wcn6855_mpdu_info_get_peerid() local
812 peer_id = FIELD_GET(HAL_RX_MPDU_INFO_INFO0_PEERID_WCN6855, in ath11k_hw_wcn6855_mpdu_info_get_peerid()
814 return peer_id; in ath11k_hw_wcn6855_mpdu_info_get_peerid()
Dhal_rx.c1462 u16 peer_id; in ath11k_hal_rx_parse_mon_status_tlv() local
1464 peer_id = ab->hw_params.hw_ops->mpdu_info_get_peerid(tlv_data); in ath11k_hal_rx_parse_mon_status_tlv()
1465 if (peer_id) in ath11k_hal_rx_parse_mon_status_tlv()
1466 ppdu_info->peer_id = peer_id; in ath11k_hal_rx_parse_mon_status_tlv()
Dhal_rx.h135 u16 peer_id; member
/linux-6.1.9/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,
Dlink.c501 u32 peer, u8 *peer_id, u16 peer_caps, in tipc_link_create() argument
519 if (peer_id) { in tipc_link_create()
523 tipc_nodeid2string(peer_str, peer_id); in tipc_link_create()
577 bool tipc_link_bc_create(struct net *net, u32 ownnode, u32 peer, u8 *peer_id, in tipc_link_bc_create() argument
592 if (peer_id) { in tipc_link_bc_create()
595 tipc_nodeid2string(peer_str, peer_id); in tipc_link_bc_create()
/linux-6.1.9/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.1.9/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
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_mgmt.h384 u8 peer_id; member

12