qcacmn: suspend/resume changes for WCN6450
Changes required for suspend/resume support for WCN6450 Change-Id: I4610f6bdb8de92f03884af6c07a5141dd27174be CRs-Fixed: 3447469
This commit is contained in:

committad av
Madan Koyyalamudi

förälder
476546a791
incheckning
26099afe23
@@ -1932,4 +1932,17 @@ static inline uint32_t dp_tx_get_pkt_len(struct dp_tx_desc_s *tx_desc)
|
||||
tx_desc->msdu_ext_desc->tso_desc->seg.total_len :
|
||||
qdf_nbuf_len(tx_desc->nbuf);
|
||||
}
|
||||
|
||||
#ifdef FEATURE_RUNTIME_PM
|
||||
static inline int dp_get_rtpm_tput_policy_requirement(struct dp_soc *soc)
|
||||
{
|
||||
return qdf_atomic_read(&soc->rtpm_high_tput_flag) &&
|
||||
(hif_rtpm_get_state() <= HIF_RTPM_STATE_ON);
|
||||
}
|
||||
#else
|
||||
static inline int dp_get_rtpm_tput_policy_requirement(struct dp_soc *soc)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Referens i nytt ärende
Block a user