Merge "WifiManager: add call to see if apband conversion is required" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
85bdd711ce
@@ -519,6 +519,10 @@
|
||||
<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
|
||||
<bool translatable="false" name="config_wifi_dual_band_support">false</bool>
|
||||
|
||||
<!-- Boolean indicating whether the wifi chipset requires the softap band be -->
|
||||
<!-- converted from 5GHz to ANY due to hardware restrictions -->
|
||||
<bool translatable="false" name="config_wifi_convert_apband_5ghz_to_any">false</bool>
|
||||
|
||||
<!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
|
||||
<bool translatable="false" name="config_wifi_fast_bss_transition_enabled">false</bool>
|
||||
|
||||
|
||||
@@ -1867,6 +1867,7 @@
|
||||
<java-symbol type="bool" name="config_supportLongPressPowerWhenNonInteractive" />
|
||||
<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_fast_bss_transition_enabled" />
|
||||
<java-symbol type="bool" name="config_wimaxEnabled" />
|
||||
<java-symbol type="bool" name="show_ongoing_ime_switcher" />
|
||||
|
||||
@@ -107,6 +107,8 @@ interface IWifiManager
|
||||
|
||||
boolean isDualBandSupported();
|
||||
|
||||
boolean needs5GHzToAnyApBandConversion();
|
||||
|
||||
DhcpInfo getDhcpInfo();
|
||||
|
||||
boolean isScanAlwaysAvailable();
|
||||
|
||||
@@ -1762,6 +1762,19 @@ public class WifiManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the chipset requires conversion of 5GHz Only apBand to ANY.
|
||||
* @return {@code true} if required, {@code false} otherwise.
|
||||
* @hide
|
||||
*/
|
||||
public boolean isDualModeSupported() {
|
||||
try {
|
||||
return mService.needs5GHzToAnyApBandConversion();
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the DHCP-assigned addresses from the last successful DHCP request,
|
||||
* if any.
|
||||
|
||||
Reference in New Issue
Block a user