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
zatwierdzone przez Madan Koyyalamudi
rodzic 2376885753
commit 72bf8a6cb2
5 zmienionych plików z 43 dodań i 6 usunięć

Wyświetl plik

@@ -54,6 +54,11 @@ struct reo_qdesc_event {
};
#endif
struct ast_del_ctxt {
bool age;
int del_count;
};
typedef void dp_peer_iter_func(struct dp_soc *soc, struct dp_peer *peer,
void *arg);
void dp_peer_unref_delete(struct dp_peer *peer, enum dp_mod_id id);