DA: Fix for SAE security type 90/283490/1
authorJaehyun Kim <jeik01.kim@samsung.com>
Thu, 27 Oct 2022 13:37:14 +0000 (22:37 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Thu, 27 Oct 2022 13:37:14 +0000 (22:37 +0900)
Change-Id: I37979d6765ceb87e2608349fc3595e4419fcc5b5
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
tools/manager-test/wman_test_ap.c
tools/manager-test/wman_test_extension.c

index 35ae5dd..4ee4e95 100644 (file)
@@ -1374,9 +1374,10 @@ int wman_test_connect_hidden_ap(wifi_manager_h wifi)
        printf("0 -> WIFI_SECURITY_TYPE_NONE\n");
        printf("1 -> WIFI_SECURITY_TYPE_WEP\n");
        printf("2 -> WIFI_SECURITY_TYPE_WPA_PSK/WIFI_SECURITY_TYPE_WPA2_PSK\n");
+       printf("6 -> WIFI_SECURITY_TYPE_SAE\n");
 
        rv = scanf(" %d", &sec_type);
-       if (sec_type == 1 || sec_type == 2) {
+       if (sec_type == 1 || sec_type == 2 || sec_type == 6) {
                printf("Input hidden AP passphrase : ");
                rv = scanf("%64s", passphrase);
        }
index e7fba0f..5f9f1d5 100644 (file)
@@ -380,6 +380,9 @@ static bool __test_get_netlink_scan_list(wifi_manager_ap_h ap, void *user_data)
        case WIFI_MANAGER_SECURITY_TYPE_WPA2_PSK:
                printf("WPA2PSK, ");
                break;
+       case WIFI_MANAGER_SECURITY_TYPE_SAE:
+               printf("SAE, ");
+               break;
        case WIFI_MANAGER_SECURITY_TYPE_EAP:
                printf("EAP, ");
                break;