Commit Graph
1968 Commits
Author SHA1 Message Date
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
hongzhi wang d89602c8af UE adding polar decoder 2018-08-23 11:16:20 +02:00
Hongzhi 742700fabd Merge branch 'nr_smallBlockCoding' into nr_pdcch 2018-08-23 10:12:54 +02:00
Hongzhi 11c1256f5e Merge branch 'develop-nr' into nr_pdcch
Conflicts:
	cmake_targets/CMakeLists.txt
2018-08-23 10:03:12 +02:00
yilmazt 42d70a9078 minor fixes 2018-08-22 17:52:18 +02:00
hongzhi wang 0c22058d5e ue bug fix and workaround for pdcch test 2018-08-22 17:18:14 +02:00
Jacques e21db57ad5 nr ue : frame configuration and pucch changes 2018-08-21 14:10:19 +02:00
Guy De Souza 9f85de3d94 Merge with nr_smallBlockCoding 2018-08-20 10:29:06 +02:00
Guy De Souza cf7c7937da merge with develop-nr 2018-08-20 10:07:35 +02:00
Raymond Knopp c3b9328540 Merge remote-tracking branch 'origin/t_tracer_w32' into ru_rau_enhancement-external-timing
Conflicts:
	common/utils/T/T_messages.txt
2018-08-17 16:33:07 +02:00
Cedric Roux e74010220d bugfix: fix duplicated code
As reported by Robert Schmidt.
2018-08-17 15:45:38 +02:00
cdxu0312 0fd3ca7584 added 2 RRU debugging for vcd 2018-08-17 15:12:26 +08:00
Eino Virtanen be0e409594 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
2018-08-16 16:22:13 +02:00
Hongzhi Wang 25a136afca ue adding pdsch procedure 2018-08-16 15:01:16 +02:00
Raymond Knopp 6bfbb77ebe Merge remote-tracking branch 'origin/340-fix-beamforming-for-multiple-antenna' into ru_rau_enhancement-external-timing
Conflicts:
	openair1/SCHED/ru_procedures.c
2018-08-15 04:23:59 +02:00
yilmazt 67eec34a5c Minor fixes 2018-08-14 16:25:51 +02:00
Cedric Roux 53bb1fb091 minor bugfix
Compilation of UE softmodem failed.
2018-08-14 15:54:34 +02:00
yilmazt 3c9a89576d Debug changes 2018-08-14 11:36:59 +02:00
yilmazt d409ed1adb trial 2018-08-13 21:40:54 +02:00
Wang Tsu-Han 2d723c542e adding VCD log for multiple RUs
Conflicts:
	common/utils/T/T_messages.txt
	openair1/SCHED/ru_procedures.c
	targets/RT/USER/lte-enb.c
2018-08-10 15:19:00 +02:00
Calvin HSU a964b894c0 UE: rx_frame, rx_slot in nr-ue.c to be fill. 2018-08-10 13:08:06 +02:00
Konstantinos Alexandris 5c85231782 GPS synchronization 2018-08-10 11:06:21 +02:00
Wang Tsu-Han b8feeef407 VCD log for two ru_thread 2018-08-09 17:06:24 +02:00
WEI-TAI CHEN 616a66b7dd Replace "#ifdef Rel14" by "#if (RRC_VERSION >= MAKE_VERSION(14, 0, 0))"
We can build Rel15 for LTE now
2018-08-09 06:08:33 -07:00
hongzhi wang cb6c7824ee ue improve sync stability 2018-08-09 12:22:06 +02:00
ISIP CS/NCTU 0fbde1bad0 Update lte-enb.c 2018-08-09 11:51:54 +02:00
ISIP CS/NCTU 191d36705a Replace lte-enb.c 2018-08-09 11:29:47 +02:00