From b151239a5c040b0a8a7298430e78a14cb40c3617 Mon Sep 17 00:00:00 2001 From: Ivan Chvets Date: Thu, 11 Sep 2025 11:02:40 -0400 Subject: [PATCH] fix: Sync schema. https://telecominfraproject.atlassian.net/browse/WIFI-15016 Signed-off-by: Ivan Chvets --- src/framework/ConfigurationValidator.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/framework/ConfigurationValidator.cpp b/src/framework/ConfigurationValidator.cpp index 86df08e8..de15168e 100644 --- a/src/framework/ConfigurationValidator.cpp +++ b/src/framework/ConfigurationValidator.cpp @@ -276,7 +276,8 @@ static std::string DefaultAPSchema = R"foo( "sae-mixed", "wpa3", "wpa3-192", - "wpa3-mixed" + "wpa3-mixed", + "mpsk-radius" ], "examples": [ "psk2" @@ -2419,6 +2420,11 @@ static std::string DefaultAPSchema = R"foo( "encryption": { "$ref": "#/$defs/interface.ssid.encryption" }, + "enhanced-mpsk": { + "description": "Optionally disable MPSK", + "type": "boolean", + "default": true + }, "multi-psk": { "anyOf": [ { @@ -4450,7 +4456,8 @@ static std::string DefaultSWITCHSchema = R"foo( "sae-mixed", "wpa3", "wpa3-192", - "wpa3-mixed" + "wpa3-mixed", + "mpsk-radius" ], "examples": [ "psk2" @@ -6633,6 +6640,11 @@ static std::string DefaultSWITCHSchema = R"foo( "encryption": { "$ref": "#/$defs/interface.ssid.encryption" }, + "enhanced-mpsk": { + "description": "Optionally disable MPSK", + "type": "boolean", + "default": true + }, "multi-psk": { "anyOf": [ {