qcacmn: Avoid sending wds del wmi cmds in a burst

In case of aging out wds entries, avoid sending all
the wds delete wmi commands in a huge single burst.
Instead limit the maximum commands to half of the
wmi queue size. Inactivity will continue to be
marked every 120 secs but the inactive entries
will be flushed every 5 secs if there are pending
entries.

Change-Id: I6735704a0750ef466f1df798f0b354f4382098d6
CRs-Fixed: 2952682
This commit is contained in:
Pavankumar Nandeshwar
2021-06-01 21:09:19 -07:00
committed by Madan Koyyalamudi
parent 2376885753
commit 72bf8a6cb2
5 changed files with 43 additions and 6 deletions

View File

@@ -1996,6 +1996,7 @@ struct cdp_peer_hmwds_ast_add_status {
enum cdp_soc_param_t {
DP_SOC_PARAM_MSDU_EXCEPTION_DESC,
DP_SOC_PARAM_CMEM_FSE_SUPPORT,
DP_SOC_PARAM_MAX_AST_AGEOUT,
DP_SOC_PARAM_MAX,
};