summaryrefslogtreecommitdiff
path: root/qcwcn
diff options
context:
space:
mode:
authorAhmed ElArabawy <arabawy@google.com>2019-03-28 12:08:58 -0700
committerAhmed ElArabawy <arabawy@google.com>2019-03-29 01:53:04 +0000
commit9a9f1afd8651f7a0245abd7a5b221e6fd220b761 (patch)
tree4f5e5162969646b8b98415cdbac23953729cb862 /qcwcn
parent41d7798f68a93664a836c8b86c23addd3db9d17f (diff)
downloadwlan-9a9f1afd8651f7a0245abd7a5b221e6fd220b761.tar.gz
SAR: Add handling of WIFI_POWER_SCENARIO_ON_BODY_BT
This commit adds support for the WIFI_POWER_SCENARIO_ON_BODY_BT SAR scenario, and map it to the proper BDF table. Bug: Test: adb shell halutil -sar enable 5 Change-Id: I3013815acb022f1d395c260ae16e29c4093346c9
Diffstat (limited to 'qcwcn')
-rw-r--r--qcwcn/wifi_hal/wificonfig.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/wificonfig.cpp b/qcwcn/wifi_hal/wificonfig.cpp
index 2c2d1cd..a2f0fb3 100644
--- a/qcwcn/wifi_hal/wificonfig.cpp
+++ b/qcwcn/wifi_hal/wificonfig.cpp
@@ -358,6 +358,7 @@ 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;