Hostapd-AIDL: add OWE configuration support.

This Commit adds support for OWE configuration

Bug: 217669241
Test: VTS tests
Change-Id: Ib876ba903ce0d7f247059baa8444c9f733085daf
diff --git a/hostapd/aidl/hostapd.cpp b/hostapd/aidl/hostapd.cpp
index c24e4f7..515fda1 100644
--- a/hostapd/aidl/hostapd.cpp
+++ b/hostapd/aidl/hostapd.cpp
@@ -400,7 +400,15 @@
 			is_6Ghz_band_only ? 1 : 2,
 			nw_params.passphrase.c_str());
 		break;
-	case EncryptionType::OWE_TRANSITION:
+	case EncryptionType::WPA3_OWE_TRANSITION:
+		encryption_config_as_string = StringPrintf(
+			"wpa=2\n"
+			"rsn_pairwise=%s\n"
+			"wpa_key_mgmt=OWE\n"
+			"ieee80211w=2",
+			is_60Ghz_band_only ? "GCMP" : "CCMP");
+		break;
+	case EncryptionType::WPA3_OWE:
 		encryption_config_as_string = StringPrintf(
 			"wpa=2\n"
 			"rsn_pairwise=%s\n"
@@ -836,7 +844,7 @@
 		iface_params_new.name = managed_interfaces[i];
 
 		std::string owe_transition_ifname = "";
-		if (nw_params.encryptionType == EncryptionType::OWE_TRANSITION) {
+		if (nw_params.encryptionType == EncryptionType::WPA3_OWE_TRANSITION) {
 			if (i == 0 && i+1 < channelParamsListSize) {
 				owe_transition_ifname = managed_interfaces[i+1];
 				nw_params_new.encryptionType = EncryptionType::NONE;