Allow to configure local-only hotspot on 5ghz

Allow OEMs to configure whether local-only hotspot could be started
5Ghz band.  This is important for wireless Android Auto projection
we require to run hotspot on 5Ghz band.

Bug: 115666270

Test: verified that local-only hotspot starts at 5Ghz and Android
projection works

Change-Id: I7728806ba5c6652b294d4da4754c1df7b578658c
This commit is contained in:
Pavel Maltsev
2018-09-13 14:15:38 -07:00
parent 043a3a713d
commit df154b575d
2 changed files with 5 additions and 0 deletions

View File

@@ -697,6 +697,10 @@
<!-- Wifi driver supports IEEE80211AC for softap -->
<bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">false</bool>
<!-- Indicates that local-only hotspot should be brought up at 5GHz. This option is
for automotive builds only (the one that have PackageManager#FEATURE_AUTOMOTIVE) -->
<bool translatable="false" name="config_wifi_local_only_hotspot_5ghz">false</bool>
<!-- Flag indicating whether we should enable the automatic brightness.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">false</bool>

View File

@@ -1873,6 +1873,7 @@
<java-symbol type="bool" name="config_wifi_background_scan_support" />
<java-symbol type="bool" name="config_wifi_dual_band_support" />
<java-symbol type="bool" name="config_wifi_convert_apband_5ghz_to_any" />
<java-symbol type="bool" name="config_wifi_local_only_hotspot_5ghz" />
<java-symbol type="bool" name="config_wifi_fast_bss_transition_enabled" />
<java-symbol type="bool" name="config_wimaxEnabled" />
<java-symbol type="bool" name="show_ongoing_ime_switcher" />