Disable firmware roaming in idle mode

Add a configurable overlay to control a whether to disable firmware
roaming when the device goes into idle mode.

When the feature is enabled, all STA ifaces will disable firmware
roaming upon entering idle mode. Upon exiting idle mode, all STAs except
ones being used for the local-only use-case will re-enable firmware
roaming.

Bug: 291349183
Test: atest com.android.server.wifi
Change-Id: Id77fdb65844c8f57d25dbb24576f27ff7d2157df
This commit is contained in:
normanwhl 2023-10-01 16:55:25 +00:00
parent 9f742e4c18
commit 7f9b49f89d

View file

@ -134,4 +134,10 @@
regulatory approval (for example, FCC pre-approval is required according to "594280 D01
Software Configuration Control v02r01").-->
<bool translatable="false" name ="config_wifiUpdateCountryCodeFromScanResultGeneric">true</bool>
<!-- Boolean indicating whether to disable firmware roaming when the device goes into idle mode.
true: firmware roaming will be disabled when the device goes into idle mode, and then
re-activated when the device exits idle mode.
false: firmware roaming will not be affected. -->
<bool translatable="false" name ="config_wifiDisableFirmwareRoamingInIdleMode">true</bool>
</resources>