Lines Matching refs:peer_id
1114 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()
2486 if (!peer && peer_id != HTT_INVALID_PEERID) in ath10k_htt_rx_proc_rx_ind_hl()
2487 ath10k_warn(ar, "Got RX ind from invalid peer: %u\n", peer_id); in ath10k_htt_rx_proc_rx_ind_hl()
2772 u16 peer_id, sc, hdr_space; in ath10k_htt_rx_proc_rx_frag_ind_hl() local
2784 peer_id = __le16_to_cpu(rx->peer_id); in ath10k_htt_rx_proc_rx_frag_ind_hl()
2788 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_rx_proc_rx_frag_ind_hl()
2790 ath10k_dbg(ar, ATH10K_DBG_HTT, "invalid peer: %u\n", peer_id); in ath10k_htt_rx_proc_rx_frag_ind_hl()
2925 u16 peer_id; in ath10k_htt_rx_proc_rx_ind_ll() local
2930 peer_id = __le16_to_cpu(rx->hdr.peer_id); in ath10k_htt_rx_proc_rx_ind_ll()
2943 ath10k_sta_update_rx_tid_stats_ampdu(ar, peer_id, tid, mpdu_ranges, in ath10k_htt_rx_proc_rx_ind_ll()
2960 u16 ppdu_info_offset = 0, peer_id; in ath10k_htt_rx_tx_compl_ind() local
3050 peer_id = FIELD_GET(HTT_TX_PPDU_DUR_INFO0_PEER_ID_MASK, in ath10k_htt_rx_tx_compl_ind()
3055 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_rx_tx_compl_ind()
3078 u16 info0, tid, peer_id; in ath10k_htt_rx_addba() local
3082 peer_id = MS(info0, HTT_RX_BA_INFO0_PEER_ID); in ath10k_htt_rx_addba()
3086 tid, peer_id, ev->window_size); in ath10k_htt_rx_addba()
3089 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_rx_addba()
3092 peer_id); in ath10k_htt_rx_addba()
3118 u16 info0, tid, peer_id; in ath10k_htt_rx_delba() local
3122 peer_id = MS(info0, HTT_RX_BA_INFO0_PEER_ID); in ath10k_htt_rx_delba()
3126 tid, peer_id); in ath10k_htt_rx_delba()
3129 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_rx_delba()
3132 peer_id); in ath10k_htt_rx_delba()
3270 u16 peer_id; in ath10k_htt_rx_in_ord_ind() local
3286 peer_id = __le16_to_cpu(resp->rx_in_ord_ind.peer_id); in ath10k_htt_rx_in_ord_ind()
3296 vdev_id, peer_id, tid, offload, frag, msdu_count); in ath10k_htt_rx_in_ord_ind()
3340 NULL, peer_id, frag); in ath10k_htt_rx_in_ord_ind()
3390 u16 peer_id; in ath10k_htt_rx_tx_fetch_ind() local
3433 peer_id = MS(le16_to_cpu(record->info), in ath10k_htt_rx_tx_fetch_ind()
3441 i, peer_id, tid, max_num_msdus, max_num_bytes); in ath10k_htt_rx_tx_fetch_ind()
3443 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in ath10k_htt_rx_tx_fetch_ind()
3446 peer_id, tid); in ath10k_htt_rx_tx_fetch_ind()
3451 txq = ath10k_mac_txq_lookup(ar, peer_id, tid); in ath10k_htt_rx_tx_fetch_ind()
3460 peer_id, tid); in ath10k_htt_rx_tx_fetch_ind()
3551 u16 peer_id; in ath10k_htt_rx_tx_mode_switch_ind() local
3604 peer_id = MS(info0, HTT_TX_MODE_SWITCH_RECORD_INFO0_PEER_ID); in ath10k_htt_rx_tx_mode_switch_ind()
3607 if (unlikely(peer_id >= ar->htt.tx_q_state.num_peers) || in ath10k_htt_rx_tx_mode_switch_ind()
3610 peer_id, tid); in ath10k_htt_rx_tx_mode_switch_ind()
3615 txq = ath10k_mac_txq_lookup(ar, peer_id, tid); in ath10k_htt_rx_tx_mode_switch_ind()
3624 peer_id, tid); in ath10k_htt_rx_tx_mode_switch_ind()
3927 int peer_id, i; in ath10k_htt_fetch_peer_stats() local
3940 peer_id = __le16_to_cpu(tx_stats->peer_id); in ath10k_htt_fetch_peer_stats()
3944 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_htt_fetch_peer_stats()
3947 peer_id); in ath10k_htt_fetch_peer_stats()
3983 u32 peer_id = 0, i; in ath10k_fetch_10_2_tx_stats() local
3994 peer_id = tx_stats->peer_id; in ath10k_fetch_10_2_tx_stats()
3998 peer = ath10k_peer_find_by_id(ar, peer_id); in ath10k_fetch_10_2_tx_stats()
4001 peer_id); in ath10k_fetch_10_2_tx_stats()
4052 peer = ath10k_peer_find_by_id(ar, __le16_to_cpu(ev->peer_id)); in ath10k_htt_rx_sec_ind_handler()
4055 __le16_to_cpu(ev->peer_id)); in ath10k_htt_rx_sec_ind_handler()
4114 .peer_id = __le16_to_cpu(resp->peer_map.peer_id), in ath10k_htt_t2h_msg_handler()
4122 .peer_id = __le16_to_cpu(resp->peer_unmap.peer_id), in ath10k_htt_t2h_msg_handler()
4181 __le16_to_cpu(ev->peer_id), in ath10k_htt_t2h_msg_handler()