Lines Matching refs:desc

1046 					 struct dp_tx_desc_s *desc,  in dp_tx_traffic_end_indication_enq_ind_pkt()  argument
1051 if (qdf_unlikely((desc->flags & in dp_tx_traffic_end_indication_enq_ind_pkt()
1053 vdev = dp_vdev_get_ref_by_id(soc, desc->vdev_id, in dp_tx_traffic_end_indication_enq_ind_pkt()
1114 struct dp_tx_desc_s *desc, in dp_tx_traffic_end_indication_enq_ind_pkt() argument
2035 void dp_tx_nbuf_unmap_regular(struct dp_soc *soc, struct dp_tx_desc_s *desc) in dp_tx_nbuf_unmap_regular() argument
2038 desc->nbuf, in dp_tx_nbuf_unmap_regular()
2039 desc->dma_addr, in dp_tx_nbuf_unmap_regular()
2041 desc->length); in dp_tx_nbuf_unmap_regular()
2128 struct dp_tx_desc_s *desc) in dp_tx_nbuf_unmap() argument
2130 if (qdf_unlikely(!(desc->flags & in dp_tx_nbuf_unmap()
2132 return dp_tx_nbuf_unmap_regular(soc, desc); in dp_tx_nbuf_unmap()
2145 struct dp_tx_desc_s *desc) in dp_tx_nbuf_unmap() argument
2147 return dp_tx_nbuf_unmap_regular(soc, desc); in dp_tx_nbuf_unmap()
2153 void dp_tx_enh_unmap(struct dp_soc *soc, struct dp_tx_desc_s *desc) in dp_tx_enh_unmap() argument
2155 if (qdf_likely(!(desc->flags & DP_TX_DESC_FLAG_UNMAP_DONE))) { in dp_tx_enh_unmap()
2156 dp_tx_nbuf_unmap(soc, desc); in dp_tx_enh_unmap()
2157 desc->flags |= DP_TX_DESC_FLAG_UNMAP_DONE; in dp_tx_enh_unmap()
2161 static inline void dp_tx_unmap(struct dp_soc *soc, struct dp_tx_desc_s *desc) in dp_tx_unmap() argument
2163 if (qdf_likely(!(desc->flags & DP_TX_DESC_FLAG_UNMAP_DONE))) in dp_tx_unmap()
2164 dp_tx_nbuf_unmap(soc, desc); in dp_tx_unmap()
2168 void dp_tx_enh_unmap(struct dp_soc *soc, struct dp_tx_desc_s *desc) in dp_tx_enh_unmap() argument
2172 static inline void dp_tx_unmap(struct dp_soc *soc, struct dp_tx_desc_s *desc) in dp_tx_unmap() argument
2174 dp_tx_nbuf_unmap(soc, desc); in dp_tx_unmap()
3123 dp_tdls_tx_comp_free_buff(struct dp_soc *soc, struct dp_tx_desc_s *desc) in dp_tdls_tx_comp_free_buff() argument
3126 if (desc->flags & DP_TX_DESC_FLAG_TDLS_FRAME) { in dp_tdls_tx_comp_free_buff()
3127 dp_non_std_htt_tx_comp_free_buff(soc, desc); in dp_tdls_tx_comp_free_buff()
3134 dp_tdls_tx_comp_free_buff(struct dp_soc *soc, struct dp_tx_desc_s *desc) in dp_tdls_tx_comp_free_buff() argument
3140 qdf_nbuf_t dp_tx_comp_free_buf(struct dp_soc *soc, struct dp_tx_desc_s *desc, in dp_tx_comp_free_buf() argument
3143 qdf_nbuf_t nbuf = desc->nbuf; in dp_tx_comp_free_buf()
3144 enum dp_tx_event_type type = dp_tx_get_event_type(desc->flags); in dp_tx_comp_free_buf()
3150 if (!dp_tdls_tx_comp_free_buff(soc, desc)) in dp_tx_comp_free_buf()
3154 if (desc->msdu_ext_desc) { in dp_tx_comp_free_buf()
3157 desc->msdu_ext_desc->vaddr)) { in dp_tx_comp_free_buf()
3158 dp_tx_desc_history_add(soc, desc->dma_addr, desc->nbuf, in dp_tx_comp_free_buf()
3159 desc->id, DP_TX_COMP_MSDU_EXT); in dp_tx_comp_free_buf()
3161 desc->msdu_ext_desc->tso_desc, in dp_tx_comp_free_buf()
3162 desc->nbuf, desc->id, type); in dp_tx_comp_free_buf()
3165 desc->msdu_ext_desc->tso_desc, in dp_tx_comp_free_buf()
3166 desc->msdu_ext_desc-> in dp_tx_comp_free_buf()
3171 if (qdf_unlikely(desc->frm_type == dp_tx_frm_sg)) { in dp_tx_comp_free_buf()
3172 void *msdu_ext_desc = desc->msdu_ext_desc->vaddr; in dp_tx_comp_free_buf()
3196 if ((desc->flags & DP_TX_DESC_FLAG_ME) && qdf_nbuf_is_cloned(nbuf)) in dp_tx_comp_free_buf()
3199 dp_tx_desc_history_add(soc, desc->dma_addr, desc->nbuf, desc->id, type); in dp_tx_comp_free_buf()
3200 dp_tx_unmap(soc, desc); in dp_tx_comp_free_buf()
3202 if (desc->flags & DP_TX_DESC_FLAG_MESH_MODE) in dp_tx_comp_free_buf()
3203 return dp_mesh_tx_comp_free_buff(soc, desc, delayed_free); in dp_tx_comp_free_buf()
3205 if (dp_tx_traffic_end_indication_enq_ind_pkt(soc, desc, nbuf)) in dp_tx_comp_free_buf()
5634 struct dp_tx_desc_s *desc, argument
5638 desc, ts->peer_id,
5639 WDI_NO_VAL, desc->pdev->pdev_id);
5645 struct dp_tx_desc_s *desc, argument
5656 if (qdf_unlikely(!!desc->pdev->latency_capture_enable)) {
5658 qdf_ktime_to_ms(desc->timestamp));
5661 dp_send_completion_to_pkt_capture(soc, desc, ts);
5664 qdf_trace_dp_packet(desc->nbuf, QDF_TX,
5665 desc->msdu_ext_desc ?
5666 desc->msdu_ext_desc->tso_desc : NULL,
5667 qdf_ktime_to_us(desc->timestamp));
5669 if (!(desc->msdu_ext_desc)) {
5670 dp_tx_enh_unmap(soc, desc);
5675 dp_monitor_tx_add_to_comp_queue(soc, desc, ts, peer_id)) {
5681 desc->pdev,
5683 desc->nbuf,
5686 desc->pdev,
5689 desc->nbuf);
5694 desc->flags |= DP_TX_DESC_FLAG_COMPLETED_TX;
5695 dp_tx_comp_free_buf(soc, desc, false);
6262 dp_tx_mcast_reinject_handler(struct dp_soc *soc, struct dp_tx_desc_s *desc) argument
6267 if (desc->tx_status == HAL_TX_TQM_RR_MULTICAST_DROP) {
6272 vdev = dp_vdev_get_ref_by_id(soc, desc->vdev_id,
6277 desc->id);
6285 xmit_type = qdf_nbuf_get_vdev_xmit_type(desc->nbuf);
6287 qdf_nbuf_len(desc->nbuf));
6288 soc->arch_ops.dp_tx_mcast_handler(soc, vdev, desc->nbuf);
6289 dp_tx_desc_release(soc, desc, desc->pool_id);
6298 dp_tx_mcast_reinject_handler(struct dp_soc *soc, struct dp_tx_desc_s *desc) argument
6313 struct dp_tx_desc_s *desc) argument
6317 nbuf = desc->nbuf;
6318 if (qdf_likely(desc->flags & DP_TX_DESC_FLAG_FAST))
6350 struct dp_tx_desc_s *desc) argument
6352 qdf_nbuf_free(desc->nbuf);
6373 struct dp_tx_desc_s *desc, argument
6380 if (!(desc->flags & DP_TX_DESC_FLAG_SIMPLE)) {
6381 hal_tx_comp_get_status(&desc->comp,
6391 dp_tx_update_peer_stats(desc, ts,
6396 dp_tx_update_peer_basic_stats(txrx_peer, desc->length,
6397 desc->tx_status, false);
6406 struct dp_tx_desc_s *desc, argument
6430 struct dp_tx_desc_s *desc; local
6438 desc = comp_head;
6442 while (desc) {
6443 next = desc->next;
6446 if (peer_id != desc->peer_id) {
6450 peer_id = desc->peer_id;
6457 if (dp_tx_mcast_reinject_handler(soc, desc)) {
6458 desc = next;
6462 if (desc->flags & DP_TX_DESC_FLAG_PPEDS) {
6465 desc, ring_id);
6467 if (desc->pool_id != DP_TX_PPEDS_POOL_ID) {
6468 nbuf = desc->nbuf;
6470 if (desc->flags & DP_TX_DESC_FLAG_SPECIAL)
6471 dp_tx_spcl_desc_free(soc, desc,
6472 desc->pool_id);
6474 dp_tx_desc_free(soc, desc,
6475 desc->pool_id);
6479 nbuf = dp_ppeds_tx_desc_free(soc, desc);
6482 desc = next;
6486 if (qdf_likely(desc->flags & DP_TX_DESC_FLAG_SIMPLE)) {
6487 struct dp_pdev *pdev = desc->pdev;
6491 desc->length,
6492 desc->tx_status,
6500 dp_tx_desc_history_add(soc, desc->dma_addr, desc->nbuf,
6501 desc->id, DP_TX_COMP_UNMAP);
6502 dp_tx_nbuf_unmap(soc, desc);
6503 dp_tx_nbuf_dev_queue_free(&h, desc);
6504 dp_tx_desc_free(soc, desc, desc->pool_id);
6505 desc = next;
6509 hal_tx_comp_get_status(&desc->comp, &ts, soc->hal_soc);
6511 dp_tx_comp_process_tx_status(soc, desc, &ts, txrx_peer,
6514 dp_tx_comp_process_desc(soc, desc, &ts, txrx_peer);
6516 dp_tx_desc_release(soc, desc, desc->pool_id);
6517 desc = next;