瀏覽代碼

qcacmn: group hal tx and rx functions

keep hal tx and rx functions grouped as it will look clean
and avoid confusions while browsing code for others.

Change-Id: I519690d42cd077689bf7afe697908f43d7055da5
Balamurugan Mahalingam 6 年之前
父節點
當前提交
fa1d9c7098

+ 2 - 2
hal/wifi3.0/hal_internal.h

@@ -286,6 +286,8 @@ struct hal_hw_txrx_ops {
 	 void (*hal_tx_desc_set_buf_addr)(void *desc, dma_addr_t paddr,
 			uint8_t pool_id, uint32_t desc_id, uint8_t type);
 	void (*hal_tx_comp_get_status)(void *desc, void *ts);
+	void (*hal_tx_desc_set_search_type)(void *desc, uint8_t search_type);
+	void (*hal_tx_desc_set_search_index)(void *desc, uint32_t search_index);
 
 	/* rx */
 	uint32_t (*hal_rx_msdu_start_nss_get)(uint8_t *);
@@ -307,8 +309,6 @@ struct hal_hw_txrx_ops {
 	uint32_t (*hal_rx_status_get_tlv_info)(void *rx_tlv_hdr,
 			void *ppdu_info,
 			void *hal);
-	void (*hal_tx_desc_set_search_type)(void *desc, uint8_t search_type);
-	void (*hal_tx_desc_set_search_index)(void *desc, uint32_t search_index);
 };
 
 /**

+ 2 - 2
hal/wifi3.0/qca6290/hal_6290.c

@@ -122,6 +122,8 @@ struct hal_hw_txrx_ops qca6290_hal_hw_txrx_ops = {
 	hal_tx_desc_set_lmac_id_6290,
 	hal_tx_desc_set_buf_addr_generic,
 	hal_tx_comp_get_status_generic,
+	hal_tx_desc_set_search_type_generic,
+	hal_tx_desc_set_search_index_generic,
 
 	/* rx */
 	hal_rx_msdu_start_nss_get_6290,
@@ -138,8 +140,6 @@ struct hal_hw_txrx_ops qca6290_hal_hw_txrx_ops = {
 	hal_rx_link_desc_msdu0_ptr_generic,
 	hal_reo_status_get_header_generic,
 	hal_rx_status_get_tlv_info_generic,
-	hal_tx_desc_set_search_type_generic,
-	hal_tx_desc_set_search_index_generic,
 };
 
 struct hal_hw_srng_config hw_srng_table_6290[] = {

+ 2 - 2
hal/wifi3.0/qca6390/hal_6390.c

@@ -122,6 +122,8 @@ struct hal_hw_txrx_ops qca6390_hal_hw_txrx_ops = {
 	hal_tx_desc_set_lmac_id_6390,
 	hal_tx_desc_set_buf_addr_generic,
 	hal_tx_comp_get_status_generic,
+	hal_tx_desc_set_search_type_generic,
+	hal_tx_desc_set_search_index_generic,
 
 	/* rx */
 	hal_rx_msdu_start_nss_get_6390,
@@ -138,8 +140,6 @@ struct hal_hw_txrx_ops qca6390_hal_hw_txrx_ops = {
 	hal_rx_link_desc_msdu0_ptr_generic,
 	hal_reo_status_get_header_generic,
 	hal_rx_status_get_tlv_info_generic,
-	hal_tx_desc_set_search_type_generic,
-	hal_tx_desc_set_search_index_generic,
 };
 
 struct hal_hw_srng_config hw_srng_table_6390[] = {

+ 2 - 2
hal/wifi3.0/qca8074v1/hal_8074v1.c

@@ -118,6 +118,8 @@ struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
 	hal_tx_desc_set_lmac_id_8074,
 	hal_tx_desc_set_buf_addr_generic,
 	hal_tx_comp_get_status_generic,
+	hal_tx_desc_set_search_type_generic,
+	hal_tx_desc_set_search_index_generic,
 
 	/* rx */
 	hal_rx_msdu_start_nss_get_8074,
@@ -134,8 +136,6 @@ struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
 	hal_rx_link_desc_msdu0_ptr_generic,
 	hal_reo_status_get_header_generic,
 	hal_rx_status_get_tlv_info_generic,
-	hal_tx_desc_set_search_type_generic,
-	hal_tx_desc_set_search_index_generic,
 };
 
 struct hal_hw_srng_config hw_srng_table_8074[] = {

+ 2 - 2
hal/wifi3.0/qca8074v2/hal_8074v2.c

@@ -118,6 +118,8 @@ struct hal_hw_txrx_ops qca8074v2_hal_hw_txrx_ops = {
 	hal_tx_desc_set_lmac_id_8074v2,
 	hal_tx_desc_set_buf_addr_generic,
 	hal_tx_comp_get_status_generic,
+	hal_tx_desc_set_search_type_generic,
+	hal_tx_desc_set_search_index_generic,
 
 	/* rx */
 	hal_rx_msdu_start_nss_get_8074v2,
@@ -134,8 +136,6 @@ struct hal_hw_txrx_ops qca8074v2_hal_hw_txrx_ops = {
 	hal_rx_link_desc_msdu0_ptr_generic,
 	hal_reo_status_get_header_generic,
 	hal_rx_status_get_tlv_info_generic,
-	hal_tx_desc_set_search_type_generic,
-	hal_tx_desc_set_search_index_generic,
 };
 
 struct hal_hw_srng_config hw_srng_table_8074v2[] = {