- 27 Aug, 2018 4 commits
-
-
Cedric Roux authored
Various problems were found with the basic simulator. Variables used by various threads for synchronization need to be initialized properly. That is before the various threads start using them. This goes for: - UE->is_synchronized - UE->proc.instance_cnt_synch - UE->proc.instance_cnt_rxtx The function "UE->rfdevice.trx_start_func" was called in "UE_thread_synch" but should be called in "UE_thread" because "UE_thread" is the one that calls "UE->rfdevice.trx_read_func" and there is no guaranty that the call to "UE->rfdevice.trx_start_func" is done before as it has to (it's in another thread). And finally "pthread_cond_signal(&proc->cond_rxtx)" was called twice, which may not be a problem but was certainly not intended. Plus removing one call simplifies the code by removing some "if" logic, which is a good thing per se. This commit was not tested with a real UE and may thus introduce some issues. Hopefully not!
-
Cedric Roux authored
With 50 RBs and 100 RBs the UE crashes in the basic simulator because of false detection of DCIs. Putting nothing in the unused REs in the DCI instead of random bits solves this issue and let the basic simulator run with 50 RBs and 100 RBs. Note that in the real UE the problem needs to be solved because the channel may lead to false DCI detection and the consequent crashes have to be solved. This commit sort of "hides" the issue to have the basic simulator functional. Note also that putting nothing in the unused REs in the DCI should be the normal general case. But it has not been tested with anything but the basic simulator so the previous code is left.
-
Cedric Roux authored
Before this commit we were checking for UE->is_synchronized == 0 then we were waiting for a potentially active synch routine to finish and then we were starting the synch routine again but the synch routine that was running may have set UE->is_synchronized to 1. This was leading to various problems, most notably the following message repeated over and over in the UE log and the UE unable to connect properly: [RRC] [UE 0] Frame 377: OUT OF SYNC FROM eNB 0 (T310 active 0 : T310 0, N310 345, N311 0) So let's wait for a potentially active synch routine to finish before anything else.
-
Cedric Roux authored
-
- 24 Aug, 2018 2 commits
-
-
Raphael Defosseux authored
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
Raphael Defosseux authored
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- 22 Aug, 2018 2 commits
-
-
Raphael Defosseux authored
added more statistics on iperf server report analysis Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
Raphael Defosseux authored
fix main.py help message Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- 21 Aug, 2018 1 commit
-
-
Raphael Defosseux authored
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- 20 Aug, 2018 1 commit
-
-
Raphael Defosseux authored
-- no more -x option at compilation time -- iperf server report crash better handled -- python executor retrieve iperf server files in case of failure to analyze -- comparison w/ requested bandwidth Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- 17 Aug, 2018 13 commits
-
-
Cedric Roux authored
Summary of changes: - fix compilation on CentOS - some work on the T tracer: - add a 'multi' tracer to connect several tracers at the same time - improve 'to_vcd' to be compatible with previous VCD traces - preliminary work for X2 handover - various bug fixes A new version of asn1c is to be used with this commit. Do: cd [top directory of repository] source oaienv cd cmake_targets ./build_oai -I
-
Cedric Roux authored
As reported by Konstantinos Alexandris and Robert Schmidt.
-
Cedric Roux authored
As reported by Robert Schmidt.
-
Cedric Roux authored
Merge remote-tracking branch 'origin/fix_missing_s1ap_15.2.0_asn_module_and_update_asn1c_commit' into develop_integration_2018_w33
-
Cedric Roux authored
-
Cedric Roux authored
-
Cedric Roux authored
-
Cedric Roux authored
-
Cedric Roux authored
-
Cedric Roux authored
- 'busy' has to be handled in a more atomic fashion to avoid crazy runtime race conditions - the basic simulator is too fast sometimes; rewrite the accesses to the T cache to avoid there again crazy behaviors Hopefully that's better...
-
Cedric Roux authored
This commit removes the warning: make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Basically, inside a Makefile we should use $(MAKE) instead of make.
-
Cedric Roux authored
-
Cedric Roux authored
Since VCD has now to go through the T tracer, we enforce the consistency of data found in common/utils/LOG/vcd_signal_dumper.[ch] with data found in common/utils/T/T_messages.txt. We might get completely rid of common/utils/LOG/vcd_signal_dumper.[ch] at some point. For the moment, let's keep it. This commit adds the program common/utils/T/check_vcd.c and necessary modifications to enforce its use at compilation time. If you modify common/utils/LOG/vcd_signal_dumper.[ch] but do not update common/utils/T/T_messages.txt an error will pop up when you compile the software. You have to keep both modules synchronized.
-
- 16 Aug, 2018 2 commits
-
-
Bi-Ruei, Chiu authored
-
Bi-Ruei, Chiu authored
-
- 14 Aug, 2018 1 commit
-
-
Cedric Roux authored
Compilation of UE softmodem failed.
-
- 13 Aug, 2018 4 commits
-
-
Raphael Defosseux authored
- fix when FDD slave job fails, it still retrieves the HTML report - improvement in HTML report, stats per UE for attach, ping, iperf Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
Robert Schmidt authored
-
Cedric Roux authored
Use "error:" as prefix to error messages in genids.c to help looking for errors in case of failure of the build.
-
Cedric Roux authored
Don't use shm anymore. Use mmap directly.
-
- 10 Aug, 2018 1 commit
-
-
Konstantinos Alexandris authored
-
- 09 Aug, 2018 1 commit
-
-
Cedric Roux authored
Check result of send_is_on and close connection to tracee on error.
-
- 08 Aug, 2018 3 commits
-
-
Cedric Roux authored
Make it compatible with 'template' gtwave files as found in openair's repository. The type VCD_NAME was added to the VCD IDs in T_messages.txt. The database processing code was adapted to use it. The tracer to_vcd was adapted to use it and render the produced vcd output compatible with the 'template' gtkwave files. When running to_vcd, do not forget to pass -vcd to use this feature.
-
Cedric Roux authored
This tracer allows the connection of several tracers to one tracee. To use the multi tracer: - run the tracee as usual, eg. ./lte-softmodem -O xxxx.conf --T_stdout 0 - run the multi tracer: ./multi -d ../T_messages.txt - connect other tracers to the multi tracer: - ./enb -d ../T_messages.txt -p 2022 - ./textlog -d ../T_messages.txt -p 2022 - etc. By default the multi tracer connects to the tracee to the port 2021, as for any other tracer. Then it accepts connections from other tracers on the port 2022. This can be changed with parameters on the command line. The tracee and the other tracers can be stopped/started at any time.
-
Cedric Roux authored
- bug fixed in ue and enb tracer: the socket needs to be closed in case of restart - cleanup: fix spacing in T_messages.txt
-
- 07 Aug, 2018 4 commits
-
-
Raymond Knopp authored
-
Cedric Roux authored
Summary of changes: - bug fixes in various places
-
Cedric Roux authored
-
Cedric Roux authored
-
- 06 Aug, 2018 1 commit
-
-
Cedric Roux authored
A better solution has to be found.
-