summaryrefslogtreecommitdiff
path: root/qcwcn
diff options
context:
space:
mode:
authorAhmed ElArabawy <arabawy@google.com>2021-03-16 18:07:40 -0700
committerAhmed ElArabawy <arabawy@google.com>2021-03-16 18:07:40 -0700
commit8cd1a267df31a8769f71c32a9b4fcb371c168dd3 (patch)
tree83a82b9c10f476bc507ccd5cb151146890569c88 /qcwcn
parentc0975f94f04ba1bec99fc7072844c02036c9c8fc (diff)
downloadwlan-8cd1a267df31a8769f71c32a9b4fcb371c168dd3.tar.gz
Map new SAR scenarios to tables
This commit maps the new SAR scenarios to the existing tables Bug: 162191325 Test: Proper detection of SAR scenarios and tables Change-Id: I273a6271f62c3cc81c40404980b72a88e0b15388
Diffstat (limited to 'qcwcn')
-rw-r--r--qcwcn/wifi_hal/wificonfig.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/wificonfig.cpp b/qcwcn/wifi_hal/wificonfig.cpp
index 8ab296a..cf64880 100644
--- a/qcwcn/wifi_hal/wificonfig.cpp
+++ b/qcwcn/wifi_hal/wificonfig.cpp
@@ -366,6 +366,8 @@ wifi_error wifi_select_tx_power_scenario(wifi_interface_handle handle,
break;
case WIFI_POWER_SCENARIO_ON_HEAD_CELL_ON:
+ case WIFI_POWER_SCENARIO_ON_HEAD_HOTSPOT:
+ case WIFI_POWER_SCENARIO_ON_HEAD_HOTSPOT_MMW:
bdf_file = QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SELECT_BDF1;
break;
@@ -374,6 +376,11 @@ wifi_error wifi_select_tx_power_scenario(wifi_interface_handle handle,
break;
case WIFI_POWER_SCENARIO_ON_BODY_CELL_ON:
+ case WIFI_POWER_SCENARIO_ON_BODY_CELL_ON_BT:
+ case WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT:
+ case WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_BT:
+ case WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_MMW:
+ case WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_BT_MMW:
bdf_file = QCA_WLAN_VENDOR_ATTR_SAR_LIMITS_SELECT_BDF3;
break;