|
|
@ -134,11 +134,11 @@ add_executable(ssb_decode_test ssb_decode_test.c)
|
|
|
|
target_link_libraries(ssb_decode_test srsran_phy)
|
|
|
|
target_link_libraries(ssb_decode_test srsran_phy)
|
|
|
|
|
|
|
|
|
|
|
|
# For 1.0 GHz and 3.5 GHz Center frequencies
|
|
|
|
# For 1.0 GHz and 3.5 GHz Center frequencies
|
|
|
|
foreach (CELL_FREQ 1000000000 3500000000)
|
|
|
|
foreach (CELL_FREQ 1000000 3500000)
|
|
|
|
# For each supported Cell/Carrier subcarrier spacing
|
|
|
|
# For each supported Cell/Carrier subcarrier spacing
|
|
|
|
foreach (CELL_SCS 15 30)
|
|
|
|
foreach (CELL_SCS 15 30)
|
|
|
|
# For SSB centered at -960, 0 and 960 kHz from the center frequency
|
|
|
|
# For SSB centered at -960, 0 and 960 kHz from the center frequency
|
|
|
|
foreach (SSB_OFFSET_FREQ -960000 +0 +960000)
|
|
|
|
foreach (SSB_OFFSET_FREQ -960 +0 +960)
|
|
|
|
# For each supported SSB subcarrier spacing
|
|
|
|
# For each supported SSB subcarrier spacing
|
|
|
|
foreach (SSB_SCS 15 30)
|
|
|
|
foreach (SSB_SCS 15 30)
|
|
|
|
# For patterns A, B, C
|
|
|
|
# For patterns A, B, C
|
|
|
@ -147,12 +147,12 @@ foreach (CELL_FREQ 1000000000 3500000000)
|
|
|
|
math(EXPR SSB_FREQ "${CELL_FREQ}${SSB_OFFSET_FREQ}")
|
|
|
|
math(EXPR SSB_FREQ "${CELL_FREQ}${SSB_OFFSET_FREQ}")
|
|
|
|
|
|
|
|
|
|
|
|
# Test SSB measurements
|
|
|
|
# Test SSB measurements
|
|
|
|
add_nr_test(ssb_measure_test_${CELL_FREQ}_${CELL_SCS}_${SSB_FREQ}_${SSB_SCS}_${SSB_PATTERN} ssb_measure_test
|
|
|
|
add_nr_test(ssb_measure_test_${CELL_FREQ}000_${CELL_SCS}_${SSB_FREQ}000_${SSB_SCS}_${SSB_PATTERN} ssb_measure_test
|
|
|
|
-F ${CELL_FREQ} -S ${CELL_SCS} -f ${SSB_FREQ} -s ${SSB_SCS} -P ${SSB_PATTERN})
|
|
|
|
-F ${CELL_FREQ}000 -S ${CELL_SCS} -f ${SSB_FREQ}000 -s ${SSB_SCS} -P ${SSB_PATTERN})
|
|
|
|
|
|
|
|
|
|
|
|
# Test SSB PBCH decoding
|
|
|
|
# Test SSB PBCH decoding
|
|
|
|
add_nr_test(ssb_decode_test_${CELL_FREQ}_${CELL_SCS}_${SSB_FREQ}_${SSB_SCS}_${SSB_PATTERN} ssb_decode_test
|
|
|
|
add_nr_test(ssb_decode_test_${CELL_FREQ}000_${CELL_SCS}_${SSB_FREQ}000_${SSB_SCS}_${SSB_PATTERN} ssb_decode_test
|
|
|
|
-F ${CELL_FREQ} -S ${CELL_SCS} -f ${SSB_FREQ} -s ${SSB_SCS} -P ${SSB_PATTERN})
|
|
|
|
-F ${CELL_FREQ}000 -S ${CELL_SCS} -f ${SSB_FREQ}000 -s ${SSB_SCS} -P ${SSB_PATTERN})
|
|
|
|
endforeach ()
|
|
|
|
endforeach ()
|
|
|
|
endforeach ()
|
|
|
|
endforeach ()
|
|
|
|
endforeach ()
|
|
|
|
endforeach ()
|
|
|
|