Lines Matching refs:tid

138 	uint16_t tid;  in dp_peer_update_tid_stats_from_reo()  local
147 tid = DP_PEER_GET_REO_STATS_TID(comb_peer_id_tid); in dp_peer_update_tid_stats_from_reo()
152 rx_tid = &peer->rx_tid[tid]; in dp_peer_update_tid_stats_from_reo()
178 queue_status->header.status, rx_tid->tid); in dp_rx_tid_stats_cb()
199 rx_tid->tid, in dp_rx_tid_stats_cb()
274 rx_tid->tid); in dp_rx_tid_update_cb()
353 dp_rx_tid_update_wifi3(struct dp_peer *peer, int tid, uint32_t ba_window_size, in dp_rx_tid_update_wifi3() argument
356 struct dp_rx_tid *rx_tid = &peer->rx_tid[tid]; in dp_rx_tid_update_wifi3()
394 BIT(tid), ba_window_size); in dp_rx_tid_update_wifi3()
536 freedesc->rx_tid.tid); in dp_reo_desc_free()
540 rx_tid->tid); in dp_reo_desc_free()
584 int tid; in dp_rx_tid_setup_error_process() local
587 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_rx_tid_setup_error_process()
588 if (!(BIT(tid) & tid_bitmap)) in dp_rx_tid_setup_error_process()
591 rx_tid = &peer->rx_tid[tid]; in dp_rx_tid_setup_error_process()
609 dp_single_rx_tid_setup(struct dp_peer *peer, int tid, in dp_single_rx_tid_setup() argument
612 struct dp_rx_tid *rx_tid = &peer->rx_tid[tid]; in dp_single_rx_tid_setup()
643 ba_window_size, tid); in dp_single_rx_tid_setup()
657 soc, tid); in dp_single_rx_tid_setup()
673 soc, tid); in dp_single_rx_tid_setup()
715 hal_reo_qdesc_setup(soc->hal_soc, tid, ba_window_size, start_seq, in dp_single_rx_tid_setup()
735 soc, tid); in dp_single_rx_tid_setup()
744 dp_rx_tid_setup_error_process(1 << tid, peer); in dp_single_rx_tid_setup()
755 int tid; in dp_rx_tid_setup_wifi3() local
773 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_rx_tid_setup_wifi3()
774 if (!(BIT(tid) & tid_bitmap)) in dp_rx_tid_setup_wifi3()
777 rx_tid = &peer->rx_tid[tid]; in dp_rx_tid_setup_wifi3()
780 status = dp_rx_tid_update_wifi3(peer, tid, in dp_rx_tid_setup_wifi3()
786 dp_peer_err("Update tid %d fail", tid); in dp_rx_tid_setup_wifi3()
790 dp_peer_info("Update tid %d", tid); in dp_rx_tid_setup_wifi3()
791 tid_bitmap &= ~BIT(tid); in dp_rx_tid_setup_wifi3()
795 status = dp_single_rx_tid_setup(peer, tid, in dp_rx_tid_setup_wifi3()
799 tid, status); in dp_rx_tid_setup_wifi3()
800 tid_bitmap &= ~BIT(tid); in dp_rx_tid_setup_wifi3()
847 int tid; in dp_peer_rst_tids() local
849 for (tid = 0; tid < (DP_MAX_TIDS - 1); tid++) { in dp_peer_rst_tids()
850 struct dp_rx_tid *rx_tid = &peer->rx_tid[tid]; in dp_peer_rst_tids()
1005 freedesc->rx_tid.tid); in dp_rx_tid_delete_cb()
1009 soc, freedesc->rx_tid.tid, in dp_rx_tid_delete_cb()
1070 "tid %d desc %pK", rx_tid->tid, in dp_rx_tid_delete_cb()
1112 rx_tid->tid); in dp_rx_tid_delete_cb()
1130 static int dp_rx_tid_delete_wifi3(struct dp_peer *peer, int tid) in dp_rx_tid_delete_wifi3() argument
1132 struct dp_rx_tid *rx_tid = &peer->rx_tid[tid]; in dp_rx_tid_delete_wifi3()
1141 soc, tid); in dp_rx_tid_delete_wifi3()
1166 int tid; in dp_peer_setup_remaining_tids() local
1169 for (tid = 1; tid < DP_MAX_TIDS-1; tid++) in dp_peer_setup_remaining_tids()
1170 tid_bitmap |= BIT(tid); in dp_peer_setup_remaining_tids()
1190 int tid; in dp_peer_rx_tids_init() local
1195 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_peer_rx_tids_init()
1196 rx_tid_defrag = &peer->txrx_peer->rx_tid[tid]; in dp_peer_rx_tids_init()
1204 rx_tid_defrag->tid = tid; in dp_peer_rx_tids_init()
1215 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_peer_rx_tids_init()
1216 rx_tid = &peer->rx_tid[tid]; in dp_peer_rx_tids_init()
1217 rx_tid->tid = tid; in dp_peer_rx_tids_init()
1225 int tid; in dp_peer_rx_tids_init() local
1229 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_peer_rx_tids_init()
1230 rx_tid = &peer->rx_tid[tid]; in dp_peer_rx_tids_init()
1232 rx_tid_defrag = &peer->txrx_peer->rx_tid[tid]; in dp_peer_rx_tids_init()
1233 rx_tid->tid = tid; in dp_peer_rx_tids_init()
1239 rx_tid_defrag->tid = tid; in dp_peer_rx_tids_init()
1284 int tid; in dp_peer_rx_cleanup() local
1292 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_peer_rx_cleanup()
1293 struct dp_rx_tid *rx_tid = &peer->rx_tid[tid]; in dp_peer_rx_cleanup()
1295 &peer->txrx_peer->rx_tid[tid]; in dp_peer_rx_cleanup()
1300 dp_rx_defrag_waitlist_remove(peer->txrx_peer, tid); in dp_peer_rx_cleanup()
1301 dp_rx_reorder_flush_frag(peer->txrx_peer, tid); in dp_peer_rx_cleanup()
1306 if (peer->rx_tid[tid].hw_qdesc_vaddr_unaligned) { in dp_peer_rx_cleanup()
1307 dp_rx_tid_delete_wifi3(peer, tid); in dp_peer_rx_cleanup()
1309 tid_delete_mask |= (1 << tid); in dp_peer_rx_cleanup()
1340 int tid; in dp_teardown_256_ba_sessions() local
1343 tid = peer->vdev->pdev->soc->per_tid_basize_max_tid; in dp_teardown_256_ba_sessions()
1344 for (; tid < DP_MAX_TIDS; tid++) { in dp_teardown_256_ba_sessions()
1345 rx_tid = &peer->rx_tid[tid]; in dp_teardown_256_ba_sessions()
1368 tid, delba_rcode, in dp_teardown_256_ba_sessions()
1383 uint8_t tid, int status) in dp_addba_resp_tx_completion_wifi3() argument
1395 rx_tid = &peer->rx_tid[tid]; in dp_addba_resp_tx_completion_wifi3()
1400 dp_rx_tid_update_wifi3(peer, tid, 1, in dp_addba_resp_tx_completion_wifi3()
1404 dp_err("RxTid- %d addba rsp tx completion failed", tid); in dp_addba_resp_tx_completion_wifi3()
1413 cdp_soc, tid); in dp_addba_resp_tx_completion_wifi3()
1424 if (dp_rx_tid_update_wifi3(peer, tid, in dp_addba_resp_tx_completion_wifi3()
1432 tid, rx_tid->ba_win_size, in dp_addba_resp_tx_completion_wifi3()
1474 uint16_t vdev_id, uint8_t tid, in dp_addba_responsesetup_wifi3() argument
1488 rx_tid = &peer->rx_tid[tid]; in dp_addba_responsesetup_wifi3()
1514 uint16_t tid, in dp_check_ba_buffersize() argument
1521 max_ba_window = hal_get_rx_max_ba_window(soc->hal_soc, tid); in dp_check_ba_buffersize()
1529 soc->per_tid_basize_max_tid, tid, buffersize, in dp_check_ba_buffersize()
1532 rx_tid = &peer->rx_tid[tid]; in dp_check_ba_buffersize()
1534 tid < soc->per_tid_basize_max_tid) { in dp_check_ba_buffersize()
1576 uint8_t tid, uint16_t buffersize) in dp_rx_tid_update_ba_win_size() argument
1589 rx_tid = &peer->rx_tid[tid]; in dp_rx_tid_update_ba_win_size()
1596 QDF_MAC_ADDR_REF(peer->mac_addr.raw), tid, buffersize); in dp_rx_tid_update_ba_win_size()
1609 uint16_t tid, uint16_t batimeout, in dp_addba_requestprocess_wifi3() argument
1626 rx_tid = &peer->rx_tid[tid]; in dp_addba_requestprocess_wifi3()
1631 dp_rx_tid_update_wifi3(peer, tid, 1, IEEE80211_SEQ_MAX, false); in dp_addba_requestprocess_wifi3()
1635 cdp_soc, tid); in dp_addba_requestprocess_wifi3()
1659 dp_check_ba_buffersize(peer, tid, buffersize); in dp_addba_requestprocess_wifi3()
1661 if (dp_rx_tid_setup_wifi3(peer, BIT(tid), in dp_addba_requestprocess_wifi3()
1691 uint16_t vdev_id, uint8_t tid, uint16_t statuscode) in dp_set_addba_response() argument
1704 rx_tid = &peer->rx_tid[tid]; in dp_set_addba_response()
1714 uint16_t vdev_id, int tid, uint16_t reasoncode) in dp_delba_process_wifi3() argument
1727 rx_tid = &peer->rx_tid[tid]; in dp_delba_process_wifi3()
1741 dp_rx_tid_update_wifi3(peer, tid, 1, IEEE80211_SEQ_MAX, false); in dp_delba_process_wifi3()
1754 uint8_t tid, int status) in dp_delba_tx_completion_wifi3() argument
1767 rx_tid = &peer->rx_tid[tid]; in dp_delba_tx_completion_wifi3()
1783 peer->mac_addr.raw, tid, in dp_delba_tx_completion_wifi3()
1794 dp_rx_tid_update_wifi3(peer, tid, 1, IEEE80211_SEQ_MAX, false); in dp_delba_tx_completion_wifi3()
1799 dp_rx_tid_update_wifi3(peer, tid, 1, IEEE80211_SEQ_MAX, false); in dp_delba_tx_completion_wifi3()
1906 "tid %d desc %pK", rx_tid->tid, in dp_set_pn_check_wifi3()
1924 uint8_t tid, uint16_t win_sz) in dp_rx_delba_ind_handler() argument
1939 qdf_assert_always(tid < DP_MAX_TIDS); in dp_rx_delba_ind_handler()
1941 rx_tid = &peer->rx_tid[tid]; in dp_rx_delba_ind_handler()
1946 soc, peer_id, tid, win_sz); in dp_rx_delba_ind_handler()
1965 tid, in dp_rx_delba_ind_handler()
1971 soc, tid); in dp_rx_delba_ind_handler()
2199 rx_tid->tid); in dp_send_cache_flush_for_rx_tid()