[NEUS7920-477] [9610] wlbt: Parametrize and reduce redistribution time
authorAlbert Cano <a.canocamps@samsung.com>
Tue, 21 May 2019 09:57:37 +0000 (10:57 +0100)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:46:23 +0000 (23:46 +0900)
commitaad334b19dd52d939fd45be5be69a1d35586ee36
treed17b1b76fb89d9513d528dccf21a06bff9861551
parentb5106151de70dec14c2aaa02611ca7f50d247131
[NEUS7920-477] [9610] wlbt: Parametrize and reduce redistribution time

It has been observed tput drops when [m]DNS or TCP SYNC
packets are transmitted on high tput scenerarios.

Current driver changes the AC category to VO
on [m]DNS and TCP SYNC frames. When AC VO is selected, balance
of traffic will assign mbulk memory to this AC by halving
the available memory. That effectivily means that on high tput
scenarios the memory available is halved and tput drops (less
frames sent to FW before flow control triggers).

BoT algorithm is able to redistribute mbulk memory if one of
the subqueues is not used. However the current algorithm checks
if the queues has not been used for 5 seconds. This time is high
when we require high tput.

The patch addresses the issue by parametrizing the time to
redistribute and setting a value of 0 ms.

Change-Id: I22bcb33a5b39e55c90f25ced2582babe55eb9faf
SCSC-Bug-Id: SSB-52811
Signed-off-by: Albert Cano <a.canocamps@samsung.com
drivers/net/wireless/scsc/scsc_wifi_fcq.c