소스 검색

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 년 전
부모
커밋
035e4557da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) */
 	}