From d6fc83630f007049db356c4d74b392f14a8a7c46 Mon Sep 17 00:00:00 2001 From: Ahmed ElArabawy Date: Mon, 12 Apr 2021 09:29:21 -0700 Subject: 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 --- qcwcn/wifi_hal/wificonfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3