qcacmn: Add support to configure REO ring threshold
Add support to configure REO ring threshold through ini for WLAN_DP_PER_RING_TYPE_CONFIG feature. Change-Id: I02a14adcf243905ab25c2af12cb9499f32ff453f CRs-Fixed: 2789147
This commit is contained in:
@@ -1358,7 +1358,12 @@ dp_srng_configure_interrupt_thresholds(struct dp_soc *soc,
|
||||
int ring_type, int ring_num,
|
||||
int num_entries)
|
||||
{
|
||||
if (ring_type == WBM2SW_RELEASE && (ring_num == 3)) {
|
||||
if (ring_type == REO_DST) {
|
||||
ring_params->intr_timer_thres_us =
|
||||
wlan_cfg_get_int_timer_threshold_rx(soc->wlan_cfg_ctx);
|
||||
ring_params->intr_batch_cntr_thres_entries =
|
||||
wlan_cfg_get_int_batch_threshold_rx(soc->wlan_cfg_ctx);
|
||||
} else if (ring_type == WBM2SW_RELEASE && (ring_num == 3)) {
|
||||
ring_params->intr_timer_thres_us =
|
||||
wlan_cfg_get_int_timer_threshold_other(soc->wlan_cfg_ctx);
|
||||
ring_params->intr_batch_cntr_thres_entries =
|
||||
|
Reference in New Issue
Block a user