Merge pull request #133 from stephb9959/main

[WIFI-10928]  Added wpa3-mixed encryption proto option to configuration
This commit is contained in:
Charles Bourque
2022-09-28 14:45:59 +01:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ const CreateTagForm = ({
};
const createParameters = ({ serialNumber, name, description, note, deviceType, devClass, deviceRules, entity }) => ({
serialNumber,
serialNumber: serialNumber.toLowerCase(),
name,
deviceRules,
deviceType,

View File

@@ -16,7 +16,7 @@ interface Props {
isPasspoint?: boolean;
}
const EncryptionForm: React.FC<Props> = ({
const EncryptionForm = ({
editing,
namePrefix,
radiusPrefix,
@@ -25,7 +25,7 @@ const EncryptionForm: React.FC<Props> = ({
isKeyNeeded,
isUsingRadius,
isPasspoint,
}) => (
}: Props) => (
<>
<Flex mt={4}>
<Heading size="md" borderBottom="1px solid">
@@ -41,6 +41,7 @@ const EncryptionForm: React.FC<Props> = ({
isDisabled={!editing}
isRequired
onChange={onProtoChange}
w="300px"
/>
{isKeyNeeded && (
<StringField
@@ -64,6 +65,7 @@ const EncryptionForm: React.FC<Props> = ({
]}
isDisabled={!editing}
isRequired
w="120px"
/>
)}
</SimpleGrid>

View File

@@ -62,6 +62,7 @@ export const ENCRYPTION_OPTIONS = [
{ value: 'sae-mixed', label: 'WPA2/WPA3 Transitional' },
{ value: 'wpa3', label: 'WPA3-Enterprise EAP-TLS' },
{ value: 'wpa3-192', label: 'WPA3-192-Enterprise EAP-TLS' },
{ value: 'wpa3-mixed', label: 'WPA3-Enterprise-Mixed' },
{ value: 'owe', label: 'OWE' },
{ value: 'owe-transition', label: 'OWE-Transition' },
];