Commit Graph
17 Commits
Author SHA1 Message Date
Rakesh Mundlamuri 871b813c12 Modify the script with a retry logic for a failed test and print summary
This commit inputs several distances at once and obtain the summary of
successful and failed tests. We look for the number of successful tests
that are geater than 0. We do that here since we sometimes dont receive
a response for a telnet command from the rfsim although the command
is applied. This is related to the queing telnet commands in the rfsim.

The script for the distances 50, 100 and 150 are called as follows,

./set-and-verify-distance-prs.sh 50 100 150

The summary can be viewed as follows,
==================== SUMMARY ====================
Total tests run : 3
Successful tests: 3
Failed tests    : 0
=================================================
2025-11-05 10:42:37 +01:00
rakesh mundlamuriandRobert Schmidt 1dca20ba85 Introduce a bash script to test PRS using estimated ToA
Set RFsim (DL) distance and use PRS to estimate the new distance. This
is verified by comparing the distance set in RFsim with the distance
reported through ToA estimation at the UE.

Note that since RFsim telnet output is asynchronous (it uses a queue
internally), we use grep --max-count 1 to wait for the matching line,
together with ncat --idle 0.3 to keep ncat open for some time. The
--max-count option will terminate grep after the first occurrence. For
this to work reliably, we need to use grep <(echo | ncat) as opposod to
simply echo | ncat | grep, as the latter does not seem to reliably
make grep exit after the occurrence.

Co-authored-by: Robert Schmidt <robert.schmidt@openairinterface.org>
2025-11-05 10:42:37 +01:00
rakesh mundlamuri 825c6803ad harmonize IQ samples in prs channel estimation to use c16_t 2025-11-03 16:50:27 +05:30
rakesh mundlamuri 5690aa0fe3 first_half index correction in PRS channel estimation while copying memory
Previously, we were using int16_t for the variable ch_tmp which was later harmonized to use c16_t while leaving <<1. This introduced the bug while accessing the address of the element at first_half of the ch_tmp variable.
2025-11-03 16:50:27 +05:30
rakesh mundlamuri 47d1f8bb82 harmonizing the IDFT index at different places 2024-04-11 16:47:32 -04:00
rakesh mundlamuri 45c00b7ad2 fix for 3072 fft size when using 80 MHz and -E 2024-04-11 16:47:32 -04:00
rakesh mundlamuri 6a280abf6b bugfix in fftsize 2023-05-17 12:07:41 +02:00
rakesh mundlamuri 08a8a23011 enabling 100MHz on usrp x310 2023-05-17 12:07:41 +02:00
rakesh mundlamuri 594fb18cc8 adressing the comments 2023-04-24 11:05:05 +02:00
rakesh mundlamuri 5143133d33 ssb offset to point A bugfix 2023-04-24 10:47:41 +02:00
rakesh mundlamuri 09f50edc88 adding subdev selection for nrUE 2022-05-20 09:59:46 +02:00
rakesh mundlamuri 68dd4fa20b introducing the selection of tx and rx subdev 2022-05-19 12:41:20 +02:00
rakesh mundlamuri 8b9c76be88 revert the config files 106 and 273 for usrp n310 2022-04-07 11:53:44 +02:00
rakesh mundlamuri df67fd02a9 renamed config files to use it with usrp x310 2022-04-07 11:48:56 +02:00
rakesh mundlamuri 3ab0c2bae8 ue prs config for 217 PRB 2022-04-07 11:30:08 +02:00
rakesh mundlamuri 7b34a49de0 centered fr1 config to 3.75 GHz 2022-04-07 11:22:28 +02:00
rakesh mundlamuri a907d3d220 beam switching logic for sivers 2022-03-30 08:43:53 +02:00