Bladeren bron

qcacmn: Add call to Deinit/Free tx spcl desc

Add call to Deinit/Free tx spcl desc

Change-Id: If5809e38f61ede9dba08edd29d7320bfc40596fc
CRs-Fixed: 3603525
Neha Bisht 1 jaar geleden
bovenliggende
commit
98bd87c4b3
2 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. 5 1
      dp/wifi3.0/dp_tx.c
  2. 1 0
      dp/wifi3.0/dp_tx_desc.h

+ 5 - 1
dp/wifi3.0/dp_tx.c

@@ -6665,6 +6665,7 @@ void dp_soc_tx_desc_sw_pools_free(struct dp_soc *soc)
 	dp_tx_tso_cmn_desc_pool_free(soc, num_pool);
 	dp_tx_ext_desc_pool_free(soc, num_ext_pool);
 	dp_tx_delete_static_pools(soc, num_pool);
+	dp_tx_spcl_delete_static_pools(soc, num_pool);
 }
 
 void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
@@ -6678,6 +6679,7 @@ void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
 	dp_tx_tso_cmn_desc_pool_deinit(soc, num_pool);
 	dp_tx_ext_desc_pool_deinit(soc, num_ext_pool);
 	dp_tx_deinit_static_pools(soc, num_pool);
+	dp_tx_spcl_deinit_static_pools(soc, num_pool);
 }
 #else
 void dp_soc_tx_desc_sw_pools_free(struct dp_soc *soc)
@@ -6687,6 +6689,7 @@ void dp_soc_tx_desc_sw_pools_free(struct dp_soc *soc)
 	num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
 
 	dp_tx_delete_static_pools(soc, num_pool);
+	dp_tx_spcl_delete_static_pools(soc, num_pool);
 }
 
 void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
@@ -6697,6 +6700,7 @@ void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
 
 	dp_tx_flow_control_deinit(soc);
 	dp_tx_deinit_static_pools(soc, num_pool);
+	dp_tx_spcl_deinit_static_pools(soc, num_pool);
 }
 #endif /*WLAN_SOFTUMAC_SUPPORT*/
 
@@ -6901,7 +6905,7 @@ QDF_STATUS dp_soc_tx_desc_sw_pools_init(struct dp_soc *soc)
 	soc->process_tx_status = CONFIG_PROCESS_TX_STATUS;
 	return QDF_STATUS_SUCCESS;
 fail1:
-	dp_tx_delete_static_pools(soc, num_pool);
+	dp_tx_deinit_static_pools(soc, num_pool);
 fail:
 	return QDF_STATUS_E_RESOURCES;
 }

+ 1 - 0
dp/wifi3.0/dp_tx_desc.h

@@ -893,6 +893,7 @@ dp_tx_desc_alloc(struct dp_soc *soc, uint8_t desc_pool_id)
 static inline struct dp_tx_desc_s *dp_tx_spcl_desc_alloc(struct dp_soc *soc,
 							 uint8_t desc_pool_id)
 {
+	return NULL;
 }
 /**
  * dp_tx_desc_free() - Free a tx descriptor and attach it to free list