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
This commit is contained in:

committed by
Madan Koyyalamudi

orang tua
5c0f11603d
melakukan
204b765390
@@ -427,6 +427,7 @@ struct wlan_cfg_dp_soc_ctxt {
|
||||
#endif
|
||||
uint8_t mpdu_retry_threshold_1;
|
||||
uint8_t mpdu_retry_threshold_2;
|
||||
uint8_t napi_scale_factor;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -2156,4 +2157,14 @@ wlan_cfg_get_tx_capt_max_mem(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
}
|
||||
#endif /* WLAN_TX_PKT_CAPTURE_ENH */
|
||||
|
||||
/**
|
||||
* wlan_cfg_get_napi_scale_factor() - Get napi scale factor
|
||||
*
|
||||
*
|
||||
* @cfg: soc configuration context
|
||||
*
|
||||
* Return: napi scale factor
|
||||
*/
|
||||
uint8_t wlan_cfg_get_napi_scale_factor(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
#endif /*__WLAN_CFG_H*/
|
||||
|
Reference in New Issue
Block a user