qcacmn: Flush queue before qref delete

REO_FLUSH_CACHE cmd
 - flush_q_1k_desc as 1 – This will flush Queue, Q1k and QEXT in one go.
   we need not give 11 cmd for each tid of the peer.
 - forward_all_mpdus_in_queue to 1 in FLUSH_CACHE_CMD.
   With this we need wait for aging threshold time.

Change-Id: I695ab48a50968872eb22024ba5c770f0e5a74a09
CRs-Fixed: 3384665
This commit is contained in:
Ruben Columbus
2023-01-19 10:50:25 -08:00
committed by Madan Koyyalamudi
parent 94970e41cb
commit 8339fb6fde
3 changed files with 15 additions and 61 deletions

View File

@@ -405,6 +405,9 @@ hal_reo_cmd_flush_cache_be(hal_ring_handle_t hal_ring_hdl,
HAL_DESC_64_SET_FIELD(reo_desc, REO_FLUSH_CACHE,
FLUSH_WITHOUT_INVALIDATE, cp->flush_no_inval);
HAL_DESC_64_SET_FIELD(reo_desc, REO_FLUSH_CACHE,
FLUSH_QUEUE_1K_DESC, cp->flush_q_1k_desc);
HAL_DESC_64_SET_FIELD(reo_desc, REO_FLUSH_CACHE,
BLOCK_CACHE_USAGE_AFTER_FLUSH,
cp->block_use_after_flush);

View File

@@ -206,6 +206,7 @@ struct hal_reo_cmd_flush_cache_params {
bool flush_no_inval;
bool block_use_after_flush;
bool flush_entire_cache;
bool flush_q_1k_desc;
};
/**