summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmed ElArabawy <arabawy@google.com>2021-04-12 09:29:21 -0700
committerAhmed ElArabawy <arabawy@google.com>2021-04-12 09:33:50 -0700
commitd6fc83630f007049db356c4d74b392f14a8a7c46 (patch)
treec38854b39af78f80858e10424cb0510ea256274e
parent8cd1a267df31a8769f71c32a9b4fcb371c168dd3 (diff)
downloadwlan-d6fc83630f007049db356c4d74b392f14a8a7c46.tar.gz
Correct SAR scenario mapping for HEAD scenarios
This commit fixes the mapping for HEAD scenarios by combining all of them in the same table, this matches previous years mapping. Bug: 162191325 Test: Make sure scenarios are mapped to the right table. Change-Id: I23761becd615c11bde7cd076026ecedf54249d92
-rw-r--r--qcwcn/wifi_hal/wificonfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qcwcn/wifi_hal/wificonfig.cpp b/qcwcn/wifi_hal/wificonfig.cpp
index cf64880..c6ceb9d 100644
--- a/qcwcn/wifi_hal/wificonfig.cpp
+++ b/qcwcn/wifi_hal/wificonfig.cpp
@@ -360,11 +360,11 @@ wifi_error wifi_select_tx_power_scenario(wifi_interface_handle handle,
switch (scenario) {
case WIFI_POWER_SCENARIO_VOICE_CALL:
- case WIFI_POWER_SCENARIO_ON_HEAD_CELL_OFF:
case WIFI_POWER_SCENARIO_ON_BODY_BT:
bdf_file = QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SELECT_BDF0;
break;
+ case WIFI_POWER_SCENARIO_ON_HEAD_CELL_OFF:
case WIFI_POWER_SCENARIO_ON_HEAD_CELL_ON:
case WIFI_POWER_SCENARIO_ON_HEAD_HOTSPOT:
case WIFI_POWER_SCENARIO_ON_HEAD_HOTSPOT_MMW: