- Sep 03, 2018
-
-
Robert Schmidt authored
* put mutex lock around instance_prach * destroy attributes
-
Robert Schmidt authored
* join pthread_FH (ru_thread) once all condition variables have been set * join RU FHTX only if it has been started (check as for pthread_create()) * join PRACH thread in the monolithic case * send broadcast on condition variable cond_eNBs, as there can be multiple waits on it * integrate stop_ru(*ru) into kill_RU_proc(*ru) * Correct memory freeing
-
Robert Schmidt authored
-
Robert Schmidt authored
* init_td_thread()/init_te_thread() are only initialized depending on condition get_nprocs() > 2 && codingw * apply the same the same for the functions kill_td_thread()/kill_te_thread()
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- Aug 31, 2018
-
-
Cedric Roux authored
-
- Aug 27, 2018
-
-
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
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
-
- Aug 24, 2018
-
-
frtabu authored
-
frtabu authored
-
frtabu authored
Use common log mechanism in layer 3, mapping specific macros to common ones and extending common log utilities to support specific layer3 requirements
-
frtabu authored
LOG_F replaced by LOG_DUMPMSG. Add a generic function to dump a buffer or message. Go on with LOG_M implementation improvement. Remove redundant options to enable/disable logs.
-
- Aug 23, 2018
-
-
Konstantinos Alexandris authored
The configuration file has now to contain ENB_IPV4_ADDRESS_FOR_X2C and ENB_PORT_FOR_X2C in the NETWORK_INTERFACES section. For example: NETWORK_INTERFACES : { ENB_INTERFACE_NAME_FOR_S1_MME = "eth0"; ENB_IPV4_ADDRESS_FOR_S1_MME = "192.168.12.111/24"; ENB_INTERFACE_NAME_FOR_S1U = "eth0"; ENB_IPV4_ADDRESS_FOR_S1U = "192.168.12.111/24"; ENB_PORT_FOR_S1U = 2152; # Spec 2152 ENB_IPV4_ADDRESS_FOR_X2C = "192.168.12.111/24"; ENB_PORT_FOR_X2C = 36422; # Spec 36422 };
-
laurent authored
-
- Aug 17, 2018
-
-
Cedric Roux authored
As reported by Robert Schmidt.
-
- Aug 16, 2018
-
-
Eino Virtanen authored
USRP addressess and clock sources can be configured in the configuration file with the RU section with comma separated IP addresses in 'sdr_addrs' and with strings "internal"/"external"/"gpsdo" in 'clock_src'. TODO: Currently the driver picks the two first RX and TX channels when nb_tx and nb_rx are both set to 2. If a developers wants to force usage of two devices, 'set_rx_subdev_spec' and 'set_tx_subdev_spec' can be used to indicate to the driver so that antennas from separate devices will be used. To rephrase: until 4 antennas are supported by OAI, testing with two devices, so that antennas from both devices are used, requires manual configuration of which subdevices' antennas are used. Conflicts: targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
-
- Aug 14, 2018
-
-
Cedric Roux authored
Compilation of UE softmodem failed.
-
- Aug 10, 2018
-
-
Konstantinos Alexandris authored
-
- Aug 03, 2018
-
-
Cedric Roux authored
-
- Jul 31, 2018
-
-
Raphael Defosseux authored
-- stdbuf -o0 seems to be causing segmentation fault -- using daemon instead of nohup -- also repeating several time "got sync" message and flushing stdout/stderr Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Jul 30, 2018
-
-
frtabu authored
-
frtabu authored
remove compilation warnings, especially when disabling T_TRACER. enhance LOG_M macro implementation, introduce LOG_DEBUG_XXX macro to replace #ifdef DEBUG_XXX
-
frtabu authored
log.c simplification, fix usefull functionality which never worked, move all log code from openair2 to common
-
Wang Tsu-Han authored
-
- Jul 26, 2018
-
-
Cedric Roux authored
The power estimation of the UE has to be debugged (calibrated?). In the meantime, using "--ue-rxgain 140" lets the UE and eNB talk to each other in the basic simulator.
-
- Jul 24, 2018
-
-
Raymond Knopp authored
2. minor modifications in dlsch_demodulation.c for 2 eNB TX antennas, 1 RX antenna. Inconsistant indexing of some arrays in this case. 3. change in config_load_configmodule.c : removed exit(-1) when no configuration file is used. This makes unitary simulators exit. Effect on lte-XXsoftmodem TBC.
-
Cedric Roux authored
This was used for the ITTI analyzer. The ITTI analyzer is now to be considered obsolete. The source code will be removed at some point.
-
- Jul 23, 2018
-
-
bruno mongazon-cazavet authored
-
Cedric Roux authored
-
- Jul 13, 2018
-
-
Raymond Knopp authored
Log review step 1: legacy VCD removal, LOG macro modified, TTracer enabled at build time by default, in a way it, by default configuration, provides console logs, as in previous versions
-
Haruki NAOI authored
-
- Jul 12, 2018
-
-
Bi-Ruei, Chiu authored
-
- Jul 10, 2018
-
-
Elena Lukashova authored
-
- Jul 09, 2018
-
-
Raymond Knopp authored
T tracer configuration identical for all executables, no ref to T Tracer config variables (T_port, T_wait...) outside the T tracer
-
- Jul 06, 2018
-
-
oai authored
-
Raymond Knopp authored
-
- Jul 05, 2018
-
-
oai authored
Remove compilation warnings, also fix telnet server compilation failure and NB-IoT shared lib compilation failure introduced when reviewing L1 sources organization
-
- Jul 04, 2018
-
-
Haruki NAOI authored
-