qcacmn: Free txdesc during pdev detach

On Firmware auto recovery , txdesc resources
might not be freed if f/w has not sent the
completion. Freeing those buffers in pdev
detach

Change-Id: I7d62258347f1fc9566fc8230564bcaf458ea4cc4
This commit is contained in:
Ruchi, Agrawal
2018-02-02 11:24:05 +05:30
committed by snandini
parent 172974d1c3
commit c0f9c97c95
2 changed files with 118 additions and 38 deletions

View File

@@ -192,9 +192,13 @@ static inline void dp_tx_me_exit(struct dp_pdev *pdev)
#ifdef FEATURE_PERPKT_INFO
QDF_STATUS
dp_send_compl_to_stack(struct dp_soc *soc, struct dp_pdev *pdev,
dp_get_completion_indication_for_stack(struct dp_soc *soc, struct dp_pdev *pdev,
uint16_t peer_id, uint32_t ppdu_id, uint8_t first_msdu,
uint8_t last_msdu, qdf_nbuf_t netbuf);
void dp_send_completion_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 */