diff options
| author | 2019-10-09 17:50:15 +0200 | |
|---|---|---|
| committer | 2019-10-11 17:27:36 +0200 | |
| commit | 08b4fa3bed651430b7e345c7f3047d8fccff92e3 (patch) | |
| tree | c32f7ccd520619ffacdbd5a185ee0868c28d5646 | |
| parent | 80e48cfc447b2e5502e229f2c7b2bb2be5fb0425 (diff) | |
Wifi AP: Add MAC randomization setting
config_wifi_ap_mac_randomization_supported can be overriden by device
overlays, and replaces the
WIFI_HIDL_FEATURE_DISABLE_AP_MAC_RANDOMIZATION Makefile option.
Unlike other randomization options, this defaults to on because it
defaulted to on in the HAL.
Bug: 142387520
Test: atest SoftApManagerTest
Change-Id: I2be1f07e3f489887d33a981324a9190631b477ec
| -rw-r--r-- | core/res/res/values/config.xml | 3 | ||||
| -rw-r--r-- | core/res/res/values/symbols.xml | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 3fef7a2dffae..c19d2900c768 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -758,6 +758,9 @@ <!-- Indicates that p2p MAC randomization is supported on this device --> <bool translatable="false" name="config_wifi_p2p_mac_randomization_supported">false</bool> + <!-- Indicates that AP mode MAC randomization is supported on this device --> + <bool translatable="false" name="config_wifi_ap_mac_randomization_supported">true</bool> + <!-- flag for activating paranoid MAC randomization on a limited set of SSIDs --> <bool translatable="false" name="config_wifi_aggressive_randomization_ssid_whitelist_enabled">false</bool> diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 363bc9ddd75c..c7a25314fd43 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -1970,6 +1970,7 @@ <java-symbol type="bool" name="config_wifi_local_only_hotspot_5ghz" /> <java-symbol type="bool" name="config_wifi_connected_mac_randomization_supported" /> <java-symbol type="bool" name="config_wifi_p2p_mac_randomization_supported" /> + <java-symbol type="bool" name="config_wifi_ap_mac_randomization_supported" /> <java-symbol type="bool" name="config_wifi_aggressive_randomization_ssid_whitelist_enabled" /> <java-symbol type="bool" name="config_wifi_link_probing_supported" /> <java-symbol type="bool" name="config_wifi_fast_bss_transition_enabled" /> |