Cedric Roux
072bb9044f
T: improve error reporting
...
Use "error:" as prefix to error messages in genids.c
to help looking for errors in case of failure of
the build.
2018-08-13 11:29:07 +02:00
Cedric Roux
fd8eb46c6a
minor: remove TABs
2018-08-13 11:29:07 +02:00
Cedric Roux
d5da350b06
T: check consistency of T_messages.txt with VCD functions and variables traces
...
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
cmake_targets/CMakeLists.txt an error will pop up when you compile the
software. You have to keep both modules synchronized.
2018-08-13 11:29:07 +02:00
Cedric Roux
f18a438c2c
T: simplify
...
Don't use shm anymore. Use mmap directly.
2018-08-13 11:28:56 +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
Cedric Roux
781133b772
T: bugfix in multi
...
Check result of send_is_on and close connection to tracee on error.
2018-08-09 10:18:38 +02:00
Cedric Roux
5b17b036ba
T: improve to_vcd tracer
...
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.
2018-08-08 15:42:02 +02:00
Cedric Roux
fdd4366daf
T: add a 'multi' tracer
...
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.
2018-08-08 15:41:39 +02:00
Cedric Roux
eb3b87d956
T: bugfix and cleanup
...
- bug fixed in ue and enb tracer: the socket needs to be closed
in case of restart
- cleanup: fix spacing in T_messages.txt
2018-08-08 11:58:26 +02:00
Raymond Knopp
f7dfb6c6b2
Merge remote-tracking branch 'origin/develop' into ru_rau_enhancement
...
Conflicts:
cmake_targets/build_oai
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/pucch.c
openair1/PHY/LTE_UE_TRANSPORT/initial_sync.c
openair1/SCHED/fapi_l1.c
openair1/SCHED/phy_procedures_lte_eNb.c
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler_RA.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-softmodem.h
2018-08-07 19:44:53 +02:00
WEI-TAI CHEN
b9037d1566
Complete merge develop into nr-rrc-additions
...
First build command : ./build_oai --gNB -w USRP -I
2018-08-07 05:31:52 -07:00
laurent
0a9a636ceb
commit new itti code
2018-08-06 16:52:51 +02:00
laurent
4c475c429b
first commit new itti
2018-08-06 16:52:27 +02:00
Cedric Roux
19a01f6cb0
minor: bug fix in T tracer 'to_vcd'
2018-08-06 12:26:35 +02:00
Cedric Roux
1752c92980
T: update 'to_vcd' tracer to trace all VCD variables and functions
...
Pass the command line arguemnt -vcd to trace all VCD variables
and functions.
2018-08-06 11:27:02 +02:00
Cedric Roux
409b3d5c20
Merge remote-tracking branch 'origin/issue326_LOGreview' into develop_integration_2018_w31
2018-08-03 09:45:26 +02:00
Cedric Roux
9e8ad4923b
fix install on centOS
...
- install package 'vim-common' to have 'xxd' needed by the compilation
process of the T tracer
- change the way xxd is called so that no file is created in case
of error
2018-08-01 16:36:35 +02:00
frtabu
cba9d69b4d
fix segfault when running with stdout stream caching disabled
2018-07-31 15:24:33 +02:00
frtabu
30509955c2
remove compilation warnings, especially when disabling T_TRACER. enhance LOG_M macro implementation, introduce LOG_DEBUG_XXX macro to replace #ifdef DEBUG_XXX
2018-07-30 20:07:22 +02:00
frtabu
b85cbddeec
log.c simplification, fix usefull functionality which never worked, move all log code from openair2 to common
2018-07-30 20:07:22 +02:00
Cedric Roux
1961fd7f20
remove gccxml/castxml
...
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.
2018-07-24 15:52:04 +02:00
Cedric Roux
86180447e7
fix
2018-07-20 16:51:53 +02:00
Cedric Roux
d89009becf
fix
2018-07-20 16:04:39 +02:00
Cedric Roux
42c3e6066c
fix
2018-07-20 15:57:52 +02:00
Cedric Roux
e7ea9e7611
Merge remote-tracking branch 'origin/issue326_LOGreview' into develop_integration_2018_w29
...
Conflicts:
cmake_targets/CMakeLists.txt
2018-07-20 12:11:52 +02:00
Cedric Roux
c836ef28f4
Merge remote-tracking branch 'origin/enhancement-rfsim' into develop_integration_2018_w29
...
Conflicts:
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/UTIL/LOG/log.c
targets/RT/USER/lte-uesoftmodem.c
targets/SIMU/USER/oaisim.c
targets/SIMU/USER/oaisim_functions.c
2018-07-20 12:06:26 +02:00
Raymond Knopp
3539761c28
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
2018-07-13 16:43:34 +02:00
Raphael Defosseux
10944d4a43
Merge branch 'issue325_itti_assertion' into 'develop'
...
fix: avoid assertion when terminating lte-softmodem process.
See merge request oai/openairinterface5g!341
2018-07-11 16:11:52 +02:00
frtabu
000f5e80ea
basic_simulator build should be Ok...this time.
2018-07-10 15:18:24 +02:00
Raymond Knopp
b2821c1f53
T tracer configuration identical for all executables, no ref to T Tracer config variables (T_port, T_wait...) outside the T tracer
2018-07-09 15:18:27 +02:00
oai
719762ccab
fix basic_simulator compilation failure
2018-07-06 15:30:02 +02:00
Raymond Knopp
494348e2f0
Merge remote-tracking branch 'origin/develop' into enhancement-rfsim
2018-07-06 06:24:31 +02:00
Haruki NAOI
80db773737
fix: avoid assertion when terminating lte-softmodem process.
2018-07-06 11:52:32 +09:00
oai
bfecc0110b
Remove compilation warnings, also fix telnet server compilation failure and NB-IoT shared lib compilation failure introduced when reviewing L1 sources organization
2018-07-05 17:37:38 +02:00
Raymond Knopp
27892e0935
Merge remote-tracking branch 'origin/develop' into enhancement-rfsim
...
Conflicts:
cmake_targets/build_oai
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.lo.conf
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-uesoftmodem.c
2018-06-28 14:44:47 -07:00
bruno mongazon
b016bc229a
fixed #320 issue
2018-06-25 18:23:36 +02:00
Raymond Knopp
53ca36d244
compilation with 'T' fixed
2018-06-19 10:05:09 -07:00
Cedric Roux
5c6ad3142d
Merge remote-tracking branch 'origin/develop' into mu_with_tdd1
...
The monolithic eNodeB is not fully functional in FDD.
The TDD mode has not been tested.
Do not consider this commit as functional.
Conflicts:
cmake_targets/CMakeLists.txt
cmake_targets/build_oai
common/utils/itti/intertask_interface.c
openair1/PHY/INIT/lte_init.c
openair1/PHY/LTE_ESTIMATION/lte_adjust_sync.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dlsch_scrambling.c
openair1/PHY/LTE_TRANSPORT/transport_eNB.h
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
openair1/PHY/defs_eNB.h
openair1/PHY/impl_defs_lte.h
openair1/SCHED/fapi_l1.c
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/pusch_pc.c
openair2/COMMON/platform_types.h
openair2/COMMON/rrc_messages_types.h
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_paramdef.h
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler_RA.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
openair2/LAYER2/MAC/mac.h
openair2/LAYER2/MAC/mac_proto.h
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/RLC/rlc.c
openair2/LAYER2/RLC/rlc_rrc.c
openair2/RRC/LITE/rrc_common.c
openair2/RRC/LTE/L2_interface.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/rrc_eNB.c
openair2/UTIL/LOG/log.h
targets/COMMON/openairinterface5g_limits.h
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.h
2018-06-12 16:23:36 +02:00
Raymond Knopp
eb363157c6
moved simulation target into lte-uesoftmodem with --simL1 option
2018-05-30 17:49:55 -07:00
Cedric Roux
bdda76430f
Merge remote-tracking branch 'origin/fixes-T-tracer-2018-w17' into develop_integration_2018_w19
2018-05-15 15:20:12 +02:00
Masayuki HARADA
de1996ec3e
change compile option from UE_EXPANSION to UE_EXPANSION,PHY_TX_THREAD,PRE_SCD_THREAD.
2018-05-15 17:37:43 +09:00
Cedric Roux
351ca5e726
Merge remote-tracking branch 'origin/basic-simulator' into develop_integration_2018_w19
...
Conflicts:
openair1/PHY/LTE_TRANSPORT/prach.c
targets/RT/USER/lte-ue.c
2018-05-14 17:30:18 +02:00
Cedric Roux
52cf61de97
T tracer: don't depend on T_BUFFER_MAX anymore in the tracers
...
Whenever the value T_BUFFER_MAX changes, the tracers had to
be recompiled. The only reason why it was needed is because we
used some fixed size buffers to read events. This commit removes
this restriction.
Also, with the basic simulator, this value T_BUFFER_MAX now comes
with an #ifdef which would have required some special hackish-level
tricks in the tracers, which is not good.
Let's just allocate memory when needed.
2018-05-02 12:11:34 +02:00
Cedric Roux
6cb04bb43a
basic simulator: initial release
...
This commit introduces a 'basic simulator'.
This basic simulator is made of:
- the standard eNB code using a special driver that mimics the USRP driver
- the standard UE code using a special driver that mimics the USRP driver
- no channel simulation
- some special code to deal with faster-than-realtime behaviour of this
basic simulator
It connects one UE to one eNB. It requires an EPC, populated with the
correct configuration for the UE.
This is the initial release and may contain bugs (most probably race
conditions due to the faster-than-realtime behaviour).
To use it, see the documentation at:
targets/ARCH/tcp_bridge/README.tcp_bridge_oai.
It has been tested with 25, 50 and 100 RBs, FDD mode.
(No check at all has been done to know if it could work in TDD mode.)
2018-05-02 11:27:41 +02:00
Cedric Roux
c14dd7ffbb
T: use PID for the SHM name
...
That allows to run several programs using this mechanism on the
same computer (say both eNB and UE, to debug).
2018-04-24 14:53:12 +02:00
Cedric Roux
7576e3fa52
T: bugfix: fix check on return value of mmap
2018-04-24 14:40:28 +02:00
Raymond Knopp
83b2f1c01c
Merge remote-tracking branch 'origin/develop' into develop-uedirectorysplit
...
Conflicts:
openair1/PHY/INIT/lte_init.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
openair1/PHY/LTE_UE_TRANSPORT/transport_proto_ue.h
openair1/PHY/defs_eNB.h
openair1/SCHED_UE/phy_procedures_lte_ue.c
openair2/LAYER2/MAC/mac.h
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-softmodem.h
2018-04-23 23:08:10 -07:00
Cedric Roux
fa4a9a0cb9
integration fix: update T tracer: add new VCD variables
2018-04-12 11:36:31 +02:00
Haruki NAOI
afcdb1e6a9
enb-log-mem_sp2.patch into closed_item
...
(cherry picked from commit 3432385280c3155ee63a54be7c2e4846a17299de)
# Conflicts:
# openair2/UTIL/LOG/log.c
2018-04-12 10:53:44 +09:00
Raymond Knopp
8b1416b862
debugging of new directory structure, file renaming, and eNB/UE splitting. dlsim/ulsim functional.
2018-04-09 15:32:49 -07:00