Lines Matching refs:msdu
744 qdf_nbuf_t msdu; in htt_tx_sched() local
748 HTT_TX_NBUF_QUEUE_REMOVE(pdev, msdu); in htt_tx_sched()
749 while (msdu) { in htt_tx_sched()
752 packet_len = qdf_nbuf_len(msdu); in htt_tx_sched()
768 htc_send_data_pkt(pdev->htc_pdev, msdu, in htt_tx_sched()
772 HTT_TX_NBUF_QUEUE_INSERT_HEAD(pdev, msdu); in htt_tx_sched()
775 HTT_TX_NBUF_QUEUE_REMOVE(pdev, msdu); in htt_tx_sched()
779 int htt_tx_send_std(htt_pdev_handle pdev, qdf_nbuf_t msdu, uint16_t msdu_id) in htt_tx_send_std() argument
787 packet_len = qdf_nbuf_len(msdu); in htt_tx_send_std()
801 if (QDF_NBUF_CB_TX_EXTRA_FRAG_FLAGS_EXT_HEADER(msdu)) in htt_tx_send_std()
805 QDF_NBUF_UPDATE_TX_PKT_COUNT(msdu, QDF_NBUF_TX_PKT_HTT); in htt_tx_send_std()
806 DPTRACE(qdf_dp_trace(msdu, QDF_DP_TRACE_HTT_PACKET_PTR_RECORD, in htt_tx_send_std()
808 qdf_nbuf_data_addr(msdu), in htt_tx_send_std()
809 sizeof(qdf_nbuf_data(msdu)), QDF_TX)); in htt_tx_send_std()
811 HTT_TX_NBUF_QUEUE_ADD(pdev, msdu); in htt_tx_send_std()
816 if (htc_send_data_pkt(pdev->htc_pdev, msdu, in htt_tx_send_std()
818 HTT_TX_NBUF_QUEUE_ADD(pdev, msdu); in htt_tx_send_std()
856 qdf_nbuf_t msdu, in htt_tx_send_nonstd() argument
873 return htt_tx_send_std(pdev, msdu, msdu_id); in htt_tx_send_nonstd()
915 htt_tx_htt2_get_ep_id(htt_pdev_handle pdev, qdf_nbuf_t msdu) in htt_tx_htt2_get_ep_id() argument
922 qdf_nbuf_get_tx_parallel_dnload_frm(msdu) && in htt_tx_htt2_get_ep_id()
923 (qdf_nbuf_len(msdu) < pdev->htc_tx_htt2_max_size)) in htt_tx_htt2_get_ep_id()
929 #define htt_tx_htt2_get_ep_id(pdev, msdu) (pdev->htc_tx_endpoint) argument
934 qdf_nbuf_t msdu, in htt_tx_send_base() argument
948 qdf_nbuf_get_frag_vaddr(msdu, 0); in htt_tx_send_base()
958 packet_len = qdf_nbuf_len(msdu); in htt_tx_send_base()
972 ep_id = htt_tx_htt2_get_ep_id(pdev, msdu); in htt_tx_send_base()
981 SET_HTC_PACKET_NET_BUF_CONTEXT(&pkt->htc_pkt, msdu); in htt_tx_send_base()
983 QDF_NBUF_UPDATE_TX_PKT_COUNT(msdu, QDF_NBUF_TX_PKT_HTT); in htt_tx_send_base()
984 DPTRACE(qdf_dp_trace(msdu, QDF_DP_TRACE_HTT_PACKET_PTR_RECORD, in htt_tx_send_base()
986 qdf_nbuf_data_addr(msdu), in htt_tx_send_base()
987 sizeof(qdf_nbuf_data(msdu)), QDF_TX)); in htt_tx_send_base()
999 qdf_nbuf_t msdu; in htt_tx_send_batch() local
1006 msdu = head_msdu; in htt_tx_send_batch()
1008 qdf_nbuf_t next_msdu = qdf_nbuf_next(msdu); in htt_tx_send_batch()
1010 msdu_id_storage = ol_tx_msdu_id_storage(msdu); in htt_tx_send_batch()
1014 if (htt_tx_send_base(pdev, msdu, msdu_id, pdev->download_len, in htt_tx_send_batch()
1016 qdf_nbuf_set_next(msdu, rejected); in htt_tx_send_batch()
1017 rejected = msdu; in htt_tx_send_batch()
1019 msdu = next_msdu; in htt_tx_send_batch()
1026 qdf_nbuf_t msdu, in htt_tx_send_nonstd() argument
1042 return htt_tx_send_base(pdev, msdu, msdu_id, download_len, 0); in htt_tx_send_nonstd()
1045 int htt_tx_send_std(htt_pdev_handle pdev, qdf_nbuf_t msdu, uint16_t msdu_id) in htt_tx_send_std() argument
1047 return htt_tx_send_base(pdev, msdu, msdu_id, pdev->download_len, 0); in htt_tx_send_std()
1539 void htt_fill_ocb_ext_header(qdf_nbuf_t msdu, in htt_fill_ocb_ext_header() argument
1572 qdf_nbuf_push_head(msdu, sizeof(struct htt_tx_msdu_desc_ext_t)); in htt_fill_ocb_ext_header()
1573 qdf_mem_copy(qdf_nbuf_data(msdu), local_desc_ext, in htt_fill_ocb_ext_header()
1575 QDF_NBUF_CB_TX_EXTRA_FRAG_FLAGS_EXT_HEADER(msdu) = 1; in htt_fill_ocb_ext_header()
1579 void htt_fill_ocb_ext_header(qdf_nbuf_t msdu, in htt_fill_ocb_ext_header() argument
1597 void htt_fill_wisa_ext_header(qdf_nbuf_t msdu, in htt_fill_wisa_ext_header() argument
1623 if (QDF_NBUF_CB_PADDR(msdu) != 0) in htt_fill_wisa_ext_header()
1624 qdf_nbuf_unmap_single(qdf_ctx, msdu, QDF_DMA_TO_DEVICE); in htt_fill_wisa_ext_header()
1626 qdf_nbuf_push_head(msdu, sizeof(struct htt_tx_msdu_desc_ext_t)); in htt_fill_wisa_ext_header()
1627 qdf_mem_copy(qdf_nbuf_data(msdu), local_desc_ext, in htt_fill_wisa_ext_header()
1630 if (QDF_NBUF_CB_PADDR(msdu) != 0) { in htt_fill_wisa_ext_header()
1631 status = qdf_nbuf_map_single(qdf_ctx, msdu, QDF_DMA_TO_DEVICE); in htt_fill_wisa_ext_header()
1638 QDF_NBUF_CB_TX_EXTRA_FRAG_FLAGS_EXT_HEADER(msdu) = 1; in htt_fill_wisa_ext_header()
1652 void htt_push_ext_header(qdf_nbuf_t msdu, in htt_push_ext_header() argument
1658 htt_fill_ocb_ext_header(msdu, local_desc_ext, in htt_push_ext_header()
1663 htt_fill_wisa_ext_header(msdu, local_desc_ext, in htt_push_ext_header()
1678 qdf_nbuf_t msdu, struct htt_msdu_info_t *msdu_info, in htt_tx_desc_init() argument
1732 qdf_nbuf_tx_info_get(msdu, pkt_type, pkt_subtype, in htt_tx_desc_init()
1778 HTT_TX_DESC_FRM_LEN_SET(local_word1, qdf_nbuf_len(msdu)); in htt_tx_desc_init()
1807 htt_push_ext_header(msdu, &local_desc_ext, in htt_tx_desc_init()
1822 qdf_nbuf_set_frag_is_wordstream(msdu, qdf_nbuf_get_num_frags(msdu) - 1, in htt_tx_desc_init()
1825 if (QDF_NBUF_CB_PADDR(msdu) == 0) { in htt_tx_desc_init()
1826 dir = QDF_NBUF_CB_TX_DMA_BI_MAP(msdu) ? in htt_tx_desc_init()
1828 status = qdf_nbuf_map_single(qdf_ctx, msdu, dir); in htt_tx_desc_init()
1837 qdf_nbuf_frag_push_head(msdu, sizeof(struct htt_host_tx_desc_t), in htt_tx_desc_init()
1849 qdf_nbuf_set_frag_is_wordstream(msdu, 0, 1); in htt_tx_desc_init()
1853 uint32_t pkt_offset = qdf_nbuf_get_frag_len(msdu, 0); in htt_tx_desc_init()
1860 qdf_nbuf_data_attr_set(msdu, data_attr); in htt_tx_desc_init()