gta4xl-common: Enable MAC randomization

Change-Id: Ia3f58a44c2e072aaa6c711a9db37219626894c67
diff --git a/BoardConfigPlatform.mk b/BoardConfigPlatform.mk
index 98f968f..335d8d5 100644
--- a/BoardConfigPlatform.mk
+++ b/BoardConfigPlatform.mk
@@ -212,8 +212,6 @@
 # hardware/samsung/wifiloader/Android.mk
 WIFI_DRIVER_FW_PATH_PARAM        := "/sys/module/bcmdhd/parameters/firmware_path"
 
-WIFI_HIDL_FEATURE_DISABLE_AP_MAC_RANDOMIZATION := true
-
 ### RIL
 # Use stock RIL stack
 ENABLE_VENDOR_RIL_SERVICE := true
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index ccd94df..06cbcea 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -92,6 +92,12 @@
     <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
     <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
 
+    <!-- True if the firmware supports connected MAC randomization -->
+    <bool name="config_wifi_connected_mac_randomization_supported">true</bool>
+
+    <!-- True if the firmware supports p2p MAC randomization -->
+    <bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
+
     <!-- List of regexpressions describing the interface (if any) that represent tetherable
          bluetooth interfaces.  If the device doesn't want to support tethering over bluetooth this
          should be empty. -->