/wlan-driver/qcacld-3.0/core/dp/txrx/ |
D | ol_rx_reorder.c | 64 #define OL_RX_REORDER_IDX_START_SELF_SELECT(peer, tid, idx_start) /* no-op */ argument 85 void ol_rx_reorder_init(struct ol_rx_reorder_t *rx_reorder, uint8_t tid) in ol_rx_reorder_init() argument 91 rx_reorder->tid = tid; in ol_rx_reorder_init() 102 unsigned int tid, unsigned int seq_num) in ol_rx_reorder_seq_num_check() argument 108 if (peer->tids_last_seq[tid] == IEEE80211_SEQ_MAX) in ol_rx_reorder_seq_num_check() 122 seq_num_delta = (seq_num - 1 - peer->tids_last_seq[tid]) & in ol_rx_reorder_seq_num_check() 159 uint8_t tid, in ol_rx_seq_num_check() argument 170 if (qdf_unlikely(OL_RX_MCAST_TID == tid)) { in ol_rx_seq_num_check() 210 return ol_rx_reorder_seq_num_check(pdev, peer, tid, seq_num); in ol_rx_seq_num_check() 217 unsigned int tid, in ol_rx_reorder_store() argument [all …]
|
D | ol_rx_reorder_timeout.c | 32 void ol_rx_reorder_timeout_remove(struct ol_txrx_peer_t *peer, unsigned int tid) in ol_rx_reorder_timeout_remove() argument 40 ac = TXRX_TID_TO_WMM_AC(tid); in ol_rx_reorder_timeout_remove() 42 list_elem = &peer->tids_rx_reorder[tid].timeout; in ol_rx_reorder_timeout_remove() 66 ol_rx_reorder_timeout_add(struct ol_txrx_peer_t *peer, uint8_t tid) in ol_rx_reorder_timeout_add() argument 76 ac = TXRX_TID_TO_WMM_AC(tid); in ol_rx_reorder_timeout_add() 78 list_elem = &peer->tids_rx_reorder[tid].timeout; in ol_rx_reorder_timeout_add() 82 list_elem->tid = tid; in ol_rx_reorder_timeout_add() 97 void ol_rx_reorder_timeout_update(struct ol_txrx_peer_t *peer, uint8_t tid) in ol_rx_reorder_timeout_update() argument 106 if (peer->tids_rx_reorder[tid].num_mpdus == 0) in ol_rx_reorder_timeout_update() 113 if (peer->tids_rx_reorder[tid].timeout.active) in ol_rx_reorder_timeout_update() [all …]
|
D | ol_rx_reorder.h | 31 unsigned int tid, 38 unsigned int tid, 44 unsigned int tid, 59 unsigned int tid, unsigned int *idx_end); 65 void ol_rx_reorder_init(struct ol_rx_reorder_t *rx_reorder, uint8_t tid); 70 uint8_t tid, void *rx_mpdu_desc); 77 #define OL_RX_SEQ_NUM_CHECK(pdev, peer, tid, rx_mpdu_desc) \ argument 78 (pdev->rx.flags.dup_check && peer->tids_rx_reorder[tid].win_sz_mask == \ 79 0) ? ol_rx_seq_num_check(pdev, peer, tid, rx_mpdu_desc) : \
|
D | ol_rx_pn.c | 87 unsigned int tid, qdf_nbuf_t msdu_list, bool strict_chk) in ol_rx_pn_check_base() argument 114 last_pn_valid = peer->tids_last_pn_valid[tid]; in ol_rx_pn_check_base() 115 last_pn = &peer->tids_last_pn[tid]; in ol_rx_pn_check_base() 148 last_pn_valid = peer->tids_last_pn_valid[tid] = 1; in ol_rx_pn_check_base() 174 tid, peer, in ol_rx_pn_check_base() 191 tid, peer, in ol_rx_pn_check_base() 206 vdev->vdev_id, peer->mac_addr.raw, tid, in ol_rx_pn_check_base() 239 (peer->tids_rekey_flag[tid] == 1) && in ol_rx_pn_check_base() 241 peer->tids_rekey_flag[tid] = 0; in ol_rx_pn_check_base() 245 OL_RX_PN_TRACE_ADD(pdev, peer, tid, rx_desc); in ol_rx_pn_check_base() [all …]
|
D | ol_tx_classify.c | 130 A_UINT8 ipPri, tid; in ol_tx_tid_by_ipv4() local 134 tid = ipPri & 0x7; in ol_tx_tid_by_ipv4() 136 return tid; in ol_tx_tid_by_ipv4() 224 A_UINT8 tid; in ol_tx_tid_by_ether_type() local 233 tid = ol_tx_tid_by_ipv4(l3_data_ptr); in ol_tx_tid_by_ether_type() 235 tid = ol_tx_tid_by_ipv6(l3_data_ptr); in ol_tx_tid_by_ether_type() 238 tid = TX_EAPOL_TID; in ol_tx_tid_by_ether_type() 240 tid = TX_ARP_TID; in ol_tx_tid_by_ether_type() 243 tid = TX_DEFAULT_TID; in ol_tx_tid_by_ether_type() 245 return tid; in ol_tx_tid_by_ether_type() [all …]
|
D | ol_rx_reorder_timeout.h | 28 unsigned int tid); 29 void ol_rx_reorder_timeout_update(struct ol_txrx_peer_t *peer, uint8_t tid); 37 #define OL_RX_REORDER_TIMEOUT_PEER_TID_INIT(peer, tid) \ argument 38 (peer)->tids_rx_reorder[(tid)].timeout.active = 0 49 #define OL_RX_REORDER_TIMEOUT_REMOVE(peer, tid) /* no-op */ argument 50 #define OL_RX_REORDER_TIMEOUT_UPDATE(peer, tid) /* no-op */ argument 51 #define OL_RX_REORDER_TIMEOUT_PEER_TID_INIT(peer, tid) /* no-op */ argument
|
D | ol_rx.h | 29 struct ol_txrx_peer_t *peer, unsigned int tid, 34 struct ol_txrx_peer_t *peer, unsigned int tid, in ol_rx_deliver() argument 42 struct ol_txrx_peer_t *peer, unsigned int tid, 63 uint8_t *peer_mac_addr, int tid, uint32_t tsf32, 91 unsigned int tid, qdf_nbuf_t head_msdu); 96 unsigned int tid, qdf_nbuf_t head_msdu) in ol_rx_in_order_deliver() argument 113 u_int8_t tid,
|
D | ol_rx_defrag.c | 307 uint16_t peer_id, uint8_t tid) in ol_rx_frag_indication_handler() argument 320 if (tid >= OL_TXRX_NUM_EXT_TIDS) { in ol_rx_frag_indication_handler() 321 ol_txrx_err("Invalid tid: %u", tid); in ol_rx_frag_indication_handler() 338 ol_rx_reorder_flush_frag(htt_pdev, peer, tid, seq_num_start); in ol_rx_frag_indication_handler() 375 ol_rx_reorder_store_frag(pdev, peer, tid, seq_num, head_msdu); in ol_rx_frag_indication_handler() 400 unsigned int tid, uint16_t seq_num) in ol_rx_reorder_flush_frag() argument 405 seq = seq_num & peer->tids_rx_reorder[tid].win_sz_mask; in ol_rx_reorder_flush_frag() 406 rx_reorder_array_elem = &peer->tids_rx_reorder[tid].array[seq]; in ol_rx_reorder_flush_frag() 420 unsigned int tid, uint16_t seq_num, qdf_nbuf_t frag) in ol_rx_reorder_store_frag() argument 430 seq = seq_num & peer->tids_rx_reorder[tid].win_sz_mask; in ol_rx_reorder_store_frag() [all …]
|
D | ol_rx.c | 407 uint8_t tid, in process_reorder() argument 421 OL_RX_REORDER_TRACE_ADD(pdev, tid, in process_reorder() 446 tid, in process_reorder() 475 ol_rx_reorder_store(pdev, peer, tid, in process_reorder() 477 if (peer->tids_rx_reorder[tid].win_sz_mask == 0) { in process_reorder() 478 peer->tids_last_seq[tid] = htt_rx_mpdu_desc_seq_num( in process_reorder() 518 uint16_t peer_id, uint8_t tid, int num_mpdu_ranges) in ol_rx_indication_handler() argument 559 if (tid == HTT_INVALID_TID) { in ol_rx_indication_handler() 568 if (tid >= OL_TXRX_NUM_EXT_TIDS) { in ol_rx_indication_handler() 569 ol_txrx_err("invalid tid, %u", tid); in ol_rx_indication_handler() [all …]
|
D | ol_tx_queue.c | 360 int tid, bool is_peer_txq) in ol_tx_queue_free() argument 373 notify_ctx.info.ext_tid = tid; in ol_tx_queue_free() 383 ol_tx_queue_log_free(pdev, txq, tid, frms, bytes, is_peer_txq); in ol_tx_queue_free() 385 ol_tx_queue_log_free(pdev, txq, tid, frms, bytes, is_peer_txq); in ol_tx_queue_free() 417 int tid) in ol_txrx_peer_tid_pause_base() argument 419 struct ol_tx_frms_queue_t *txq = &peer->txqs[tid]; in ol_txrx_peer_tid_pause_base() 426 notify_ctx.info.ext_tid = tid; in ol_txrx_peer_tid_pause_base() 484 int tid) in ol_txrx_peer_tid_unpause_base() argument 486 struct ol_tx_frms_queue_t *txq = &peer->txqs[tid]; in ol_txrx_peer_tid_unpause_base() 501 notify_ctx.info.ext_tid = tid; in ol_txrx_peer_tid_unpause_base() [all …]
|
D | ol_tx_sched.c | 164 int tid; member 250 int tid, in ol_tx_sched_txq_enqueue_rr() argument 257 txq_queue = &scheduler->tx_active_queues_in_tid_array[tid]; in ol_tx_sched_txq_enqueue_rr() 276 int tid) in ol_tx_sched_txq_deactivate_rr() argument 281 txq_queue = &scheduler->tx_active_queues_in_tid_array[tid]; in ol_tx_sched_txq_deactivate_rr() 295 ol_tx_sched_category_tx_queues_rr(struct ol_txrx_pdev_t *pdev, int tid) in ol_tx_sched_category_tx_queues_rr() argument 300 txq_queue = &scheduler->tx_active_queues_in_tid_array[tid]; in ol_tx_sched_category_tx_queues_rr() 308 u_int8_t i, tid = 0; in ol_tx_sched_discard_select_category_rr() local 325 tid = i; in ol_tx_sched_discard_select_category_rr() 328 return tid; in ol_tx_sched_discard_select_category_rr() [all …]
|
D | ol_rx_defrag.h | 58 void ol_rx_defrag_waitlist_add(struct ol_txrx_peer_t *peer, unsigned int tid); 61 unsigned int tid); 67 struct ol_txrx_peer_t *peer, unsigned int tid, 103 unsigned int tid, uint16_t seq_num, qdf_nbuf_t frag); 118 unsigned int tid, uint16_t seq_num);
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/ |
D | dp_rx_tid.c | 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() [all …]
|
D | dp_rx_defrag.c | 101 unsigned int tid) in dp_rx_clear_saved_desc_info() argument 103 if (txrx_peer->rx_tid[tid].dst_ring_desc) in dp_rx_clear_saved_desc_info() 104 qdf_mem_free(txrx_peer->rx_tid[tid].dst_ring_desc); in dp_rx_clear_saved_desc_info() 106 txrx_peer->rx_tid[tid].dst_ring_desc = NULL; in dp_rx_clear_saved_desc_info() 107 txrx_peer->rx_tid[tid].head_frag_desc = NULL; in dp_rx_clear_saved_desc_info() 111 unsigned int tid) in dp_rx_return_head_frag_desc() argument 124 if (txrx_peer->rx_tid[tid].head_frag_desc) { in dp_rx_return_head_frag_desc() 125 pool_id = txrx_peer->rx_tid[tid].head_frag_desc->pool_id; in dp_rx_return_head_frag_desc() 130 txrx_peer->rx_tid[tid].head_frag_desc); in dp_rx_return_head_frag_desc() 135 if (txrx_peer->rx_tid[tid].dst_ring_desc) { in dp_rx_return_head_frag_desc() [all …]
|
D | dp_rx_tid.h | 69 QDF_STATUS dp_rx_tid_update_wifi3(struct dp_peer *peer, int tid, 109 uint8_t tid, int status); 124 uint16_t vdev_id, uint8_t tid, 140 uint8_t tid, uint16_t buffersize); 159 uint16_t tid, uint16_t batimeout, 173 uint16_t vdev_id, uint8_t tid, uint16_t statuscode); 186 uint16_t vdev_id, int tid, uint16_t reasoncode); 203 uint8_t tid, int status); 220 uint8_t tid, uint16_t win_sz); 293 uint8_t tid, int status) in dp_addba_resp_tx_completion_wifi3() argument [all …]
|
D | dp_rx_defrag.h | 175 dp_rx_defrag_fraglist_insert(struct dp_txrx_peer *txrx_peer, unsigned int tid, 189 unsigned int tid); 202 QDF_STATUS dp_rx_defrag(struct dp_txrx_peer *txrx_peer, unsigned int tid, 226 unsigned int tid); 238 unsigned int tid); 247 void dp_rx_defrag_cleanup(struct dp_txrx_peer *txrx_peer, unsigned int tid); 250 struct dp_txrx_peer *peer, uint16_t tid,
|
/wlan-driver/qca-wifi-host-cmn/target_if/dp/src/ |
D | target_if_dp.c | 140 param.tid = q_params->tid; in target_if_rx_reorder_queue_setup() 167 int tid; in target_if_multi_rx_reorder_queue_setup() local 196 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in target_if_multi_rx_reorder_queue_setup() 197 if (!(BIT(tid) & q_params->tid_bitmap)) in target_if_multi_rx_reorder_queue_setup() 199 param.queue_params_list[tid].hw_qdesc_paddr = in target_if_multi_rx_reorder_queue_setup() 200 q_params->q_setup_list[tid].hw_qdesc_paddr; in target_if_multi_rx_reorder_queue_setup() 201 param.queue_params_list[tid].queue_no = in target_if_multi_rx_reorder_queue_setup() 202 q_params->q_setup_list[tid].queue_no; in target_if_multi_rx_reorder_queue_setup() 203 param.queue_params_list[tid].ba_window_size_valid = in target_if_multi_rx_reorder_queue_setup() 204 q_params->q_setup_list[tid].ba_window_size_valid; in target_if_multi_rx_reorder_queue_setup() [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/ |
D | dp_be_rx.h | 283 int tid; in dp_peer_rx_reorder_q_setup_per_tid() local 293 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_peer_rx_reorder_q_setup_per_tid() 294 if (!(BIT(tid) & tid_bitmap)) in dp_peer_rx_reorder_q_setup_per_tid() 297 rx_tid = &peer->rx_tid[tid]; in dp_peer_rx_reorder_q_setup_per_tid() 299 tid_bitmap &= ~BIT(tid); in dp_peer_rx_reorder_q_setup_per_tid() 309 tid, tid, in dp_peer_rx_reorder_q_setup_per_tid() 312 soc, tid); in dp_peer_rx_reorder_q_setup_per_tid() 331 int tid; in dp_peer_multi_tid_params_setup() local 337 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_peer_multi_tid_params_setup() 338 if (!(BIT(tid) & tid_bitmap)) in dp_peer_multi_tid_params_setup() [all …]
|
D | dp_be_tx.c | 340 uint8_t tid; in dp_tx_process_htt_completion_be() local 347 ts.tid = in dp_tx_process_htt_completion_be() 352 ts.tid = HTT_INVALID_TID; in dp_tx_process_htt_completion_be() 384 tid = ts.tid; in dp_tx_process_htt_completion_be() 385 if (qdf_unlikely(tid >= CDP_MAX_DATA_TIDS)) in dp_tx_process_htt_completion_be() 386 tid = CDP_MAX_DATA_TIDS - 1; in dp_tx_process_htt_completion_be() 388 tid_stats = &pdev->stats.tid_stats.tid_tx_stats[ring_id][tid]; in dp_tx_process_htt_completion_be() 392 dp_tx_compute_delay(vdev, tx_desc, tid, ring_id); in dp_tx_process_htt_completion_be() 648 msdu_info.tid = HTT_TX_EXT_TID_INVALID; in dp_tx_mlo_mcast_multipass_send() 1002 uint8_t tid = HTT_TX_EXT_TID_INVALID; in dp_sawf_config_be() local [all …]
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/ |
D | dp_li_rx.h | 112 unsigned int tid) in dp_rx_get_reo_qdesc_addr_li() argument 267 int tid; in dp_peer_rx_reorder_queue_setup_li() local 275 for (tid = 0; tid < DP_MAX_TIDS; tid++) { in dp_peer_rx_reorder_queue_setup_li() 276 if (!(BIT(tid) & tid_bitmap)) in dp_peer_rx_reorder_queue_setup_li() 279 rx_tid = &peer->rx_tid[tid]; in dp_peer_rx_reorder_queue_setup_li() 281 tid_bitmap &= ~BIT(tid); in dp_peer_rx_reorder_queue_setup_li() 289 peer->mac_addr.raw, rx_tid->hw_qdesc_paddr, tid, tid, in dp_peer_rx_reorder_queue_setup_li() 292 soc, tid); in dp_peer_rx_reorder_queue_setup_li()
|
D | dp_li_tx.c | 167 uint8_t tid; in dp_tx_process_htt_completion_li() local 174 ts.tid = in dp_tx_process_htt_completion_li() 179 ts.tid = HTT_INVALID_TID; in dp_tx_process_htt_completion_li() 210 tid = ts.tid; in dp_tx_process_htt_completion_li() 211 if (qdf_unlikely(tid >= CDP_MAX_DATA_TIDS)) in dp_tx_process_htt_completion_li() 212 tid = CDP_MAX_DATA_TIDS - 1; in dp_tx_process_htt_completion_li() 214 tid_stats = &pdev->stats.tid_stats.tid_tx_stats[ring_id][tid]; in dp_tx_process_htt_completion_li() 218 dp_tx_compute_delay(vdev, tx_desc, tid, ring_id); in dp_tx_process_htt_completion_li() 416 msdu_info->tid = (q_id & (CDP_DATA_TID_MAX - 1)); in dp_sawf_config_li() 462 uint8_t tid; in dp_tx_hw_enqueue_li() local [all …]
|
/wlan-driver/qcacld-3.0/core/dp/htt/ |
D | htt_t2h.c | 256 uint8_t tid; in htt_t2h_lp_msg_handler() local 267 tid = HTT_RX_FLUSH_TID_GET(*msg_word); in htt_t2h_lp_msg_handler() 275 ol_rx_flush_handler(pdev->txrx_pdev, peer_id, tid, in htt_t2h_lp_msg_handler() 307 uint8_t tid; in htt_t2h_lp_msg_handler() local 316 tid = HTT_RX_FRAG_IND_EXT_TID_GET(*msg_word); in htt_t2h_lp_msg_handler() 340 peer_id, tid); in htt_t2h_lp_msg_handler() 359 uint8_t tid; in htt_t2h_lp_msg_handler() local 370 tid = HTT_RX_ADDBA_TID_GET(*msg_word); in htt_t2h_lp_msg_handler() 372 ol_rx_addba_handler(pdev->txrx_pdev, peer_id, tid, in htt_t2h_lp_msg_handler() 380 uint8_t tid; in htt_t2h_lp_msg_handler() local [all …]
|
/wlan-driver/qcacld-3.0/core/dp/ol/inc/ |
D | ol_txrx_htt_api.h | 395 uint16_t peer_id, uint8_t tid, int num_mpdu_ranges); 400 uint16_t peer_id, uint8_t tid, int num_mpdu_ranges) in ol_rx_indication_handler() argument 424 uint16_t peer_id, uint8_t tid); 552 uint8_t tid, 569 ol_rx_delba_handler(ol_txrx_pdev_handle pdev, uint16_t peer_id, uint8_t tid); 612 uint8_t tid, 649 uint8_t tid, 745 uint8_t tid, uint8_t is_offload); 751 uint8_t tid, uint8_t is_offload) in ol_rx_in_order_indication_handler() argument
|
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/ |
D | dp_rh_rx.c | 578 unsigned int tid; in dp_rx_mic_err_handler_rh() local 618 tid = hal_rx_mpdu_start_tid_get(soc->hal_soc, in dp_rx_mic_err_handler_rh() 624 tid, rx_seq, nbuf); in dp_rx_mic_err_handler_rh() 740 int32_t tid = 0; in dp_rx_data_indication_handler() local 993 tid = qdf_nbuf_get_tid_val(nbuf); in dp_rx_data_indication_handler() 994 if (tid >= CDP_MAX_DATA_TIDS) { in dp_rx_data_indication_handler() 1044 qdf_nbuf_set_priority(nbuf, tid); in dp_rx_data_indication_handler() 1046 DP_RX_TID_SAVE(nbuf, tid); in dp_rx_data_indication_handler() 1051 if (qdf_likely(old_tid != tid)) { in dp_rx_data_indication_handler() 1053 &rx_pdev->stats.tid_stats.tid_rx_stats[rx_ctx_id][tid]; in dp_rx_data_indication_handler() [all …]
|
D | dp_rh_htt.c | 220 uint8_t tid, uint16_t win_sz) in dp_htt_rx_addba_handler_rh() argument 226 uint8_t tid, uint16_t win_sz) in dp_htt_rx_delba_ind_handler_rh() argument 311 uint8_t tid; in dp_htt_t2h_msg_handler_fast() local 318 tid = HTT_RX_ADDBA_TID_GET(*msg_word); in dp_htt_t2h_msg_handler_fast() 327 tid, win_sz + 1); in dp_htt_t2h_msg_handler_fast() 333 uint8_t tid; in dp_htt_t2h_msg_handler_fast() local 338 tid = HTT_RX_DELBA_TID_GET(*msg_word); in dp_htt_t2h_msg_handler_fast() 342 peer_id, tid, in dp_htt_t2h_msg_handler_fast() 346 peer_id, win_sz, tid, status); in dp_htt_t2h_msg_handler_fast()
|