qcacmn: Update counter in mutipass rx packet drop

multipass_rx_pkt_drop is peer level stats counter
used to count multipass rx packet dropped frame.
Accumulate this counter at vdev and pdev level.

It also initializes multipass_en flag to false at
vdev attach.

Change-Id: Idaa85a71c80eefb9359abb026402b71aa28ad6a2
CRs-Fixed: 2595551
This commit is contained in:
Ankit Kumar
2020-01-02 10:15:16 +05:30
committed by nshrivas
parent 1affbbad46
commit 53581e92fd
5 changed files with 17 additions and 1 deletions

View File

@@ -4974,6 +4974,7 @@ static struct cdp_vdev *dp_vdev_attach_wifi3(struct cdp_soc_t *cdp_soc,
vdev->safemode = 0;
vdev->drop_unenc = 1;
vdev->sec_type = cdp_sec_type_none;
vdev->multipass_en = false;
#ifdef notyet
vdev->filters_num = 0;
#endif