Javier Morgade
786895dcd9
Merge remote-tracking branch 'origin/develop' into develop-entv
2019-05-17 18:11:55 +02:00
Robert Schmidt
82db432191
Make separate func_ptr setters for PDCP Ind/RLC Req
2019-04-19 14:06:48 +02:00
Robert Schmidt
42713b95fc
Configure complete PDCP in lte-(ue)softmodem
...
* Instead of partly initializing in read_config_and_init(), everything of
PDCP is initialized in main() of lte-softmodem
* Omit RC.rrc access in RRU through checking of RC.nb_inst > 0
* Includes FlexRAN, i.e. do not start FlexRAN in RRU
* Function pointers to PDCP functions have to be set explicitly (avoid
confusion of multiply setting function pointers)
2019-04-19 14:05:51 +02:00
Javier Morgade
35421860f9
Bugfix RLC/PDCP MBMS Bearer settings
2019-04-11 22:01:24 +02:00
Raphael Defosseux
064d7fd917
CI: fixing the build report and a few warnings
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-04-08 11:54:03 +02:00
frtabu
30b7c973e0
merge nfapi_cleanup
2019-04-05 18:43:40 +02:00
Robert Schmidt
024007716a
Check type of node using NODE_IS_CU/DU/MONOLITHIC macros
2019-03-26 13:15:02 +01:00
Robert Schmidt
62d9b8cf36
Merge branch 'develop' into feature-127-protocol-split
2019-03-14 13:10:21 +01:00
frtabu
753c2f446d
apply astyle, fix compilation warnings in raw aeth transport and kernel modules
2019-03-10 00:04:12 +01:00
Robert Schmidt
20c35748ca
Fix lte-uesoftmodem: segfaults & logic errors
...
* prevent segfault: guard access to RC.rrc with UETARGET
* in rlc_data_ind(): correct logic to test for all cases eNB, CU, DU, UE
2019-03-08 16:52:34 +01:00
frtabu
c9dcaa53af
noS1 woking with tun interfaces and basic simu
2019-03-08 16:00:09 +01:00
Robert Schmidt
56af9c60e4
Fix compilation/linking errors in lte-uesoftmodem
2019-03-05 18:47:29 +01:00
Robert Schmidt
f9c4c501e3
Merge branch 'develop' into feature-127-protocol-split
2019-03-05 14:17:38 +01:00
Raphael Defosseux
0f11865fa4
Merge remote-tracking branch 'origin/issue-404-pdcp-integrity' into develop_integration_2019_w09
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-02-28 14:37:10 +01:00
Cedric Roux
e3782b5ca2
bugfix: fix PDCP sequence management (plus some cleanup)
...
With the introduction of X2AP into develop, the UEs now have to regularly
send measurement reports.
In the logs of the eNB, we see:
[OSA] Mismatch found in integrity for algorithm 2,
got e0.a0.c2.66, expecting a5.9c.cb.57
[PDCP] [OSA][RB 1] eNB failed to validate MAC-I of incoming PDU
This is a bug in the PDCP layer that uses wrong parameters to compute the
integrity.
This commit fixes this bug.
The function pdcp_is_rx_seq_number_valid was removed. Its processing
has been directly integrated into the function pdcp_data_ind.
The function pdcp_mark_current_pdu_as_received is not called anymore.
Its processing was not used later on, so as of today, not calling it does
not introduce any functional change.
The function pdcp_validate_security takes now as parameters both
SN and HFN. Same for the function pdcp_get_next_count_rx.
Useless constants PDCP_SN_5BIT, PDCP_SN_7BIT and PDCP_SN_12BIT have been
removed.
The compilation option ENABLE_SECURITY has been removed. It's now always
on. (This may impact some use cases.)
The PDCP for DRB using RLC AM is not correct. It was not correct before
this commit (apart from the integrity bug). We should deal with a list
of PDUs and transmit packets to upper layers as detailed in the specs.
Today we transmit the PDU as soon as we get it. We don't care about
duplicates, in-order delivery, timeouts.
Also, we don't deal with "PDCP re-establishment". Not sure how that impacts
the software.
And, last but not least, there is still no ROHC.
2019-02-27 12:33:04 +01:00
frtabu
43f827351f
Fix basic-simulator (pdcp.c)
2019-02-26 16:49:55 +01:00
frtabu
fb46545526
Fix corrupted LOGs in L1L2simulator, introducing two new components NFAPI_VNF and NFAPI_pnf. Integrate Fujitsu fix for up to 50 UEs. Apply astyle to all modified files in the branch
2019-02-25 16:50:03 +01:00
tomita.y
f3dc8d446d
Fixed a problem of double free.
2019-02-25 15:55:02 +09:00
Robert Schmidt
030e11ba9a
Merge branch 'develop' into feature-127-protocol-split
2019-02-21 20:18:35 +01:00
frtabu
eb26975451
attempt to fix l2 simulator issue
2019-02-19 19:50:44 +01:00
frtabu
38d772d8a2
nos1 et s1 execs identical, nos1 enforced based on exec name or --noS1 option
2019-02-17 23:46:45 +01:00
frtabu
501ae74cb5
first set of cppcheck fixes
2019-02-12 09:46:02 +01:00
Raphael Defosseux
8260607ed6
CI: fix in L2-simulator VM build start script
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-01-22 21:37:40 +01:00
Robert Schmidt
2cdcb6466b
Move PDCP stats recording out from non-applying packet_forwarded FALSE case
2019-01-22 16:11:37 +01:00
Robert Schmidt
767eaf5ba2
Initialize PDCP stats when UE is added
2019-01-19 18:22:40 +01:00
Robert Schmidt
6f9f2d8992
Correct PDCP stats defining constant to MAX_eNB from CC
2019-01-19 16:59:33 +01:00
Raphael Defosseux
d0190899d2
Try out to comment added lines
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-01-17 23:09:10 +01:00
Raphael Defosseux
4075fbc86a
Merge remote-tracking branch 'origin/develop' into issue_345_l2_fapi_simulator_new_jan2019
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-01-17 18:19:46 +01:00
Raymond Knopp
95746536c0
Fix for the Internet connectivity issue
2019-01-10 18:39:07 +01:00
Raymond Knopp
29064e6d49
corrected bug in handling of UE_mode during initial connection once timing synchronization condition (hysteresis count) is satisfied.
2019-01-09 23:30:13 +01:00
Robert Schmidt
f0c5f57159
Do not free mem_block in PDCP, it is freed in F1 or RLC
2018-11-07 16:13:03 +01:00
Robert Schmidt
397d2f4815
Merge commit 'develop' into feature-127-protocol-split
...
* remove a lot of white spaces
* many conflicts in enb_config.c
2018-11-07 16:07:59 +01:00
Haruki NAOI
7d9898a5bb
Merge remote-tracking branch 'remotes/origin/develop' into issue_345_l2_fapi_simulator_new
...
# Conflicts:
# openair2/LAYER2/PDCP_v10.1.0/pdcp.c
# openair2/LAYER2/PDCP_v10.1.0/pdcp_fifo.c
# openair2/LAYER2/RLC/rlc.c
2018-11-06 15:03:54 +09:00
yoshio.inoue
64b395c64a
Fixed overflow related to oip generation
2018-11-02 19:28:15 +09:00
yoshio.inoue
e13c962d24
Fixed bug that u-plane is not transferred with multiple UEs
2018-11-02 16:54:19 +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
Y_Tomita
0e0a04fbc1
Fix for 256UEs.
2018-10-22 15:35:34 +09:00
Robert Schmidt
5862a10274
Don't spam with some PROTO_AGENT and PDCP messages, correct two other
2018-10-18 09:49:14 +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
1f4a9f3439
Fix for abnormal exit because L2sim doesn't use pointer of D2D test.
2018-10-17 09:54:08 +09:00
Y_Tomita
0d58ed224f
Change type for 256UEs test , abnormal exit and add definition of UE's thread ID for multiple UEs simulation.
2018-10-17 09:48:15 +09:00
Raymond Knopp
345989a975
remove info traces in PDCP, one still remains
2018-09-25 04:07:52 -04:00
Bing-Kai Hong
7f70860c24
Fix tag typo of PROTO_AGENT
2018-09-24 17:48:57 +02:00
Navid Nikaein
e4ac90238e
Fix F1-U srb and drb function calls (not tested).
2018-09-24 09:28:57 +02:00
Raymond Knopp
6bbc81694b
Control plane is functional. Still need to handle RRCConnectionRelease in DU
2018-09-23 16:06:40 -04:00
Raymond Knopp
31fe819c7d
extra logging
2018-09-23 14:30:37 -04:00
Bing-Kai Hong
0372c9b289
Generate the DCCH and send from pdcp
2018-09-20 19:12:05 +02:00
Robert Schmidt
7ed0aa1d6a
Add F1U proto_agent calls, remove old code
2018-09-20 17:13:18 +02:00
Raymond Knopp
578ce9ebe1
up to RRCConnectionSetupComplete Transmission in UE
2018-09-19 20:14:55 +02:00
Robert Schmidt
1cd43984c2
Remove PDCP/RLC code depending on old F1U/PROTO_AGENT
2018-09-19 11:56:54 +02:00