qcacmn: Add linked list logic to store per ppdu descriptor status tlv

Add linked list logic to hold all ppdu descriptor status in a list till
all TLVs have been processed
This design handles asynchronous arrival of tlvs from fw per ppdu

Change-Id: Ib8943d7c826c0b441f58f0eaba7ae0bdc0539d9a
This commit is contained in:
Anish Nataraj
2018-02-16 00:38:10 +05:30
committed by nshrivas
parent 301a242a31
commit b9e7d01e52
4 changed files with 384 additions and 154 deletions

View File

@@ -2614,6 +2614,13 @@ static struct cdp_pdev *dp_pdev_attach_wifi3(struct cdp_soc_t *txrx_soc,
/* set the reo destination during initialization */
pdev->reo_dest = pdev->pdev_id + 1;
/*
* initialize ppdu tlv list
*/
TAILQ_INIT(&pdev->ppdu_info_list);
pdev->tlv_count = 0;
pdev->list_depth = 0;
return (struct cdp_pdev *)pdev;
fail1: