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

Commit 08b4fa3b authored by Patrik Fimml's avatar Patrik Fimml
Browse files

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
parent 80e48cfc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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>

+1 −0
Original line number Diff line number Diff line
@@ -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" />