qcacmn: Add throughput based RTPM API support

Add support to invoke HIF runtime PM APIs in TX packet path based on
throughput level. Essentially at high throughputs, where runtime PM is
not expected to provide power gains, invoking the APIs is deterimental to
performance.
Hence invoke runtime_pm APIs based on throughput level.

CRs-Fixed: 3059712
Change-Id: I49d111bffa8a37c68abbdd54911f9ecc22430562
This commit is contained in:
Mohit Khanna
2021-10-14 06:53:35 -07:00
committed by Madan Koyyalamudi
vanhempi 25652ed9d8
commit 81e29163db
7 muutettua tiedostoa jossa 91 lisäystä ja 0 poistoa

Näytä tiedosto

@@ -590,6 +590,10 @@ struct cdp_cmn_ops {
#ifdef WLAN_FEATURE_PKT_CAPTURE_V2
void (*set_pkt_capture_mode)(struct cdp_soc_t *soc, bool val);
#endif
#ifdef FEATURE_RUNTIME_PM
void (*set_rtpm_tput_policy)(struct cdp_soc_t *soc, bool val);
#endif
};
struct cdp_ctrl_ops {