Browse Source

Enable GPS/Wifi coex for L10

Enable GPS/Wifi coex for L10 using the default values from P10

Bug: 263211979
Test: none
Change-Id: I6604b1ca36029b1a76222e11ef9adec06cecbb33
Quang Luong 2 years ago
parent
commit
b0cf5c0b08
1 changed files with 5 additions and 0 deletions
  1. 5 0
      rro_overlays/WifiOverlay/res/values/config.xml

+ 5 - 0
rro_overlays/WifiOverlay/res/values/config.xml

@@ -126,6 +126,11 @@
     <!-- Enable the default coex channel avoidance algorithm and disable the functionality of
     <!-- Enable the default coex channel avoidance algorithm and disable the functionality of
          WifiManager#setCoexUnsafeChannels. -->
          WifiManager#setCoexUnsafeChannels. -->
     <bool translatable="false" name="config_wifiDefaultCoexAlgorithmEnabled">true</bool>
     <bool translatable="false" name="config_wifiDefaultCoexAlgorithmEnabled">true</bool>
+    <!-- If the default coex channel avoidance algorithm is enabled, then avoid channels that
+         conflict with GPS L1. -->
+    <bool translatable="false" name="config_wifiCoexForGpsL1">true</bool>
+    <!-- The distance in KHz between Wi-Fi-based interference and GPS L1 that is considered unsafe. -->
+    <integer translatable="false" name="config_wifiCoexGpsL1ThresholdKhz">10000</integer>
 
 
     <!-- Whether to use the explicit vendor HAL API: IWifiStaIface.setRoamingState for disabling fw roaming. -->
     <!-- Whether to use the explicit vendor HAL API: IWifiStaIface.setRoamingState for disabling fw roaming. -->
     <bool translatable="false" name="config_wifiUseHalApiToDisableFwRoaming">true</bool>
     <bool translatable="false" name="config_wifiUseHalApiToDisableFwRoaming">true</bool>