From 2cf8cd39787a1135ef28f5c0ecc5ce1865297af5 Mon Sep 17 00:00:00 2001 From: Ahmed ElArabawy Date: Mon, 17 May 2021 09:56:56 -0700 Subject: [PATCH] WiFi: Add new SAR Scenarios for foldable devices This commit adds new SAR scenarios for foldable devices. Bug: 188138055 Test: Verify proper scenario selection Change-Id: I472d3989edb1f8949a0eb1efd249b13aa55dc537 --- include/hardware_legacy/wifi_hal.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index 81948d6..6adefdb 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -80,6 +80,18 @@ typedef enum { WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_BT = 10, WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_MMW = 11, WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_BT_MMW = 12, + WIFI_POWER_SCENARIO_ON_HEAD_CELL_OFF_UNFOLDED = 13, + WIFI_POWER_SCENARIO_ON_HEAD_CELL_ON_UNFOLDED = 14, + WIFI_POWER_SCENARIO_ON_HEAD_HOTSPOT_UNFOLDED = 15, + WIFI_POWER_SCENARIO_ON_HEAD_HOTSPOT_MMW_UNFOLDED = 16, + WIFI_POWER_SCENARIO_ON_BODY_CELL_OFF_UNFOLDED = 17, + WIFI_POWER_SCENARIO_ON_BODY_BT_UNFOLDED = 18, + WIFI_POWER_SCENARIO_ON_BODY_CELL_ON_UNFOLDED = 19, + WIFI_POWER_SCENARIO_ON_BODY_CELL_ON_BT_UNFOLDED = 20, + WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_UNFOLDED = 21, + WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_BT_UNFOLDED = 22, + WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_MMW_UNFOLDED = 23, + WIFI_POWER_SCENARIO_ON_BODY_HOTSPOT_BT_MMW_UNFOLDED = 24, } wifi_power_scenario; typedef enum {