Browse Source

qcacmn: shift timer_thres by 3

setup to correct value by shifting intr_timer_thres_us
by 3 for interrupt timer to take less time.

Change-Id: I0eb799bf3a3443a7ca4a43512b7ec03444da81bc
CRs-Fixed: 3439468
Ruben Columbus 2 years ago
parent
commit
035e4557da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hal/wifi3.0/hal_generic_api.h

+ 1 - 1
hal/wifi3.0/hal_generic_api.h

@@ -304,7 +304,7 @@ void hal_srng_src_hw_init_generic(struct hal_soc *hal,
 	if (srng->intr_timer_thres_us) {
 		reg_val |= SRNG_SM(SRNG_SRC_FLD(CONSUMER_INT_SETUP_IX0,
 			INTERRUPT_TIMER_THRESHOLD),
-			srng->intr_timer_thres_us);
+			srng->intr_timer_thres_us >> 3);
 		/* For HK v2 this should be (srng->intr_timer_thres_us >> 3) */
 	}