mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacmn: Disable batch intr for SW source rings
Source SRNG rings like RXDMA buffer rings only need low threshold interrupts to ensure they are not empty. Disable batch interrupts by setting batch count to 0. Change-Id: I5de38caa1fccf162143d9598c0499dd8c5318391
This commit is contained in:
parent
44ece32672
commit
bef3b1b9b2
1 changed files with 3 additions and 1 deletions
|
|
@ -663,7 +663,9 @@ static int dp_srng_setup(struct dp_soc *soc, struct dp_srng *srng,
|
|||
*/
|
||||
ring_params.low_threshold = num_entries >> 3;
|
||||
ring_params.flags |= HAL_SRNG_LOW_THRES_INTR_ENABLE;
|
||||
ring_params.intr_timer_thres_us = 0x1000;
|
||||
ring_params.intr_timer_thres_us =
|
||||
wlan_cfg_get_int_timer_threshold_rx(soc->wlan_cfg_ctx);
|
||||
ring_params.intr_batch_cntr_thres_entries = 0;
|
||||
}
|
||||
|
||||
srng->hal_srng = hal_srng_setup(hal_soc, ring_type, ring_num,
|
||||
|
|
|
|||
Loading…
Reference in a new issue