qcacmn: get NAPI scale factor through ini configuration
NAPI scale factor should be configured based on the board type. for example Hawkeye could have a different scale factor compared to Alder. CRs-Fixed: 3212330 Change-Id: Ie0bad6aade9ca9379997aa974154f9fb903ab93e
Tento commit je obsažen v:

odevzdal
Madan Koyyalamudi

rodič
5c0f11603d
revize
204b765390
@@ -2154,6 +2154,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
|
||||
wlan_cfg_ctx->mpdu_retry_threshold_2 =
|
||||
cfg_get(psoc, CFG_DP_MPDU_RETRY_THRESHOLD_2);
|
||||
|
||||
wlan_cfg_ctx->napi_scale_factor = cfg_get(psoc,
|
||||
CFG_DP_NAPI_SCALE_FACTOR);
|
||||
return wlan_cfg_ctx;
|
||||
}
|
||||
|
||||
@@ -3401,3 +3403,8 @@ bool wlan_cfg_get_txmon_hw_support(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
}
|
||||
|
||||
qdf_export_symbol(wlan_cfg_get_txmon_hw_support);
|
||||
|
||||
uint8_t wlan_cfg_get_napi_scale_factor(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->napi_scale_factor;
|
||||
}
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele