|
360 | 360 | {"$ref": "#/definitions/encryption_none"}, |
361 | 361 | {"$ref": "#/definitions/encryption_wpa3_personal"}, |
362 | 362 | {"$ref": "#/definitions/encryption_wpa3_enterprise_ap"}, |
363 | | - {"$ref": "#/definitions/encryption_wpa3_2_personal"}, |
364 | | - {"$ref": "#/definitions/encryption_wpa3_2_enterprise_ap"}, |
| 363 | + {"$ref": "#/definitions/encryption_wpa3_personal_mixed"}, |
| 364 | + {"$ref": "#/definitions/encryption_wpa3_enterprise_ap_mixed"}, |
365 | 365 | {"$ref": "#/definitions/encryption_wpa_personal"}, |
366 | 366 | {"$ref": "#/definitions/encryption_wpa_enterprise_ap"}, |
367 | 367 | {"$ref": "#/definitions/encryption_wps"}, |
|
381 | 381 | {"$ref": "#/definitions/encryption_none"}, |
382 | 382 | {"$ref": "#/definitions/encryption_wpa3_personal"}, |
383 | 383 | {"$ref": "#/definitions/encryption_wpa3_enterprise_sta"}, |
384 | | - {"$ref": "#/definitions/encryption_wpa3_2_personal"}, |
385 | | - {"$ref": "#/definitions/encryption_wpa3_2_enterprise_sta"}, |
| 384 | + {"$ref": "#/definitions/encryption_wpa3_personal_mixed"}, |
| 385 | + {"$ref": "#/definitions/encryption_wpa3_enterprise_sta_mixed"}, |
386 | 386 | {"$ref": "#/definitions/encryption_wpa_personal"}, |
387 | 387 | {"$ref": "#/definitions/encryption_wpa_enterprise_sta"}, |
388 | 388 | {"$ref": "#/definitions/encryption_wep"}, |
|
451 | 451 | } |
452 | 452 | } |
453 | 453 | }, |
| 454 | + "encryption_cipher_ccmp_required": { |
| 455 | + "required": ["cipher"], |
| 456 | + "properties": { |
| 457 | + "cipher": { |
| 458 | + "type": "string", |
| 459 | + "enum": ["ccmp"], |
| 460 | + "options": {"enum_titles": ["Force CCMP (AES)"]}, |
| 461 | + "readOnly": True, |
| 462 | + "propertyOrder": 3, |
| 463 | + } |
| 464 | + }, |
| 465 | + }, |
454 | 466 | "encryption_mfp_property": { |
455 | 467 | "properties": { |
456 | 468 | "ieee80211w": { |
|
469 | 481 | "type": "string", |
470 | 482 | "title": "management frame protection", |
471 | 483 | "enum": ["2"], |
| 484 | + "readOnly": True, |
472 | 485 | "options": {"enum_titles": ["required"]}, |
473 | 486 | "propertyOrder": 4, |
474 | 487 | } |
|
480 | 493 | "ieee80211w": { |
481 | 494 | "type": "string", |
482 | 495 | "title": "management frame protection", |
483 | | - "enum": ["1", "2"], |
| 496 | + "enum": ["1"], |
| 497 | + "readOnly": True, |
484 | 498 | "options": {"enum_titles": ["optional", "required"]}, |
485 | 499 | "propertyOrder": 4, |
486 | 500 | } |
487 | 501 | }, |
488 | 502 | }, |
489 | 503 | "encryption_wpa3_personal": { |
490 | | - "title": "WPA3 only Personal", |
| 504 | + "title": "WPA3 Personal", |
491 | 505 | "allOf": [ |
492 | 506 | {"$ref": "#/definitions/encryption_base_settings"}, |
493 | | - {"$ref": "#/definitions/encryption_cipher_property"}, |
| 507 | + {"$ref": "#/definitions/encryption_cipher_ccmp_required"}, |
494 | 508 | {"$ref": "#/definitions/encryption_mfp_property_required"}, |
495 | 509 | { |
496 | 510 | "properties": { |
|
503 | 517 | }, |
504 | 518 | ], |
505 | 519 | }, |
506 | | - "encryption_wpa3_2_personal": { |
507 | | - "title": "WPA3/WPA2 Personal", |
| 520 | + "encryption_wpa3_personal_mixed": { |
| 521 | + "title": "WPA3/WPA2 Personal Mixed Mode", |
508 | 522 | "allOf": [ |
509 | 523 | {"$ref": "#/definitions/encryption_base_settings"}, |
510 | | - {"$ref": "#/definitions/encryption_cipher_property"}, |
| 524 | + {"$ref": "#/definitions/encryption_cipher_ccmp_required"}, |
511 | 525 | {"$ref": "#/definitions/encryption_mfp_property_optional"}, |
512 | 526 | { |
513 | 527 | "properties": { |
|
622 | 636 | } |
623 | 637 | } |
624 | 638 | }, |
625 | | - "encryption_wpa3_2_enterprise_base_settings": { |
| 639 | + "encryption_wpa3_enterprise_mixed_base_settings": { |
626 | 640 | "properties": { |
627 | 641 | "protocol": { |
628 | 642 | "type": "string", |
|
634 | 648 | } |
635 | 649 | }, |
636 | 650 | "encryption_wpa3_enterprise_ap": { |
637 | | - "title": "WPA3 only Enterprise (access point)", |
| 651 | + "title": "WPA3 Enterprise (access point)", |
638 | 652 | "allOf": [ |
639 | 653 | {"$ref": "#/definitions/encryption_base_settings"}, |
640 | | - {"$ref": "#/definitions/encryption_cipher_property"}, |
| 654 | + {"$ref": "#/definitions/encryption_cipher_ccmp_required"}, |
641 | 655 | {"$ref": "#/definitions/encryption_mfp_property_required"}, |
642 | 656 | {"$ref": "#/definitions/encryption_wpa3_enterprise_base_settings"}, |
643 | 657 | {"$ref": "#/definitions/encryption_wpa_enterprise_ap_base_settings"}, |
644 | 658 | ], |
645 | 659 | }, |
646 | | - "encryption_wpa3_2_enterprise_ap": { |
647 | | - "title": "WPA3/WPA2 Enterprise (access point)", |
| 660 | + "encryption_wpa3_enterprise_ap_mixed": { |
| 661 | + "title": "WPA3/WPA2 Enterprise (access point) Mixed Mode", |
648 | 662 | "allOf": [ |
649 | 663 | {"$ref": "#/definitions/encryption_base_settings"}, |
650 | | - {"$ref": "#/definitions/encryption_cipher_property"}, |
| 664 | + {"$ref": "#/definitions/encryption_cipher_ccmp_required"}, |
651 | 665 | {"$ref": "#/definitions/encryption_mfp_property_optional"}, |
652 | | - {"$ref": "#/definitions/encryption_wpa3_2_enterprise_base_settings"}, |
| 666 | + { |
| 667 | + "$ref": "#/definitions/encryption_wpa3_enterprise_mixed_base_settings" |
| 668 | + }, |
653 | 669 | {"$ref": "#/definitions/encryption_wpa_enterprise_ap_base_settings"}, |
654 | 670 | ], |
655 | 671 | }, |
656 | 672 | "encryption_wpa3_enterprise_sta": { |
657 | | - "title": "WPA3 only Enterprise (client)", |
| 673 | + "title": "WPA3 Enterprise (client)", |
658 | 674 | "additionalProperties": True, |
659 | 675 | "allOf": [ |
660 | | - {"$ref": "#/definitions/encryption_cipher_property"}, |
| 676 | + {"$ref": "#/definitions/encryption_cipher_ccmp_required"}, |
661 | 677 | {"$ref": "#/definitions/encryption_mfp_property_required"}, |
662 | 678 | {"$ref": "#/definitions/encryption_wpa3_enterprise_base_settings"}, |
663 | 679 | {"$ref": "#/definitions/encryption_wpa_enterprise_sta_base_settings"}, |
664 | 680 | ], |
665 | 681 | }, |
666 | | - "encryption_wpa3_2_enterprise_sta": { |
| 682 | + "encryption_wpa3_enterprise_sta_mixed": { |
667 | 683 | "title": "WPA3/WPA2 Enterprise (client)", |
668 | 684 | "additionalProperties": True, |
669 | 685 | "allOf": [ |
670 | | - {"$ref": "#/definitions/encryption_cipher_property"}, |
| 686 | + {"$ref": "#/definitions/encryption_cipher_ccmp_required"}, |
671 | 687 | {"$ref": "#/definitions/encryption_mfp_property_optional"}, |
672 | | - {"$ref": "#/definitions/encryption_wpa3_2_enterprise_base_settings"}, |
| 688 | + { |
| 689 | + "$ref": "#/definitions/encryption_wpa3_enterprise_mixed_base_settings" |
| 690 | + }, |
673 | 691 | {"$ref": "#/definitions/encryption_wpa_enterprise_sta_base_settings"}, |
674 | 692 | ], |
675 | 693 | }, |
|
0 commit comments