Cedric Roux
2cb87ddd02
Merge remote-tracking branch 'origin/feature-slice+restart-w35' into develop_integration_2018_w36
...
Conflicts:
openair2/ENB_APP/flexran_agent_common_internal.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
2018-09-07 16:13:40 +02:00
Robert Schmidt
87093e1b55
Restructure create_tasks(): start tasks depending on RAN type, is read in RCconfig_RRC()
2018-09-06 18:12:47 +02:00
hongzhi wang
136ca508c5
nr ue clean warnings
2018-09-06 16:04:21 +02:00
laurent
46231a5d5d
merge with latest develop
2018-09-06 09:43:26 +02:00
Raymond Knopp
b2583c6f23
CU is exectuable
2018-09-06 09:24:10 +02:00
laurent
abbffef015
fix some exit situations, that was badly done by SIGUSR1 handler
2018-09-05 17:03:19 +02:00
Robert Schmidt
f86b51990c
restart: first stop RU, then eNB proc threads
2018-09-05 14:21:39 +02:00
Robert Schmidt
5a1e8c2869
Lock sync_var access in restart_L1L2()
2018-09-05 14:21:39 +02:00
Robert Schmidt
c1b024d354
stop_L1L2(): Do not turn of RF, is done in ru_thread
2018-09-05 14:21:39 +02:00
Robert Schmidt
1f60f4ecea
Log Level Debug for Freeing Transport Channel Msg
2018-09-05 14:21:39 +02:00
Raymond Knopp
c56eb9eda7
addition of configuration (DU) for F1AP and filling of F1AP_SET_REQ parameters
2018-09-04 07:40:04 +02:00
Navid Nikaein
1adbaa7a54
when restarting, re-init MAC UE_list
2018-09-03 18:10:28 +02:00
Robert Schmidt
175d28ee35
bugfixes kill_eNB_proc()
...
* put mutex lock around instance_prach
* destroy attributes
2018-09-03 18:10:28 +02:00
Robert Schmidt
f0670154b3
Correctly join RU threads
...
* 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
2018-09-03 18:10:28 +02:00
Robert Schmidt
2e1dfb5b3e
place oai_exit test after wait_on_condition() in threads
2018-09-03 18:10:28 +02:00
Robert Schmidt
c56b5af00e
bugfix: kill td/te threads only if initialized
...
* 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()
2018-09-03 18:10:28 +02:00
Robert Schmidt
35b3a2af14
Reorganize TASK_L2L1 loop
2018-09-03 18:10:28 +02:00
Robert Schmidt
0846460753
show which task sends TERMINATE_MESSAGE to which task
2018-09-03 18:10:28 +02:00
Guy De Souza
261b586e26
Time domain alloc type DLSCH
2018-09-03 11:06:30 +02:00
Cedric Roux
4c069754d3
Merge remote-tracking branch 'origin/basic-simulator-fixes' into develop_integration_2018_w35
2018-08-31 14:49:50 +02:00
Wang Tsu-Han
ee04caab8a
replacing judgment from get_nprocs() and worker flags by paralle_stage and worker_stage
2018-08-31 12:58:49 +02:00
Cedric Roux
c22180ff31
Merge remote-tracking branch 'origin/issue326_LOGreview' into develop_integration_2018_w35
...
Conflicts:
cmake_targets/CMakeLists.txt
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/SCHED_UE/phy_procedures_lte_ue.c
openair2/LAYER2/MAC/eNB_scheduler_phytest.c
2018-08-31 12:55:28 +02:00
Cedric Roux
7654f8a208
Merge remote-tracking branch 'origin/issue_344_segv_trace_wireshark' into develop_integration_2018_w35
2018-08-31 12:43:33 +02:00
Cedric Roux
4aec4a23a8
Merge remote-tracking branch 'origin/multi-sdr-ip-conf' into develop_integration_2018_w35
2018-08-31 11:50:19 +02:00
Florian Kaltenberger
26251a1b7c
disabling T TRACER for NR-UE. bugfix for eNB on exit
2018-08-30 08:23:53 -07:00
Florian Kaltenberger
cc002b823f
Merge branch 'develop-nr-merge' into develop-nr
...
lte-softmodem, lte-uesoftmodem, nr-softmodem, nr-uesoftmodem, polartest, ldpctest, ulsim, dlsim all compile
functionality and performance to be tested by CI
2018-08-30 07:08:26 -07:00
WEI-TAI CHEN
7462e43c02
merge develop-nr
2018-08-29 04:38:46 -07:00
WEI-TAI CHEN
dee115da18
Change the dl/ul_channel_bandwidth to dl/ul_carrier_bandwidth
2018-08-29 04:31:10 -07:00
Jacques
f6c327e09b
Merge remote-tracking branch 'refs/remotes/origin/develop-nr' into develop-nr
2018-08-28 14:41:12 +02:00
Calvin HSU
b58ef54608
Merge remote-tracking branch 'origin/develop' into feature-127-protocol-split
2018-08-28 12:22:59 +02:00
Jacques
5d30379b79
nr ue : add tdd slot config
2018-08-28 11:17:02 +02:00
Hongzhi Wang
059733574e
ue frame_params update
2018-08-28 11:09:21 +02:00
Raymond Knopp
21be856f58
lte-softmodem-nos1 / lte-uesoftmodem-nos1 functional
2018-08-28 00:16:38 +02:00
Cedric Roux
a48c36582f
bugfix: fix threading in the UE
...
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!
2018-08-27 17:46:03 +02:00
Cedric Roux
97ddf5ea28
basic simulator: bugfix: wait for synch ready at the right time
...
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.
2018-08-27 17:32:00 +02:00
Raymond Knopp
a9e4003372
lte-uesoftmodem compiles
2018-08-27 15:53:34 +02:00
Raymond Knopp
3367cc9319
lte-softmodem compiles
2018-08-27 13:37:00 +02:00
Guy De Souza
796eab07e1
debug commit
2018-08-27 10:54:16 +02:00
Raymond Knopp
b93b7073ca
Merge remote-tracking branch 'origin/develop' into develop-nr
...
Conflicts:
ci-scripts/Jenkinsfile-gitlab
ci-scripts/buildOnVM.sh
ci-scripts/checkCodingFormattingRules.sh
ci-scripts/createVM.sh
ci-scripts/destroyAllRunningVM.sh
ci-scripts/reportBuildLocally.sh
cmake_targets/CMakeLists.txt
cmake_targets/build_oai
cmake_targets/tools/build_helper
common/utils/LOG/log.h
openair1/PHY/LTE_ESTIMATION/lte_sync_timefreq.c
openair1/PHY/TOOLS/file_output.c
openair1/PHY/TOOLS/lte_dfts.c
openair1/PHY/TOOLS/tools_defs.h
openair1/PHY/defs_eNB.h
openair1/PHY/impl_defs_lte.h
openair1/SCHED_UE/phy_procedures_lte_ue.c
openair2/COMMON/platform_constants.h
openair2/COMMON/platform_types.h
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/main.c
openair2/RRC/LTE/L2_interface.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg_NB_IoT.c
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB_S1AP.c
openair2/UTIL/LOG/log.c
openair3/S1AP/s1ap_common.h
openair3/S1AP/s1ap_eNB.c
openair3/S1AP/s1ap_eNB_context_management_procedures.c
openair3/S1AP/s1ap_eNB_decoder.c
openair3/S1AP/s1ap_eNB_decoder.h
openair3/S1AP/s1ap_eNB_handlers.c
openair3/S1AP/s1ap_eNB_nas_procedures.c
openair3/S1AP/s1ap_eNB_overload.c
openair3/S1AP/s1ap_eNB_trace.c
openair3/TEST/EPC_TEST/play_scenario_decode.c
openair3/TEST/EPC_TEST/play_scenario_s1ap.c
openair3/TEST/EPC_TEST/play_scenario_s1ap_compare_ie.c
targets/COMMON/openairinterface5g_limits.h
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.50PRB.usrpb210.conf
targets/RT/USER/lte-ran.c
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ue.c
targets/SIMU/USER/oaisim_functions.c
2018-08-25 18:20:44 +02:00
frtabu
51c86dd49e
fix noS1 build failure
2018-08-24 20:06:02 +02:00
Calvin HSU
4280122cc6
UE: Add FAPI structure clean by every slot, update UL_CONFIG_REQ for PRACH, DL_CONFIG_REQ for DL-SCH and filling PHY parameter "dlsch", "dlsch_harq".:
2018-08-24 18:06:15 +02:00
frtabu
77f70e77ea
MSC logging utility as a config option
2018-08-24 17:43:14 +02:00
frtabu
24f8fcf346
Use common log mechanism in layer 3, mapping specific macros to common ones and extending common log utilities to support specific layer3 requirements
2018-08-24 17:43:14 +02:00
frtabu
79588a494e
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.
2018-08-24 17:43:14 +02:00
Raymond Knopp
b9a06a75ff
Merge branch 'ru_rau_enhancement-external-timing' of http://gitlab.eurecom.fr/oai/openairinterface5g into ru_rau_enhancement-external-timing
2018-08-24 14:49:29 +02:00
Raymond Knopp
bcabf5fe11
tracing for if4p5 fronthaul
2018-08-24 14:49:00 +02:00
Raymond Knopp
671aa4e11a
Merge remote-tracking branch 'origin/develop' into ru_rau_enhancement-external-timing
2018-08-24 14:48:04 +02:00
Raymond Knopp
b7b48fd6c7
beamforming debugging after fronthaul testing
2018-08-24 10:32:03 +02:00
hongzhi wang
38501eb221
ue minor changes for init
2018-08-23 16:48:39 +02:00
laurent
d5f28018ed
fix 344
2018-08-23 13:06:17 +02:00