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:
@@ -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
|
||||
|
Reference in New Issue
Block a user