@@ -417,3 +417,284 @@ def test_bridge_wpa_wpa2_personal_mixed_5g_client_connectivity(self, get_test_li
417417 num_sta = num_stations , client_type = client_type )
418418
419419 assert passes == "PASS" , result
420+
421+
422+
423+ setup_params_owe_br = {
424+ "mode" : "BRIDGE" ,
425+ "ssid_modes" : {
426+ "owe" : [
427+ {"ssid_name" : "ssid_owe_2g_br" , "appliedRadios" : ["2G" ], "security_key" : "something" },
428+ {"ssid_name" : "ssid_owe_5g_br" , "appliedRadios" : ["5G" ], "security_key" : "something" },
429+ {"ssid_name" : "ssid_owe_6g_br" , "appliedRadios" : ["6G" ], "security_key" : "something" },
430+
431+ ]
432+ },
433+ "rf" : {},
434+ "radius" : False
435+ }
436+
437+ @allure .feature ("Client Connectivity" )
438+ @allure .parent_suite ("Client Connectivity Tests" )
439+ @allure .suite (suite_name = "BRIDGE Mode" )
440+ @allure .sub_suite (sub_suite_name = "OWE security mode Client Connectivity" )
441+ @pytest .mark .parametrize (
442+ 'setup_configuration' ,
443+ [setup_params_owe_br ],
444+ indirect = True ,
445+ scope = "class"
446+ )
447+ @pytest .mark .usefixtures ("setup_configuration" )
448+ class TestBridgeModeConnectivityOWE (object ):
449+ """
450+ Bridge Client Connectivity (OWE)
451+ pytest -m "client_connectivity_tests and bridge and owe"
452+ """
453+
454+ @pytest .mark .owe
455+ @pytest .mark .twog
456+ @pytest .mark .ow_regression_lf
457+ @pytest .mark .owe_owe_transition
458+ @allure .story ('OWE 2.4 GHZ Band' )
459+ @allure .title ("BRIDGE Mode Client Connectivity Test with OWE encryption 2.4 GHz Band" )
460+ @allure .testcase (url = "https://telecominfraproject.atlassian.net/browse/WIFI-13669" , name = "WIFI-13669" )
461+ def test_bridge_owe_2g_client_connectivity (self , get_test_library , get_dut_logs_per_test_case ,
462+ get_test_device_logs , num_stations , check_connectivity ,
463+ setup_configuration , client_type ):
464+ """
465+ BRIDGE Mode Client Connectivity Test with OWE encryption 2.4 GHz Band
466+ marker:- client_connectivity_tests and bridge and owe and twog
467+ """
468+ profile_data = {"ssid_name" : "ssid_owe_2g_br" , "appliedRadios" : ["2G" ], "security_key" : "" }
469+ ssid_name = profile_data ["ssid_name" ]
470+ security_key = "[BLANK]"
471+ security = "owe"
472+ mode = "BRIDGE"
473+ band = "twog"
474+
475+ passes , result = get_test_library .client_connectivity_test (
476+ ssid = ssid_name , security = security ,
477+ dut_data = setup_configuration ,
478+ passkey = security_key , mode = mode , band = band ,
479+ num_sta = num_stations , client_type = client_type , extra_sta_rows = ["security" ]
480+ )
481+ assert passes == "PASS" , result
482+
483+ @pytest .mark .owe
484+ @pytest .mark .fiveg
485+ @pytest .mark .ow_regression_lf
486+ @pytest .mark .owe_owe_transition
487+ @allure .story ('OWE 5 GHZ Band' )
488+ @allure .title ("BRIDGE Mode Client Connectivity Test with OWE encryption 5 GHz Band" )
489+ @allure .testcase (url = "https://telecominfraproject.atlassian.net/browse/WIFI-13669" , name = "WIFI-13669" )
490+ def test_bridge_owe_5g_client_connectivity (self , get_test_library , get_dut_logs_per_test_case ,
491+ get_test_device_logs , num_stations , check_connectivity ,
492+ setup_configuration , client_type ):
493+ """
494+ BRIDGE Mode Client Connectivity Test with OWE encryption 5 GHz Band
495+ marker:- client_connectivity_tests and bridge and owe and fiveg
496+ """
497+ profile_data = {"ssid_name" : "ssid_owe_5g_br" , "appliedRadios" : ["5G" ], "security_key" : "" }
498+ ssid_name = profile_data ["ssid_name" ]
499+ security_key = "[BLANK]"
500+ security = "owe"
501+ mode = "BRIDGE"
502+ band = "fiveg"
503+
504+ passes , result = get_test_library .client_connectivity_test (
505+ ssid = ssid_name , security = security ,
506+ dut_data = setup_configuration ,
507+ passkey = security_key , mode = mode , band = band ,
508+ num_sta = num_stations , client_type = client_type , extra_sta_rows = ["security" ]
509+ )
510+ assert passes == "PASS" , result
511+
512+ @pytest .mark .owe
513+ @pytest .mark .twog
514+ @pytest .mark .sixg
515+ @pytest .mark .ow_regression_lf
516+ @pytest .mark .owe_owe_transition
517+ @allure .story ('OWE 6 GHZ Band' )
518+ @allure .title ("BRIDGE Mode Client Connectivity Test with OWE encryption 6 GHz Band" )
519+ @allure .testcase (url = "https://telecominfraproject.atlassian.net/browse/WIFI-13669" , name = "WIFI-13669" )
520+ def test_bridge_owe_6g_client_connectivity (self , get_test_library , get_dut_logs_per_test_case ,
521+ get_test_device_logs , num_stations , check_connectivity ,
522+ setup_configuration , client_type ):
523+ """
524+ BRIDGE Mode Client Connectivity Test with OWE encryption 6 GHz Band
525+ marker:- client_connectivity_tests and bridge and owe and sixg
526+ """
527+ profile_data = {"ssid_name" : "ssid_owe_6g_br" , "appliedRadios" : ["6G" ], "security_key" : "" }
528+ ssid_name = profile_data ["ssid_name" ]
529+ security_key = "[BLANK]"
530+ security = "owe"
531+ mode = "BRIDGE"
532+ band = "sixg"
533+
534+ passes , result = get_test_library .client_connectivity_test (
535+ ssid = ssid_name , security = security ,
536+ dut_data = setup_configuration ,
537+ passkey = security_key , mode = mode , band = band ,
538+ num_sta = num_stations , client_type = client_type , extra_sta_rows = ["security" ]
539+ )
540+ assert passes == "PASS" , result
541+
542+
543+
544+ setup_params_owe_transition_br = {
545+ "mode" : "BRIDGE" ,
546+ "ssid_modes" : {
547+ "owe_transition" : [
548+ {"ssid_name" : "ssid_owe_transition_2g_br" , "appliedRadios" : ["2G" ], "security_key" : "something" },
549+ {"ssid_name" : "ssid_owe_transition_5g_br" , "appliedRadios" : ["5G" ], "security_key" : "something" }
550+
551+ ]
552+ },
553+ "rf" : {},
554+ "radius" : False
555+ }
556+
557+ @allure .feature ("Client Connectivity" )
558+ @allure .parent_suite ("Client Connectivity Tests" )
559+ @allure .suite (suite_name = "BRIDGE Mode" )
560+ @allure .sub_suite (sub_suite_name = "OWE-Transition security mode Client Connectivity" )
561+ @pytest .mark .parametrize (
562+ 'setup_configuration' ,
563+ [setup_params_owe_transition_br ],
564+ indirect = True ,
565+ scope = "class"
566+ )
567+ @pytest .mark .usefixtures ("setup_configuration" )
568+ class TestBridgeModeConnectivityOWETransition (object ):
569+ """
570+ Bridge Client Connectivity (OWE-Transition)
571+ pytest -m "client_connectivity_tests and bridge and owe_transition"
572+ """
573+
574+ @pytest .mark .owe_transition
575+ @pytest .mark .twog
576+ @pytest .mark .owe_client
577+ @pytest .mark .ow_regression_lf
578+ @pytest .mark .owe_owe_transition
579+ @allure .story ('OWE-Transition 2.4 GHZ Band - OWE Client' )
580+ @allure .title ("BRIDGE Mode OWE-Transition: OWE client connects to hidden SSID" )
581+ @allure .testcase (url = "https://telecominfraproject.atlassian.net/browse/WIFI-13674" , name = "WIFI-13674" )
582+ def test_bridge_owe_transition_2g_owe_client (self , get_test_library , get_dut_logs_per_test_case ,
583+ get_test_device_logs , num_stations , check_connectivity ,
584+ setup_configuration , client_type ):
585+ """
586+ BRIDGE Mode OWE-Transition: OWE client connects to SSID in OWE mode
587+ marker:- client_connectivity_tests and bridge and owe_transition and twog and owe_client
588+ """
589+ profile_data = {"ssid_name" : "ssid_owe_transition_2g_br" , "appliedRadios" : ["2G" ], "security_key" : "" }
590+ ssid_name = profile_data ["ssid_name" ]
591+ security_key = "[BLANK]"
592+ security = "owe"
593+ mode = "BRIDGE"
594+ band = "twog"
595+
596+ passes , result = get_test_library .client_connectivity_test (
597+ ssid = ssid_name , security = security ,
598+ dut_data = setup_configuration ,
599+ passkey = security_key , mode = mode , band = band ,
600+ num_sta = num_stations , client_type = client_type , extra_sta_rows = ["security" ]
601+ )
602+ assert passes == "PASS" , result
603+
604+ @pytest .mark .owe_transition
605+ @pytest .mark .twog
606+ @pytest .mark .non_owe_client
607+ @pytest .mark .ow_regression_lf
608+ @pytest .mark .owe_owe_transition
609+ @allure .story ('OWE-Transition 2.4 GHZ Band - Non-OWE Client' )
610+ @allure .title ("BRIDGE Mode OWE-Transition: Non-OWE client connects to SSID in open mode" )
611+ @allure .testcase (url = "https://telecominfraproject.atlassian.net/browse/WIFI-13673" , name = "WIFI-13673" )
612+ def test_bridge_owe_transition_2g_non_owe_client (self , get_test_library , get_dut_logs_per_test_case ,
613+ get_test_device_logs , num_stations , check_connectivity ,
614+ setup_configuration , client_type ):
615+ """
616+ BRIDGE Mode OWE-Transition: Non-OWE client connects to SSID in open mode
617+ marker:- client_connectivity_tests and bridge and owe_transition and twog and non_owe_client
618+ """
619+ profile_data = {"ssid_name" : "ssid_owe_transition_2g_br" , "appliedRadios" : ["2G" ], "security_key" : "" }
620+ ssid_name = profile_data ["ssid_name" ]
621+ security_key = "[BLANK]"
622+ security = "open"
623+ mode = "BRIDGE"
624+ band = "twog"
625+
626+ passes , result = get_test_library .client_connectivity_test (
627+ ssid = ssid_name , security = security ,
628+ dut_data = setup_configuration ,
629+ passkey = security_key , mode = mode , band = band ,
630+ num_sta = num_stations , client_type = client_type , extra_sta_rows = ["security" ]
631+ )
632+ assert passes == "PASS" , result
633+
634+ @pytest .mark .owe_transition
635+ @pytest .mark .fiveg
636+ @pytest .mark .owe_client
637+ @pytest .mark .ow_regression_lf
638+ @pytest .mark .owe_owe_transition
639+ @allure .story ('OWE-Transition 5 GHZ Band - OWE Client' )
640+ @allure .title ("BRIDGE Mode OWE-Transition: OWE client connects to hidden SSID" )
641+ @allure .testcase (url = "https://telecominfraproject.atlassian.net/browse/WIFI-13674" , name = "WIFI-13674" )
642+ def test_bridge_owe_transition_5g_owe_client (self , get_test_library , get_dut_logs_per_test_case ,
643+ get_test_device_logs , num_stations , check_connectivity ,
644+ setup_configuration , client_type ):
645+ """
646+ BRIDGE Mode OWE-Transition: OWE client connects to SSID in OWE mode
647+ marker:- client_connectivity_tests and bridge and owe_transition and fiveg and owe_client
648+ """
649+ profile_data = {"ssid_name" : "ssid_owe_transition_5g_br" , "appliedRadios" : ["5G" ], "security_key" : "" }
650+ ssid_name = profile_data ["ssid_name" ]
651+ security_key = "[BLANK]"
652+ security = "owe"
653+ mode = "BRIDGE"
654+ band = "fiveg"
655+
656+ passes , result = get_test_library .client_connectivity_test (
657+ ssid = ssid_name , security = security ,
658+ dut_data = setup_configuration ,
659+ passkey = security_key , mode = mode , band = band ,
660+ num_sta = num_stations , client_type = client_type , extra_sta_rows = ["security" ]
661+ )
662+ assert passes == "PASS" , result
663+
664+ @pytest .mark .owe_transition
665+ @pytest .mark .fiveg
666+ @pytest .mark .non_owe_client
667+ @pytest .mark .ow_regression_lf
668+ @pytest .mark .owe_owe_transition
669+ @allure .story ('OWE-Transition 5 GHZ Band - Non-OWE Client' )
670+ @allure .title ("BRIDGE Mode OWE-Transition: Non-OWE client connects to SSID in open mode" )
671+ @allure .testcase (url = "https://telecominfraproject.atlassian.net/browse/WIFI-13673" , name = "WIFI-13673" )
672+ def test_bridge_owe_transition_5g_non_owe_client (self , get_test_library , get_dut_logs_per_test_case ,
673+ get_test_device_logs , num_stations , check_connectivity ,
674+ setup_configuration , client_type ):
675+ """
676+ BRIDGE Mode OWE-Transition: Non-OWE client connects to SSID in open mode
677+ marker:- client_connectivity_tests and bridge and owe_transition and fiveg and non_owe_client
678+ """
679+ profile_data = {"ssid_name" : "ssid_owe_transition_5g_br" , "appliedRadios" : ["5G" ], "security_key" : "" }
680+ ssid_name = profile_data ["ssid_name" ]
681+ security_key = "[BLANK]"
682+ security = "open"
683+ mode = "BRIDGE"
684+ band = "fiveg"
685+
686+ passes , result = get_test_library .client_connectivity_test (
687+ ssid = ssid_name , security = security ,
688+ dut_data = setup_configuration ,
689+ passkey = security_key , mode = mode , band = band ,
690+ num_sta = num_stations , client_type = client_type , extra_sta_rows = ["security" ]
691+ )
692+ assert passes == "PASS" , result
693+
694+
695+
696+
697+
698+
699+
700+
0 commit comments