[SAE] Support for WPA3 Personal auto-upgrade

Support for auto-upgrading WPA2-Personal saved network to
WPA3-Personal. Match PSK saved networks to SAE scan result
candidates for auto-upgrade. Do not auto-upgrade if legacy
PSK APs are in range, to allow roaming.
Added overlays to enable or disable the feature, and to
allow driver offload, where the framework would always
send both PSK and SAE key managements to supplicant.

Bug: 142507644
Test: atest ScanResultMatchInfoTest ClientModeImplTest WifiCandidatesTest
Test: Manual test with WPA3 in transition AP, verify upgrade
Test: Manual test with WPA3 in transition AP and WPA2 AP in range,
verify no upgrade

Change-Id: I4025de47ac4e508b97ae044d01ab699ff5be0146
diff --git a/service/res/values/config.xml b/service/res/values/config.xml
index d6f2532..f9c272a 100644
--- a/service/res/values/config.xml
+++ b/service/res/values/config.xml
@@ -347,4 +347,10 @@
 
     <!-- Integer indicating the RSSI and link layer stats polling interval in milliseconds when device is connected and screen is on -->
     <integer translatable="false" name="config_wifiPollRssiIntervalMilliseconds">3000</integer>
+
+    <!-- Enable WPA2 to WPA3 auto-upgrade -->
+    <bool translatable="false" name="config_wifiSaeUpgradeEnabled">true</bool>
+
+    <!-- Enable WPA2 to WPA3 auto-upgrade offload to capable Driver/Firmware -->
+    <bool translatable="false" name="config_wifiSaeUpgradeOffloadEnabled">false</bool>
 </resources>