summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsiu-Chang Chen <hsiuchangchen@google.com>2023-07-20 13:27:47 +0800
committerHsiu-Chang Chen <hsiuchangchen@google.com>2023-07-20 08:13:41 +0000
commitac07b99c6dde538b74605962e125112533b41f5a (patch)
tree7a7a32d606437a8e648ccfc131eb8d2ac805192b
parentd96c661e9735dd7c83d378e1a2f2527d96e1565e (diff)
downloadwlan-ac07b99c6dde538b74605962e125112533b41f5a.tar.gz
Map WIFI_LATENCY_MODE_LOW to LOW latency mode
Align the mapping with other projects. Mapping to Ultralow latency mode will block host scan. Bug: 288633289 Test: halutil -latency Change-Id: Icff91219bbb7e83a68661c5a4e27043e35e22d00
-rw-r--r--wcn6740/qcwcn/wifi_hal/wificonfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcn6740/qcwcn/wifi_hal/wificonfig.cpp b/wcn6740/qcwcn/wifi_hal/wificonfig.cpp
index 5aec138..3217c72 100644
--- a/wcn6740/qcwcn/wifi_hal/wificonfig.cpp
+++ b/wcn6740/qcwcn/wifi_hal/wificonfig.cpp
@@ -1216,7 +1216,7 @@ wifi_error wifi_set_latency_mode(wifi_interface_handle iface,
level = QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL_NORMAL;
break;
case WIFI_LATENCY_MODE_LOW:
- level = QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL_ULTRALOW;
+ level = QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL_LOW;
break;
default:
ALOGI("%s: Unsupported latency mode=%d, resetting to NORMAL!", __FUNCTION__, mode);