Skip to content

Commit

Permalink
openconfig#1159 wifi mac transition modes (openconfig#1162)
Browse files Browse the repository at this point in the history
* fixing openconfig#1159 adding transition modes

* Update version and revision history

* fixed trailing whitespace
  • Loading branch information
jsnyder81 authored Aug 21, 2024
1 parent 147cfe8 commit 5c402a1
Showing 1 changed file with 35 additions and 6 deletions.
41 changes: 35 additions & 6 deletions release/models/wifi/openconfig-wifi-mac.yang
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ module openconfig-wifi-mac {
description
"Model for managing MAC layer configuration of Radio interfaces.";

oc-ext:openconfig-version "1.3.1";
oc-ext:openconfig-version "1.3.2";

revision "2024-08-07" {
description
"Add transition modes ENHANCED_OPEN_TRANSITION, WPA3_2_SAE_TRANSITION and
WPA3_2_ENTERPRISE_TRANSITION";
}

revision "2023-05-26" {
description
Expand Down Expand Up @@ -253,15 +259,30 @@ module openconfig-wifi-mac {
description
"Open authentication with Opportunistic Wireless Encryption.";
}
enum ENHANCED_OPEN_TRANSITION {
description
"Open authentication with Opportunistic Wireless Encryption and
support for transition mode.";
}
enum WPA3_SAE {
description
"WPA3-SAE using Simultaneous Authentication of Equals (SAE).";
}
enum WPA3_2_SAE_TRANSITION {
description
"WPA3-SAE using Simultaneous Authentication of Equals (SAE) and
WPA2-PSK AKMs.";
}
enum WPA3_ENTERPRISE {
description
"WPA3-Enterprise with 802.1X SHA-256 authentication key
management.";
}
enum WPA3_2_ENTERPRISE_TRANSITION {
description
"WPA3-Enterprise with 802.1X SHA-256 authentication key
management.";
}
enum WPA3_ENTERPRISE_192_BIT {
description
"WPA3-Enterprise with 802.1X SHA-384 authentication key
Expand All @@ -284,7 +305,8 @@ module openconfig-wifi-mac {
}

leaf wpa3-psk {
when "../opmode = 'WPA3_SAE'";
when "../opmode = 'WPA3_SAE' or
../opemode = 'WPA3_2_SAE_TRANSITION";
type string {
length "8..63";
}
Expand All @@ -296,8 +318,10 @@ module openconfig-wifi-mac {
when "../opmode = 'WPA2_ENTERPRISE' or
../opmode = 'WPA2_PERSONAL' or
../opmode = 'WPA3_ENTERPRISE' or
../opmode = 'WPA3_2_ENTERPRISE_TRANSITION
../opmode = 'WPA3_ENTERPRISE_192_BIT' or
../opmode = 'WPA3_SAE'";
../opmode = 'WPA3_SAE' or
../opmode = 'WPA3_2_SAE_TRANSITION'";
type string;
description
"Specifies the RADIUS server-group to be used,
Expand Down Expand Up @@ -367,9 +391,14 @@ module openconfig-wifi-mac {
}

leaf mfp {
when "../opmode = 'WPA3_ENTERPRISE' or ../opmode =
'WPA3_ENTERPRISE_192_BIT' or ../opmode =
'WPA3_SAE' or ../opmode = 'ENHANCED_OPEN'";
when "../opmode = 'WPA3_ENTERPRISE' or
../opmode = 'WPA3_2_ENTERPRISE_TRANSITION
../opmode = 'WPA3_ENTERPRISE_192_BIT' or
../opmode = 'WPA3_SAE' or
../opmode = 'WPA3_2_SAE_TRANSITION
../opmode = 'ENHANCED_OPEN'
../opmode = 'ENHANCED_OPEN_TRANSITION
";
type boolean;
mandatory true;
description
Expand Down

0 comments on commit 5c402a1

Please sign in to comment.