|
@@ -1472,6 +1472,13 @@ htt_rx_frag_pop_hl(
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+static inline int
|
|
|
+htt_rx_offload_msdu_cnt_hl(
|
|
|
+ htt_pdev_handle pdev)
|
|
|
+{
|
|
|
+ return 1;
|
|
|
+}
|
|
|
+
|
|
|
static inline int
|
|
|
htt_rx_offload_msdu_pop_hl(htt_pdev_handle pdev,
|
|
|
qdf_nbuf_t offload_deliver_msg,
|
|
@@ -1518,6 +1525,13 @@ htt_rx_offload_msdu_pop_hl(htt_pdev_handle pdev,
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+static inline int
|
|
|
+htt_rx_offload_msdu_cnt_ll(
|
|
|
+ htt_pdev_handle pdev)
|
|
|
+{
|
|
|
+ return htt_rx_ring_elems(pdev);
|
|
|
+}
|
|
|
+
|
|
|
static int
|
|
|
htt_rx_offload_msdu_pop_ll(htt_pdev_handle pdev,
|
|
|
qdf_nbuf_t offload_deliver_msg,
|
|
@@ -2856,6 +2870,10 @@ int (*htt_rx_frag_pop)(htt_pdev_handle pdev,
|
|
|
qdf_nbuf_t *head_msdu, qdf_nbuf_t *tail_msdu,
|
|
|
uint32_t *msdu_count);
|
|
|
|
|
|
+int
|
|
|
+(*htt_rx_offload_msdu_cnt)(
|
|
|
+ htt_pdev_handle pdev);
|
|
|
+
|
|
|
int
|
|
|
(*htt_rx_offload_msdu_pop)(htt_pdev_handle pdev,
|
|
|
qdf_nbuf_t offload_deliver_msg,
|
|
@@ -3525,6 +3543,7 @@ int htt_rx_attach(struct htt_pdev_t *pdev)
|
|
|
pdev->rx_ring.base_paddr = 0;
|
|
|
htt_rx_amsdu_pop = htt_rx_amsdu_pop_hl;
|
|
|
htt_rx_frag_pop = htt_rx_frag_pop_hl;
|
|
|
+ htt_rx_offload_msdu_cnt = htt_rx_offload_msdu_cnt_hl;
|
|
|
htt_rx_offload_msdu_pop = htt_rx_offload_msdu_pop_hl;
|
|
|
htt_rx_mpdu_desc_list_next = htt_rx_mpdu_desc_list_next_hl;
|
|
|
htt_rx_mpdu_desc_retry = htt_rx_mpdu_desc_retry_hl;
|
|
@@ -3670,6 +3689,7 @@ int htt_rx_attach(struct htt_pdev_t *pdev)
|
|
|
if (cds_get_conparam() == QDF_GLOBAL_MONITOR_MODE)
|
|
|
htt_rx_amsdu_pop = htt_rx_mon_amsdu_rx_in_order_pop_ll;
|
|
|
|
|
|
+ htt_rx_offload_msdu_cnt = htt_rx_offload_msdu_cnt_ll;
|
|
|
htt_rx_offload_msdu_pop = htt_rx_offload_msdu_pop_ll;
|
|
|
htt_rx_mpdu_desc_retry = htt_rx_mpdu_desc_retry_ll;
|
|
|
htt_rx_mpdu_desc_seq_num = htt_rx_mpdu_desc_seq_num_ll;
|