qcacmn: Set low threshold for monitor ring

Configure low threshold for monitor ring only when monitor
vap is created. This is needed to avoid spurious low threshold
interrupts on monitor ring since the low threshold condition always
evaluates to true.

Change-Id: I452c0ada84e0a4f18e410c865d8a6a7f50329aef
This commit is contained in:
Nandha Kishore Easwaran
2020-05-18 21:13:46 +05:30
committed by nshrivas
parent 3e3a071188
commit 3e8172d58b
3 changed files with 27 additions and 3 deletions

View File

@@ -686,6 +686,9 @@ extern uint32_t hal_srng_get_entrysize(void *hal_soc, int ring_type);
*/
uint32_t hal_srng_max_entries(void *hal_soc, int ring_type);
void hal_set_low_threshold(hal_ring_handle_t hal_ring_hdl,
uint32_t low_threshold);
/**
* hal_srng_dump - Dump ring status
* @srng: hal srng pointer