Cedric Roux
7e7fd3c4d5
T tracer: add a tracer to dump to VCD file
...
Later on, use this file with gtkwave.
To be used to check realtime behaviour of the system.
2017-10-27 16:14:39 +02:00
Cedric Roux
2beac6fed7
T: minor update of .gitignore
2017-10-27 16:14:39 +02:00
Cedric Roux
8dd3a2bdc4
T: add extract_output_subframe
...
This tracer extracts output subframes generated by the eNodeB,
so they can be analyzed with some external tools.
2017-10-27 16:14:39 +02:00
Cedric Roux
6322010e0a
T: add a tracer: extract
...
This tracer extracts the content of a buffer field of an event
that was previously saved using the tracer 'record'.
For example, to extract the channel estimation done in
frame 924 and subframe 2 as saved in the file input_record.raw
and to store it in the file output.raw, do:
./extract -d ../T_messages.txt -o output.raw input_record.raw ENB_PHY_UL_CHANNEL_ESTIMATE chest_t -f frame 924 -f subframe 2
2017-10-27 16:09:08 +02:00
Raymond Knopp
51a9107c14
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
...
Conflicts:
openair1/SCHED/phy_procedures_lte_eNb.c
openair2/ENB_APP/enb_config.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
targets/RT/USER/lte-ru.c
2017-10-25 00:40:20 +02:00
Cedric Roux
4b9f58c085
T tracer: fix traces (add/remove to be in synch with VCD module)
2017-10-23 17:40:58 +02:00
Cedric Roux
b4a48e199e
Merge remote-tracking branch 'origin/update-license' into RU-RAU-split
...
Conflicts:
openair1/PHY/CODING/rate_matching.c
openair1/PHY/LTE_REFSIG/primary_synch.h
openair2/LAYER2/layer2_top.c
openair2/RRC/LITE/rrc_config.c
2017-10-23 15:00:30 +02:00
Cedric Roux
1b1f941e3c
upgrade license to version 1.1
2017-10-23 12:22:13 +02:00
Cedric Roux
2516216d14
T tracer: improve a bit enb tracer
...
- UE_id 0 is for rnti 65535 (sib)
- UE_id 1 is for rnti 65534 (this is a hack)
- UE_id 2 is for rnti 2 (RA RNTI as of today's code/config)
- we start enb by displaying UE_id 3
- there was a bug: we need to lock when resetting UE ids (reset_ue_ids)
2017-10-18 12:06:16 +02:00
Cedric Roux
783667552e
T: add -rb option to enb tracer
2017-10-17 13:16:44 +02:00
mohamed.said
7cecfa10e3
Stable version of configuration
2017-10-16 19:44:29 +02:00
Cedric Roux
748a0790c9
T: hack for enb tracer
2017-10-12 11:00:33 +02:00
Cedric Roux
6d7a1a1623
minor: improve T tracer logs
2017-10-11 11:40:42 +02:00
Raymond Knopp
4fc7846f13
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
...
Conflicts:
openair1/PHY/INIT/lte_init.c
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/SCHED/phy_procedures_lte_eNb.c
openair2/ENB_APP/enb_config.c
openair2/LAYER2/MAC/defs.h
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler_RA.c
openair2/LAYER2/MAC/eNB_scheduler_bch.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/rar_tools.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/rrc_eNB.c
2017-10-10 22:09:13 -07:00
Cedric Roux
a9d6e04cf2
T: modify extract_input_subframe to dump several subframes
2017-10-09 16:33:05 +02:00
Raymond Knopp
210754c034
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
2017-10-07 08:23:17 +02:00
Raymond Knopp
b8235ff707
bugfix in dci generation (padding bits set to 0 in format 0 DCI)
...
removal of LOG_I put for debugging.
2017-10-07 08:22:02 +02:00
frtabu
3b824c9067
telnet server and shared library loader enhancement
2017-10-07 00:35:23 +02:00
frtabu
4685536b8c
telnet display log level fix
2017-10-05 00:36:29 +02:00
frtabu
ade874e753
add process related telnet command
2017-10-03 00:25:04 +02:00
frtabu
8c22204a6c
temporary fix undefined symbols in telnet shared lib
2017-10-02 00:07:59 +02:00
frtabu
d88b72498d
remove getopt call in configuration module, it changes the argv order. Fix configuration module bugs (command line arguments sometimes not properly processed
2017-10-01 19:19:36 +02:00
oai
16eb450927
Add generic shared lib loader
2017-09-29 16:15:04 +02:00
frtabu
30abbdf826
prepare for telnet server integration
2017-09-29 02:07:33 +02:00
Cedric Roux
e6936f1b7c
update T tracer
...
not finished, UE may not work, many things bad/to fix properly
2017-09-27 17:59:08 +02:00
Raymond Knopp
a5ab75e1f3
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
...
Conflicts:
common/config/config_userapi.h
openair2/ENB_APP/enb_config.c
targets/RT/USER/lte-softmodem.c
2017-09-26 22:30:13 -07:00
Raymond Knopp
bc9c587b48
Merge remote-tracking branch 'origin/develop' into RU-RAU-split
...
Conflicts:
openair1/PHY/INIT/lte_init.c
openair1/PHY/LTE_ESTIMATION/defs.h
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/defs.h
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
openair1/PHY/LTE_TRANSPORT/if5_tools.c
openair1/PHY/LTE_TRANSPORT/phich.c
openair1/PHY/LTE_TRANSPORT/proto.h
openair1/PHY/defs.h
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_ue.c
openair1/SCHED/pusch_pc.c
openair2/ENB_APP/enb_config.c
openair2/LAYER2/MAC/defs.h
openair2/LAYER2/MAC/eNB_scheduler.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/pre_processor.c
openair2/LAYER2/MAC/ue_procedures.c
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-softmodem.h
targets/RT/USER/lte-ue.c
targets/SIMU/USER/init_lte.c
targets/SIMU/USER/oaisim_functions.c
2017-09-26 21:43:03 -07:00
oai
53907d3739
fix command line processing crash
2017-09-26 15:35:26 +02:00
oai
aae10bf0c2
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
2017-09-26 13:22:30 +02:00
oai
7ce0e45db3
fix process_cmdline error,
2017-09-26 13:21:41 +02:00
oai
d09a0a2a5d
Remove legacy configuration mechanism
2017-09-25 17:31:25 +02:00
frtabu
3e27fc89fd
Improve configuration module error management at init time, Fix command line help option processing, remove shotopt field from parameter structure
2017-09-24 23:43:48 +02:00
oai
cc79250fcc
Fix configuration module shared library improperly build and not loadable when libconfig version is below 1.5
2017-09-22 12:13:32 +02:00
Francois TABURET
32786cc7f7
Integration of configuration module. Temporarily keep the legacy mode.
...
lte-softmodem -O <config file> will trigger legacy config mode
ltesoftmodem -O libconfig:<config file> will trigger configuration module usage.
2017-09-21 19:30:00 +02:00
Raymond Knopp
d2249d5c56
Merge branch 'RU-RAU-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into RU-RAU-split
2017-09-14 07:16:10 -07:00
Raymond Knopp
362f584d66
integration of remaining nFAPI messages
2017-09-14 07:15:49 -07:00
frtabu
cdca16f655
add configuration module, with compilation, but not yet integrated in softmodem
2017-09-04 00:12:35 +02:00
Cedric Roux
761bf3c4c2
T: fix VCD traces
2017-08-29 17:18:23 +02:00
Cedric Roux
a945f85d6f
Merge remote-tracking branch 'internal/T-new-traces' into develop_integration_w34
2017-08-29 10:25:41 +02:00
Cedric Roux
0daf79bfc8
T: add some new traces
...
- ENB_PHY_OUTPUT_SIGNAL to trace output signal
- ENB_MAC_SCHEDULING_REQUEST to trace scheduling requests
2017-08-29 10:23:06 +02:00
Cedric Roux
0293141817
T tracer: add a new tool: extract_input_subframe
...
This program extracts a given subframe from a recorded trace.
2017-08-20 22:52:35 +02:00
khalidhamdy
d847f3cad5
solving some errors
2017-08-14 11:04:50 +02:00
Raymond Knopp
8da1c4b5bb
Note: this commit is work in progress. Contains initial integration of NFAPI data structures which are tested for TX path. RX path to follow.
2017-07-06 08:18:32 -07:00
Cedric Roux
85ac4e4648
T: minor makefile fix
2017-06-16 14:51:13 +02:00
Raymond Knopp
d23697aef3
Merge branch 'develop' into RU-RAU-split
...
Conflicts:
openair1/PHY/INIT/lte_init.c
openair1/PHY/LTE_ESTIMATION/lte_ul_channel_estimation.c
openair1/PHY/LTE_TRANSPORT/dci.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dlsch_coding.c
openair1/PHY/LTE_TRANSPORT/dlsch_decoding.c
openair1/PHY/LTE_TRANSPORT/dlsch_demodulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_llr_computation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/if4_tools.c
openair1/PHY/LTE_TRANSPORT/if5_tools.c
openair1/PHY/LTE_TRANSPORT/if5_tools.h
openair1/PHY/LTE_TRANSPORT/pcfich.c
openair1/PHY/LTE_TRANSPORT/phich.c
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/rar_tools.c
openair1/PHY/LTE_TRANSPORT/srs_modulation.c
openair1/PHY/defs.h
openair1/PHY/impl_defs_lte.h
openair1/PHY/impl_defs_top.h
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_ue.c
openair2/COMMON/mac_rrc_primitives.h
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.h
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_mch.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/main.c
openair2/LAYER2/MAC/proto.h
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.h
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_common.c
openair2/RRC/LITE/rrc_eNB.c
targets/ARCH/COMMON/common_lib.c
targets/ARCH/COMMON/common_lib.h
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_raw.c
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.c
targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.h
targets/ARCH/ETHERNET/USERSPACE/LIB/if_defs.h
targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.25PRB.lo.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band7.tm1.if4p5.50PRB.lo.conf
targets/PROJECTS/GENERIC-LTE-EPC/CONF/rru.band7.tm1.if4p5.25PRB.oaisim.conf
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-softmodem.c
targets/RT/USER/lte-ue.c
targets/RT/USER/rt_wrapper.h
targets/SIMU/USER/channel_sim.c
targets/SIMU/USER/init_lte.c
targets/SIMU/USER/oaisim.c
targets/SIMU/USER/oaisim_functions.c
2017-06-05 15:33:38 -07:00
Cedric Roux
8625a8672a
T: improve trace ENB_PHY_ULSCH_UE_DCI
2017-05-19 16:17:56 +02:00
Cedric Roux
ce08fa8e9e
integration fix: remove various warnings
2017-05-15 15:57:26 +02:00
Raymond Knopp
2f398d311e
added ran_context.h
2017-04-17 11:17:00 -07:00
Raymond Knopp
b42aed9ed9
initial testing version of L1L-L1H split (RRU-RAU)
2017-04-17 10:40:23 -07:00
Cedric Roux
cff9149920
fix issue 227 - UE IP settings disrupts realtime
...
see https://gitlab.eurecom.fr/oai/openairinterface5g/issues/227
When the UE connects to the eNodeB and receives its IP address from the
network, it calls system() to set it in the linux kernel world. This call
is not done in a realtime thread, but in the NAS, which uses its own thread,
independent of the realtime processing.
In some situations this totally disrupts realtime processing.
It is difficult to know precisely why that happens, but it seems that calling
fork(), as system() does, in a multi-threaded program is not a good idea. (So
say several people on the internet.) It is not clear why the softmodem is
impacted, but it seems that fork() is really what triggers the disruption.
Several tests lead to that conclusion.
To fix the problem, we create a child background process very early in main()
(before anything else basically). Then instead of calling system(), the main
process sends the string to the background process. The background process
gets the string, passes it to system() and reports the success/failure back
to the main process.
This solution involves a lot of system calls, but calling system() in the
first place is not cheap either. As long as no realtime thread uses this
mechanism, things should be fine. Time will tell.
2017-03-23 12:34:24 +01:00