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

Commit 62477018 authored by Vinit Deshpande's avatar Vinit Deshpande
Browse files

Introduce config_wifi_revert_country_code_on_cellular_loss

This setting allows wifi country code to automatically reset
to default (i.e. ro.boot.wificountrycode property value) when
cellular modem loses MCC

bug: 21795172

Change-Id: I20bd3a260b639dba331305c6baa39ffb52e2fd6f
parent 566886f7
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -387,6 +387,10 @@
    <!-- Boolean indicating autojoin will prefer 5GHz and choose 5GHz BSSIDs -->
    <!-- Boolean indicating autojoin will prefer 5GHz and choose 5GHz BSSIDs -->
    <bool translatable="true" name="config_wifi_enable_5GHz_preference">true</bool>
    <bool translatable="true" name="config_wifi_enable_5GHz_preference">true</bool>


    <!-- Boolean indicating whether or not to revert to default country code when cellular
         radio is unable to find any MCC information to infer wifi country code from -->
    <bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool>

    <!-- Integer specifying the basic autojoin parameters -->
    <!-- Integer specifying the basic autojoin parameters -->
    <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_threshold">-65</integer>
    <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_threshold">-65</integer>
    <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_factor">5</integer>
    <integer translatable="false" name="config_wifi_framework_5GHz_preference_boost_factor">5</integer>
+1 −0
Original line number Original line Diff line number Diff line
@@ -301,6 +301,7 @@
  <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_enable_disconnection_debounce" />
  <java-symbol type="bool" name="config_wifi_enable_disconnection_debounce" />
  <java-symbol type="bool" name="config_wifi_enable_5GHz_preference" />
  <java-symbol type="bool" name="config_wifi_enable_5GHz_preference" />
  <java-symbol type="bool" name="config_wifi_revert_country_code_on_cellular_loss" />
  <java-symbol type="bool" name="config_supportMicNearUltrasound" />
  <java-symbol type="bool" name="config_supportMicNearUltrasound" />
  <java-symbol type="bool" name="config_supportSpeakerNearUltrasound" />
  <java-symbol type="bool" name="config_supportSpeakerNearUltrasound" />
  <java-symbol type="integer" name="config_wifi_framework_5GHz_preference_boost_threshold" />
  <java-symbol type="integer" name="config_wifi_framework_5GHz_preference_boost_threshold" />