Parcourir la source

qcacmn: make dp_send_compl_to_stack non static

make dp_send_compl_to_stack non static to be able to call it from
NSS offload path for FR 42926

Change-Id: Ie93f011c784bd6c95efbd79b6645f556ba198d66
Radha krishna Simha Jiguru il y a 7 ans
Parent
commit
47876f618c
2 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 1 1
      dp/wifi3.0/dp_tx.c
  2. 7 0
      dp/wifi3.0/dp_tx.h

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

@@ -1883,7 +1883,7 @@ static void dp_tx_inspect_handler(struct dp_tx_desc_s *tx_desc, uint8_t *status)
 }
 
 #ifdef FEATURE_PERPKT_INFO
-static QDF_STATUS
+QDF_STATUS
 dp_send_compl_to_stack(struct dp_soc *soc,  struct dp_pdev *pdev,
 		      uint16_t peer_id, uint32_t ppdu_id, qdf_nbuf_t netbuf)
 {

+ 7 - 0
dp/wifi3.0/dp_tx.h

@@ -175,6 +175,13 @@ static inline void dp_non_std_tx_comp_free_buff(struct dp_tx_desc_s *tx_desc,
 void dp_tx_mec_handler(struct dp_vdev *vdev, uint8_t *status);
 #endif
 
+
+#ifdef FEATURE_PERPKT_INFO
+QDF_STATUS
+dp_send_compl_to_stack(struct dp_soc *soc,  struct dp_pdev *pdev,
+		      uint16_t peer_id, uint32_t ppdu_id, qdf_nbuf_t netbuf);
+#endif
+
 /* TODO TX_FEATURE_NOT_YET */
 static inline void dp_tx_comp_process_exception(struct dp_tx_desc_s *tx_desc)
 {