@@ -136,15 +136,17 @@ def test_android_hp(
136136
137137
138138@mark .parametrize (
139- "band, common_scs, bandwidth" ,
139+ "band, common_scs, bandwidth, ciphering " ,
140140 (
141- param (3 , 15 , 5 , id = "band:%s-scs:%s-bandwidth:%s" ),
142- param (3 , 15 , 10 , marks = mark .test , id = "band:%s-scs:%s-bandwidth:%s" ),
143- param (3 , 15 , 20 , id = "band:%s-scs:%s-bandwidth:%s" ),
144- param (3 , 15 , 50 , id = "band:%s-scs:%s-bandwidth:%s" ),
145- param (41 , 30 , 10 , id = "band:%s-scs:%s-bandwidth:%s" ),
146- param (41 , 30 , 20 , id = "band:%s-scs:%s-bandwidth:%s" ),
147- param (41 , 30 , 50 , id = "band:%s-scs:%s-bandwidth:%s" ),
141+ param (3 , 15 , 5 , False , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
142+ param (3 , 15 , 10 , False , marks = mark .test , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
143+ param (3 , 15 , 20 , False , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
144+ param (3 , 15 , 50 , False , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
145+ param (3 , 15 , 50 , True , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
146+ param (41 , 30 , 10 , False , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
147+ param (41 , 30 , 20 , False , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
148+ param (41 , 30 , 50 , False , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
149+ param (41 , 30 , 50 , True , id = "band:%s-scs:%s-bandwidth:%s-ciphering:%s" ),
148150 ),
149151)
150152@mark .zmq
@@ -167,6 +169,7 @@ def test_zmq(
167169 band : int ,
168170 common_scs : int ,
169171 bandwidth : int ,
172+ ciphering : bool ,
170173):
171174 """
172175 ZMQ Pings
@@ -185,6 +188,7 @@ def test_zmq(
185188 global_timing_advance = 0 ,
186189 time_alignment_calibration = 0 ,
187190 ue_stop_timeout = 1 ,
191+ enable_security_mode = ciphering ,
188192 post_command = "cu_cp --inactivity_timer=600" ,
189193 )
190194
@@ -343,6 +347,7 @@ def _ping(
343347 gnb_stop_timeout : int = 0 ,
344348 ue_stop_timeout : int = 0 ,
345349 plmn : Optional [PLMN ] = None ,
350+ enable_security_mode : bool = False ,
346351):
347352 logging .info ("Ping Test" )
348353
@@ -357,6 +362,7 @@ def _ping(
357362 time_alignment_calibration = time_alignment_calibration ,
358363 n3_enable = True ,
359364 log_ip_level = "debug" ,
365+ enable_security_mode = enable_security_mode ,
360366 )
361367 configure_artifacts (
362368 retina_data = retina_data ,
0 commit comments