@ -45,15 +45,15 @@ add_executable(psbch_file_test psbch_file_test.c)
target_link_libraries ( psbch_file_test srsran_phy )
# T M 2 f i l e t e s t s
add_lte_test ( psbch_file_test_ideal_tm2_p6_c0 psbch_file_test -p 6 -c 0 -d -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_ideal_tm2_p6_c0_s1.92e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p15_c84 psbch_file_test -p 15 -c 84 -d -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_ideal_tm2_p15_c84_s3.84e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p25_c168 psbch_file_test -p 25 -c 168 -d -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_ideal_tm2_p25_c168_s7.68e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p50_c252 psbch_file_test -p 50 -c 252 -d -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_ideal_tm2_p50_c252_s15.36e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p100_c335 psbch_file_test -p 100 -c 335 -d -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_ideal_tm2_p100_c335_s30.72e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p50_c252_ext psbch_file_test -p 50 -c 252 -e -d -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_ideal_tm2_p50_c252_s15.36e6_ext.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p6_c0 psbch_file_test -p 6 -c 0 -d -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_ideal_tm2_p6_c0_s1.92e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p15_c84 psbch_file_test -p 15 -c 84 -d -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_ideal_tm2_p15_c84_s3.84e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p25_c168 psbch_file_test -p 25 -c 168 -d -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_ideal_tm2_p25_c168_s7.68e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p50_c252 psbch_file_test -p 50 -c 252 -d -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_ideal_tm2_p50_c252_s15.36e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p100_c335 psbch_file_test -p 100 -c 335 -d -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_ideal_tm2_p100_c335_s30.72e6.dat)
add_lte_test ( psbch_file_test_ideal_tm2_p50_c252_ext psbch_file_test -p 50 -c 252 -e -d -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_ideal_tm2_p50_c252_s15.36e6_ext.dat)
# T M 4 f i l e t e s t s
add_lte_test ( psbch_file_test_cmw_tm4_p50_c169 psbch_file_test -p 50 -c 169 -t 4 -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_cmw500_f5.92e9_s11.52e6_50prb_slss_id169.dat)
add_lte_test ( psbch_file_test_cmw_tm4_p50_c169 psbch_file_test -p 50 -c 169 -t 4 -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_cmw500_f5.92e9_s11.52e6_50prb_slss_id169.dat)
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# P S C C H T E S T
@ -111,38 +111,38 @@ add_executable(pssch_pscch_file_test pssch_pscch_file_test.c)
target_link_libraries ( pssch_pscch_file_test srsran_phy )
# T M 2 f i l e t e s t s
add_lte_test ( pssch_pscch_file_test_ideal_tm2_p100 pssch_pscch_file_test -p 100 -d -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_ideal_tm2_p100_c335_s30.72e6.dat)
add_lte_test ( pssch_pscch_file_test_ideal_tm2_p100 pssch_pscch_file_test -p 100 -d -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_ideal_tm2_p100_c335_s30.72e6.dat)
set_property ( TEST pssch_pscch_file_test_ideal_tm2_p100 PROPERTY PASS_REGULAR_EXPRESSION "num_decoded_sci=[2,3] num_decoded_tb=1" )
# T M 4 f i l e tests ( first SF is sf_idx = 6 such that the PSSCH sf_idx=0 )
add_lte_test ( pssch_pscch_file_test_ideal_tm4_p100 pssch_pscch_file_test -p 100 -t 4 -s 10 -n 10 -d -m 6 -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_ideal_tm4_p100_c335_size10_num10_cshift0_s30.72e6.dat)
add_lte_test ( pssch_pscch_file_test_ideal_tm4_p100 pssch_pscch_file_test -p 100 -t 4 -s 10 -n 10 -d -m 6 -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_ideal_tm4_p100_c335_size10_num10_cshift0_s30.72e6.dat)
set_property ( TEST pssch_pscch_file_test_ideal_tm4_p100 PROPERTY PASS_REGULAR_EXPRESSION "num_decoded_sci=1" )
add_lte_test ( pssch_pscch_test_tm4_p50_qc pssch_pscch_file_test -p 50 -t 4 -d -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_qc9150_f5.92e9_s15.36e6_50prb_20offset.dat)
add_lte_test ( pssch_pscch_test_tm4_p50_qc pssch_pscch_file_test -p 50 -t 4 -d -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_qc9150_f5.92e9_s15.36e6_50prb_20offset.dat)
set_property ( TEST pssch_pscch_test_tm4_p50_qc PROPERTY PASS_REGULAR_EXPRESSION "num_decoded_sci=1 num_decoded_tb=1" )
# C a p t u r e h a s a S F O o f f s e t o f ~ 6 4 s a m p l e s , b u t o f f s e t t i n g b y 2 0 i s e n o u g h t o d e c o d e i t
add_lte_test ( pssch_pscch_test_tm4_p50_cmw pssch_pscch_file_test -p 50 -t 4 -o 20 -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_cmw500_f5.92e9_s11.52e6_50prb_0offset_1ms.dat)
add_lte_test ( pssch_pscch_test_tm4_p50_cmw pssch_pscch_file_test -p 50 -t 4 -o 20 -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_cmw500_f5.92e9_s11.52e6_50prb_0offset_1ms.dat)
set_property ( TEST pssch_pscch_test_tm4_p50_cmw PROPERTY PASS_REGULAR_EXPRESSION "num_decoded_sci=1 num_decoded_tb=1" )
# W i t h P H Y retransmission ( 3 TTI offset ) f i r s t S F a t s f _ i d x = 5
add_lte_test ( pssch_pscch_test_tm4_p50_huawei pssch_pscch_file_test -p 50 -t 4 -m 5 -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_huawei_s11.52e6_50prb_10prb_offset_with_retx.dat)
add_lte_test ( pssch_pscch_test_tm4_p50_huawei pssch_pscch_file_test -p 50 -t 4 -m 5 -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_huawei_s11.52e6_50prb_10prb_offset_with_retx.dat)
set_property ( TEST pssch_pscch_test_tm4_p50_huawei PROPERTY PASS_REGULAR_EXPRESSION "num_decoded_sci=2 num_decoded_tb=2" )
# W i t h P H Y ReTx ( 0 TTI offset? )
add_lte_test ( pssch_pscch_test_tm4_p50_uxm1 pssch_pscch_file_test -p 50 -d -t 4 -s 5 -n 10 -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_uxm_s15.36e6_50prb_0prb_offset_mcs12.dat)
add_lte_test ( pssch_pscch_test_tm4_p50_uxm1 pssch_pscch_file_test -p 50 -d -t 4 -s 5 -n 10 -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_uxm_s15.36e6_50prb_0prb_offset_mcs12.dat)
set_property ( TEST pssch_pscch_test_tm4_p50_uxm1 PROPERTY PASS_REGULAR_EXPRESSION "mcs=12.*num_decoded_sci=2 num_decoded_tb=2" )
# 1 0 0 P R B s t a r t O f f s e t 1 M C S 1 2 M A C p a d d i n g , f i r s t S F i s i n d e x 0
add_lte_test ( pssch_pscch_test_tm4_p100_uxm2 pssch_pscch_file_test -p 100 -t 4 -s 10 -n 10 -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_uxm_s23.04e6_100prb_1prb_offset_mcs12_padding.dat)
add_lte_test ( pssch_pscch_test_tm4_p100_uxm2 pssch_pscch_file_test -p 100 -t 4 -s 10 -n 10 -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_uxm_s23.04e6_100prb_1prb_offset_mcs12_padding.dat)
set_property ( TEST pssch_pscch_test_tm4_p100_uxm2 PROPERTY PASS_REGULAR_EXPRESSION "mcs=12.*num_decoded_sci=4" )
# 1 0 0 P R B L T E s a m p l i n g r a t e , s t a r t O f f s e t 1 M C S 1 2 I T S d a t a , f i r s t S F i s i n d e x 6
add_lte_test ( pssch_pscch_test_tm4_p100_uxm3 pssch_pscch_file_test -p 100 -d -t 4 -s 10 -n 10 -m 6 -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_uxm_s30.72e6_100prb_1prb_offset_mcs12_its.dat)
add_lte_test ( pssch_pscch_test_tm4_p100_uxm3 pssch_pscch_file_test -p 100 -d -t 4 -s 10 -n 10 -m 6 -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_uxm_s30.72e6_100prb_1prb_offset_mcs12_its.dat)
set_property ( TEST pssch_pscch_test_tm4_p100_uxm3 PROPERTY PASS_REGULAR_EXPRESSION "mcs=12.*num_decoded_sci=1" )
# 5 0 P R B L T E s a m p l i n g r a t e , s t a r t O f f s e t 0 M C S 2 8 M A C p a d d i n g , f i r s t S F i s i n d e x 1
add_lte_test ( pssch_pscch_test_tm4_p50_uxm4 pssch_pscch_file_test -p 50 -d -t 4 -s 5 -n 10 -m 1 -i ${ CMAKE_ HOME_DIRECTORY} /lib/src/phy/phch/test /signal_sidelink_uxm_s15.36e6_50prb_0prb_offset_mcs28_padding_5ms.dat)
add_lte_test ( pssch_pscch_test_tm4_p50_uxm4 pssch_pscch_file_test -p 50 -d -t 4 -s 5 -n 10 -m 1 -i ${ CMAKE_ CURRENT_SOURCE_DIR} /signal_sidelink_uxm_s15.36e6_50prb_0prb_offset_mcs28_padding_5ms.dat)
set_property ( TEST pssch_pscch_test_tm4_p50_uxm4 PROPERTY PASS_REGULAR_EXPRESSION "mcs=28.*num_decoded_sci=5" )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #