qcacmn: Introduce APIs needed by WIN
Added new APIs ce_batch_send and ce_send_single
only used by WIN.
Acked-by: Varsha Mishra <varsham@codeaurora.org>
Change-Id: I55d86d692455be118734f6e0a13e0e58c227b1a0
CRs-Fixed: 1009050
diff --git a/hif/src/ce/ce_api.h b/hif/src/ce/ce_api.h
index fd757b2..7a15365 100644
--- a/hif/src/ce/ce_api.h
+++ b/hif/src/ce/ce_api.h
@@ -114,6 +114,7 @@
#define CE_WM_FLAG_SEND_LOW 2
#define CE_WM_FLAG_RECV_HIGH 4
#define CE_WM_FLAG_RECV_LOW 8
+#define CE_HTT_TX_CE 4
/* A list of buffers to be gathered and sent */
struct ce_sendlist;
@@ -155,6 +156,17 @@
#endif
void ce_pkt_dl_len_set(void *hif_sc, unsigned int pkt_download_len);
+void ce_update_tx_ring(struct CE_handle *ce_tx_hdl, uint32_t num_htt_cmpls);
+extern qdf_nbuf_t ce_batch_send(struct CE_handle *ce_tx_hdl,
+ qdf_nbuf_t msdu,
+ uint32_t transfer_id,
+ uint32_t len,
+ uint32_t sendhead);
+
+extern int ce_send_single(struct CE_handle *ce_tx_hdl,
+ qdf_nbuf_t msdu,
+ uint32_t transfer_id,
+ uint32_t len);
/*
* Register a Send Callback function.
* This function is called as soon as the contents of a Send