Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fed14cd authored by Ahmed ElArabawy's avatar Ahmed ElArabawy
Browse files

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: default avatarAhmed ElArabawy <arabawy@google.com>
parent 551328ea
Loading
Loading
Loading
Loading
+21 −3
Original line number Original line Diff line number Diff line
@@ -659,9 +659,27 @@
    <!-- Boolean indicating that wifi only link configuratios that have exact same credentials (i.e PSK) -->
    <!-- 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>
    <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
    <!-- 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_sar_tx_power_limit">false</bool>
    <bool translatable="false" name="config_wifi_framework_enable_voice_call_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 -->
    <!-- Wifi driver supports batched scan -->
    <bool translatable="false" name="config_wifi_batched_scan_supported">false</bool>
    <bool translatable="false" name="config_wifi_batched_scan_supported">false</bool>
+7 −1
Original line number Original line Diff line number Diff line
@@ -336,7 +336,13 @@
  <java-symbol type="bool" name="config_wifi_framework_enable_associated_network_selection" />
  <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_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_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_enable_disconnection_debounce" />
  <java-symbol type="bool" name="config_wifi_revert_country_code_on_cellular_loss" />
  <java-symbol type="bool" name="config_wifi_revert_country_code_on_cellular_loss" />
  <java-symbol type="bool" name="config_wifi_enable_wifi_firmware_debugging" />
  <java-symbol type="bool" name="config_wifi_enable_wifi_firmware_debugging" />