WiFi: Add configs for SAR support of body sensors

This commit adds the configurations for support of body sensors in SAR
for WiFi.
It also modifies the name of the configuration to enable SAR.

Bug: 65174506
Test: Run Wifi unit test suite
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh

Change-Id: I323b238a823494b8e25fc87886616a54f83b903e
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
This commit is contained in:
Ahmed ElArabawy
2018-05-08 08:52:26 -07:00
parent 551328eaaa
commit 8fed14cdcb
2 changed files with 28 additions and 4 deletions

View File

@@ -659,9 +659,27 @@
<!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) -->
<bool translatable="false" name="config_wifi_only_link_same_credential_configurations">true</bool>
<!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements
during voice calls -->
<bool translatable="false" name="config_wifi_framework_enable_voice_call_sar_tx_power_limit">false</bool>
<!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements -->
<bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">false</bool>
<!-- Boolean indicating whether framework needs to use body proximity to set the tx power limit
for meeting SAR requirements -->
<bool translatable="false" name="config_wifi_framework_enable_body_proximity_sar_tx_power_limit">false</bool>
<!-- String for the sensor type for body/head proximity for SAR -->
<string translatable="false" name="config_wifi_sar_sensor_type"></string>
<!-- Integer indicating event id by sar sensor for free space -->
<integer translatable="false" name="config_wifi_framework_sar_free_space_event_id">1</integer>
<!-- Integer indicating event id by sar sensor for near hand -->
<integer translatable="false" name="config_wifi_framework_sar_near_hand_event_id">2</integer>
<!-- Integer indicating event id by sar sensor for near head -->
<integer translatable="false" name="config_wifi_framework_sar_near_head_event_id">3</integer>
<!-- Integer indicating event id by sar sensor for near body -->
<integer translatable="false" name="config_wifi_framework_sar_near_body_event_id">4</integer>
<!-- Wifi driver supports batched scan -->
<bool translatable="false" name="config_wifi_batched_scan_supported">false</bool>

View File

@@ -336,7 +336,13 @@
<java-symbol type="bool" name="config_wifi_framework_enable_associated_network_selection" />
<java-symbol type="bool" name="config_wifi_framework_use_single_radio_chain_scan_results_network_selection" />
<java-symbol type="bool" name="config_wifi_only_link_same_credential_configurations" />
<java-symbol type="bool" name="config_wifi_framework_enable_voice_call_sar_tx_power_limit" />
<java-symbol type="bool" name="config_wifi_framework_enable_sar_tx_power_limit" />
<java-symbol type="bool" name="config_wifi_framework_enable_body_proximity_sar_tx_power_limit" />
<java-symbol type="string" name="config_wifi_sar_sensor_type" />
<java-symbol type="integer" name="config_wifi_framework_sar_free_space_event_id" />
<java-symbol type="integer" name="config_wifi_framework_sar_near_hand_event_id" />
<java-symbol type="integer" name="config_wifi_framework_sar_near_head_event_id" />
<java-symbol type="integer" name="config_wifi_framework_sar_near_body_event_id" />
<java-symbol type="bool" name="config_wifi_enable_disconnection_debounce" />
<java-symbol type="bool" name="config_wifi_revert_country_code_on_cellular_loss" />
<java-symbol type="bool" name="config_wifi_enable_wifi_firmware_debugging" />