qcacmn: add an ini field to control rx frame pending check

Add a ini control field to control rx frame pending check
logic in WoW case. In some cases, power consumption is more
important than rx frame ping loss, so add a control flag

Change-Id: I8c4d3725edddb82a0f06dc70c22a8dd5243209f2
CRs-Fixed: 2806786
This commit is contained in:
Yu Tian
2020-10-28 13:38:18 +08:00
zatwierdzone przez snandini
rodzic 56f94da675
commit 76fdb54e96
6 zmienionych plików z 32 dodań i 2 usunięć

Wyświetl plik

@@ -2664,7 +2664,10 @@ cdp_rx_get_pending(ol_txrx_soc_handle soc)
!soc->ol_ops->dp_rx_get_pending)
return 0;
return soc->ol_ops->dp_rx_get_pending(soc);
if (cdp_cfg_get(soc, cfg_dp_wow_check_rx_pending))
return soc->ol_ops->dp_rx_get_pending(soc);
else
return 0;
}
#ifdef QCA_SUPPORT_WDS_EXTENDED