cnss2: Add idle state to bus voting
WLAN driver removes idle bus vote for low throughput traffic scenarios. Fix it by adding idle state. Remove vote only in case of system suspend or driver unload. Change-Id: I504714afc839320ec8099356c9689ea568313470 CRs-Fixed: 2484000 Signed-off-by: Mahesh Kumar Kalikot Veetil <mkalikot@codeaurora.org>
This commit is contained in:
parent
8ca6d749f9
commit
085f11cac8
2 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,7 @@ int cnss_request_bus_bandwidth(struct device *dev, int bandwidth)
|
|||
|
||||
switch (bandwidth) {
|
||||
case CNSS_BUS_WIDTH_NONE:
|
||||
case CNSS_BUS_WIDTH_IDLE:
|
||||
case CNSS_BUS_WIDTH_LOW:
|
||||
case CNSS_BUS_WIDTH_MEDIUM:
|
||||
case CNSS_BUS_WIDTH_HIGH:
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
enum cnss_bus_width_type {
|
||||
CNSS_BUS_WIDTH_NONE,
|
||||
CNSS_BUS_WIDTH_IDLE,
|
||||
CNSS_BUS_WIDTH_LOW,
|
||||
CNSS_BUS_WIDTH_MEDIUM,
|
||||
CNSS_BUS_WIDTH_HIGH
|
||||
|
|
Loading…
Reference in a new issue