Commit Graph
8287 Commits
Author SHA1 Message Date
Y_Tomita f7bf5905a0 Refactoring for L2 FAPI simulator. 2018-10-24 09:48:09 +09:00
Cedric Roux f6f6570d6e T: minor: don't abort() in textlog.c
This leads to some logs missing in some situations.
Plus it's not user-friendly.
2018-10-23 18:05:40 +02:00
Cedric Roux 387b4ff215 T: fix compilation of tracers
If you run 'make' in common/utils/T/tracer
just after a clone of the repository then the
compilation will fail because the file ../T_IDs.h
was not generated.

Let's add a simple dependency to fix this.
2018-10-23 18:03:22 +02:00
Cedric Roux bbacffa7fd T: T_messages.txt: create a new group 'WIRESHARK'
It is to ease the life of people wanting to record traces to be
consumed later on by wireshark.

You just run: ./record -d ../T_messages.txt -o /tmp/record.raw -on WIRESHARK
and you're good.
2018-10-23 17:32:36 +02:00
Louis Adrien Dufrene 2966cdf1c0 Format rrc_eNB_send_S1AP_UE_CONTEXT_RELEASE_REQ() 2018-10-23 17:12:45 +02:00
Louis Adrien Dufrene 57a383e77c Format rrc_eNB_process_S1AP_UE_CONTEXT_RELEASE_COMMAND() and rrc_eNB_free_UE() 2018-10-23 16:51:55 +02:00
Cedric Roux 9a6d30d716 T: macpdu2wireshark: cleanup
- factorize
- harmonize
- simplify
2018-10-23 16:39:04 +02:00
Louis Adrien Dufrene 2e5ae1eac6 Format of function rrc_rx_tx() 2018-10-23 16:20:14 +02:00
Cedric Roux 35a7e3a180 T: macpdu2wireshark: add RA preamble and RAR tracing 2018-10-23 16:08:29 +02:00
Y_Tomita f39f321d3b Compiling error fix. 2018-10-23 18:50:46 +09:00
Cedric Roux fdb16fae7d T: macpdu2wireshark: add SIBs tracing
Only schedule_SI is done, not schedule_SIB1_BR and not schedule_SI_BR.
2018-10-23 10:19:51 +02:00
Y_Tomita 6d97a7358b Add sudo to enable init_nas_S1. 2018-10-23 15:31:13 +09:00
Y_Tomita 35e81d8a66 Add virtual NIC setting for L2 FAPI simulator. 2018-10-23 15:28:04 +09:00
Y_Tomita 31d6783d60 Modify setting of new_sdu_p->data->inst to avoid unexpected setting in case of UE. 2018-10-23 15:23:11 +09:00
Louis Adrien Dufrene a073e84369 Merge remote-tracking branch 'eurecom_gitlab/develop' into DRX_develop 2018-10-23 08:00:00 +02:00
Y_Tomita 6404eddfc1 Fix easy mistatke. 2018-10-23 13:19:33 +09:00
Y_Tomita 2ed0722544 Changed difinition of some valuables to add initialization. 2018-10-23 13:15:09 +09:00
Y_Tomita ff312b1b97 Fix to set message_id in VNF.(Failed to commit 2151da7b.) 2018-10-23 12:56:56 +09:00
Cedric Roux 7b264ac923 T: macpdu2wireshark: add MIB logging
The tracer macpdu2wireshark can send MIBs to wireshark.
This can be disabled by passing the new -no-mib option.

openair1/SCHED/phy_procedures_lte_eNb.c has been modified
to have a new T trace with the MIB.
2018-10-22 17:23:53 +02:00
Y_Tomita 05fb6c9192 bugfix about MSG4 in L2 FAPI simulator. 2018-10-22 17:59:24 +09:00
Y_Tomita 20a2e83c39 Add multiple UE's L2 FAPI simulator's function. 2018-10-22 17:21:30 +09:00
Y_Tomita eb0ebc588f Add some valuables initialization to avoid unexpected exit. 2018-10-22 16:56:51 +09:00
Y_Tomita bf8706d2c0 Modify to keep ulsch_buffer's value. 2018-10-22 16:48:31 +09:00
Y_Tomita 04691fb04c Add checking pdu_index is enough in function of dl_config_req_UE_MAC. 2018-10-22 16:39:44 +09:00
Y_Tomita da3e4ced9d Fix for TDD's ULSCH HARQ in L2 FAPI simulator. 2018-10-22 16:15:24 +09:00
Y_Tomita 7f826450df Add definition about mutex for multiple UE's L2 FAPI simulator. 2018-10-22 16:09:34 +09:00
Y_Tomita 2b0097a8d4 Add UE's thread ID for L2 FAPI simulator. 2018-10-22 16:01:15 +09:00
Y_Tomita 0e0a04fbc1 Fix for 256UEs. 2018-10-22 15:35:34 +09:00
Y_Tomita 564f2cbfd4 Modify not to assert a part in L2 FAPI simulator because it's possible to differ timing(frame, subframe) between eNB and UE. 2018-10-22 14:43:22 +09:00
Y_Tomita d9d204a5d3 Modify RRC SDU length is not enough when UE received it. 2018-10-22 14:20:51 +09:00
Y_Tomita d43dd64b94 Change not to watch timing in MSG2 and MSG4 procedure in L2 FAPI simulator because it's possible to differ timing(frame, subframe) between eNB and UE. 2018-10-22 14:12:41 +09:00
Y_Tomita f4aa4ee918 Fix for setting of harq_information->harq_information_rel10.tl.tag 2018-10-22 14:06:01 +09:00
Y_Tomita ac0d6cc1f3 Add NAS initialization in L2 FAPI simulator. 2018-10-22 14:00:47 +09:00
Y_Tomita 2151da7b33 Fix to set message_id in VNF. 2018-10-22 13:47:05 +09:00
Y_Tomita 50df0f683f Temporary Fix: disabling FAPI log to avoid Segmentation Fault. 2018-10-22 13:42:43 +09:00
Y_Tomita f0274ed337 Modify to use Mod_id = 0 in L2 FAPI simulator's eNB to avoid Segmentation Fault 2018-10-22 13:33:24 +09:00
Y_Tomita 7a755d8df6 Modify not to use initializations of usual test in L2 FAPI simulator. 2018-10-22 13:30:09 +09:00
Y_Tomita d27a0cbb23 Move initialization of ru pointer before it's accessed. 2018-10-22 13:26:51 +09:00
Raymond Knopp bab10e2748 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into develop 2018-10-20 15:31:25 +02:00
Raymond Knopp 506edcaec2 lowered debug level for RF simulator 2018-10-20 09:16:24 +02:00
Raphael Defosseux 09187015aa CI: fix in 'ULSCH error' message reporting
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2018-10-19 11:26:07 +02:00
Raphael Defosseux 72167b50da Astyle options agreed during TC meeting 2018/10/18.
-- Note that max line length is 200 (maximum allowed by tool)
 -- Pre-commit hook tested and uses the same option file as CI

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2018-10-18 16:48:41 +02:00
Cedric Roux 075a713de9 hotfix: fix a problem with multiple UEs
The symptom: when two UEs do uplink traffic at the same time, the
eNB fails to decode data sometimes. This has been seen with FDD
and 50 RBs. This generates a cascade of other problems leading to
disconnection/reconnection events seen in the log.

The problem: there are probably many, but one obvious bug was found
while analyzing some logs. Scheduling in the same TTI one UE's uplink
traffic and random access (msg3) was done in the same RB.

This commit fixes this simple case. It is probably not the end of
the story.

This is a hotfix, that does not change the code much.

We need to use vrb_map_UL properly all over the places. Today is
not used, but this is the way to go (most probably).
2018-10-18 16:42:32 +02:00
Raphael Defosseux e6d35a81e4 CI: cosmetics changes to reporting
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2018-10-18 14:21:32 +02:00
Raphael Defosseux d5cd9a31f9 CI: fixes and enhancements
-- fix for IF4p5 TDD scenario (missing build test-case)
  -- added automatic UE/eNB termination in main.py when iperf/ping fails
     It allows to have a eNB log analysis for HTML reporting
  -- added statistics on PDCP out-of-resource messages
  -- added statistics on ULSCH error messages

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2018-10-17 16:19:31 +02:00
Bi-Ruei, Chiu f58ad3c39f Add prefix LTE_ to LTE-RRC generated data types by ASN1C_PREFIX=LTE_
1. Modify all expressions using original LTE-RRC data types for new generated ones
2. Does not change any program logic
2018-10-17 15:46:12 +08:00
Y_Tomita 4249ebbf8b Add function to create pre_scd_thread in case of L2sim. 2018-10-17 10:05:41 +09:00
Y_Tomita 33e8577f94 Fix for problems that L2sim finishes in case of multiple UEs and UE L2sim keeps wating for a signal. 2018-10-17 10:01:05 +09:00
Y_Tomita 53d6f992c9 Fix for problems that eNB keeps waiting for signal of unused thread and eNB_thread_rxtx isn't created. 2018-10-17 09:55:27 +09:00
Y_Tomita 1f4a9f3439 Fix for abnormal exit because L2sim doesn't use pointer of D2D test. 2018-10-17 09:54:08 +09:00