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:
Nirav Shah
2020-09-30 17:06:38 +05:30
committed by snandini
szülő 478749a365
commit 0fb3541617
3 fájl változott, egészen pontosan 19 új sor hozzáadva és 5 régi sor törölve

Fájl megtekintése

@@ -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 =