qca-wifi: CFR: Fix in flush pending DBR event logic

Do not flush the DBR event for which the corresponding
TX/RX event is yet to be received.
Once the new PPDU TLV is received, flush the previous
pending DBR events.

Change-Id: I4495a45db139128d2af01f79744021c6ad6bf322
This commit is contained in:
Adwait Nayak
2020-02-06 07:40:08 +05:30
parent 992e62ae73
commit 172ff30046
2 changed files with 6 additions and 1 deletions

View File

@@ -468,6 +468,8 @@ struct cfr_rcc_param {
* [5] - No. PPDUs filtered due to freeze_reason_ALL_PACKET
* release_err_cnt: No. of lookup table entries freed due to invalid CFR data
* length
* last_success_tstamp: DBR timestamp which indicates that both DBR and TX/RX
* events have been received successfully.
*/
/*
* To be extended if we get more capbality info
@@ -508,6 +510,7 @@ struct pdev_cfr {
uint64_t invalid_dma_length_cnt;
uint64_t flush_timeout_dbr_cnt;
uint64_t clear_txrx_event;
uint64_t last_success_tstamp;
#endif
struct unassoc_pool_entry unassoc_pool[MAX_CFR_ENABLED_CLIENTS];
};