laurent
223ae5c307
remove a forgotten printf()
2022-09-02 11:36:47 +02:00
laurent
9ee917039a
fix non reentrant issue in itti
2022-09-02 11:36:47 +02:00
Robert Schmidt
db7f39ba19
Use correct structure in sctp_eNB_accept_associations()
2022-07-20 10:40:32 +02:00
Laurent Thomas
85eb5926dd
x2 nsa bug
2022-04-28 14:36:03 +02:00
Robert Schmidt
00e058537d
Remove MSC library, it is not used anywhere
2022-01-27 10:53:07 +01:00
Laurent THOMAS
0976f3e988
bug fix
2021-08-31 13:26:29 +02:00
Laurent OpenCells
a03ee3548f
merge latest develop
2021-07-26 15:03:47 +02:00
rmagueta
39670007be
Merge remote-tracking branch 'origin/develop' into develop-NR_SA_F1AP_5GRECORDS-abs
2021-07-08 17:43:43 +01:00
Laurent THOMAS
ee0e7c97a3
merge develop
2021-07-02 12:22:42 +02:00
Laurent Thomas
9f07b3704b
sctp source port allocation to Linux automatic, heap corruption fix
2021-06-29 13:13:20 +02:00
Laurent THOMAS
42ea1f8261
fix F1 setup messages memory error
2021-06-27 21:51:04 +02:00
matzakos
5bce383cc9
Remove X2 data RB tree entry at eNB after receiving sctp shutdown event from gNB
...
-If the gNB crashes when the X2 connection is established with the eNB, an sctp shutdown event is received from the eNB. However the x2 data related with
the connection were not removed from the RB tree. Then if the gNB tried to reconnect, it made the eNB exit because the eNB had kept the previous data.
Now we remove the x2 data as soon as the sctp shutdown event is received so that the eNB does not exit anymore at the next connection attempts.
2021-06-16 22:44:02 +02:00
Laurent THOMAS
015ba5f076
fix arry size bug
2021-06-16 10:41:45 +02:00
Laurent THOMAS
6749c5f762
Make more accurate sctp socket failure messages
2021-06-10 13:11:56 +02:00
masayuki.harada
ff994453a4
Merge remote-tracking branch 'remotes/oai/develop' into HEAD
...
# Conflicts:
# openair3/S1AP/s1ap_eNB.c
# openair3/S1AP/s1ap_eNB_handlers.c
2021-03-08 14:51:11 +09:00
Laurent
3b0c43c04b
fix memory allocation error
2021-01-10 21:41:22 +01:00
masayuki.harada
674339237f
Add handling of error case.
2021-01-06 20:20:22 +09:00
Haruki NAOI
46407ca42b
Add S1down auto recovery.
...
(cherry picked from commit 2339972ceaeb75fe18c0b2ae9ea69216dd919668)
2021-01-06 19:51:11 +09:00
Laurent
42a110338c
itti dynamic queue creation, and 64 bits instance id
2020-12-23 13:56:01 +01:00
Raphael Defosseux
524354aebc
OC: fix typos
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2020-11-16 13:32:44 +01:00
Mohammed Ismail
d4d0776774
sctp_event_subscribe updated
...
Signed-off-by: Mohammed Ismail <mohammed.ismail@eurecom.fr >
2020-11-16 13:32:44 +01:00
Raphael Defosseux
c409da3bb8
Patch provided by Gabriel Arrobo.
...
Mainly comestics and integer type management
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2020-01-09 14:10:04 +01:00
yilmazt
84af6103f8
another batch of cppcheck error corrections
2019-09-24 11:59:17 +02:00
yilmazt
e823ae9d0b
phy_simulators working again
2019-07-20 17:52:32 +02:00
yilmazt
2b321fd1c7
Merging latest develop commits
2019-07-16 11:20:24 +02:00
Cedric Roux
2421b71d68
x2ap/sctp: increase buffer size
...
The 5G phone OPPO has a very big UE capability (> 2KB).
We need bigger buffers to transfer this, especially in x2 handover.
Also the sctp messages need a bigger buffer.
Note: in sctp, we didn't check for partial messages, it's now
done. When detected, we exit. To be redone differently
if needed. (Look for "if (!(flags & MSG_EOR))".)
2019-07-11 16:34:28 +02:00
Dong Anyuan
4eb0344714
Fix Coverity Scan CID 60348 (Variable addr going out of scope leaks the storage it points to.)
2019-06-20 12:37:36 +09:00
Dong Anyuan
264e429f23
Fix Coverity Scan CID 60351 (Variable sctp_cnx going out of scope leaks the storage it points to.)
2019-06-20 12:37:08 +09:00
Dong Anyuan
1d017a3625
Fix Coverity Scan CID 60372 (Handle variable sd going out of scope leaks the handle.)
2019-06-20 12:35:04 +09:00
Dong Anyuan
47758322b6
Fix Coverity Scan CID 60394 (Using uninitialized value addr6. Field addr6.sin6_flowinfo is uninitialized when calling bind.)
2019-06-20 12:33:09 +09:00
yilmazt
ccd60195e0
Merging test-x310, ci-dev-nr-add-gnb-nr-ur-uspr-testing and nr-mimo-mode-clean branches
2019-05-20 21:32:34 +02:00
laurent
ba6d47a758
rework threads in 5G
2019-04-30 21:46:49 +02:00
Robert Schmidt
62d9b8cf36
Merge branch 'develop' into feature-127-protocol-split
2019-03-14 13:10:21 +01:00
Konstantinos Alexandris
a8eefbcf58
sctp: bugfix: use correct instance (not default) for sctp_itti_send_new_message_ind
2019-03-05 14:56:42 +01:00
Konstantinos Alexandris
3179722161
x2: bug fixes
...
- free correctly in rrc_eNB_free_mem_UE_context
- check for existence of ue_context.handover_info in rrc_enb_process_itti_msg
- check return value sctp_peeloff in sctp_handle_new_association_req_multi
and exit in case of failure
2019-03-05 14:56:42 +01:00
Robert Schmidt
030e11ba9a
Merge branch 'develop' into feature-127-protocol-split
2019-02-21 20:18:35 +01:00
frtabu
875bdaf282
cppcheck fixes (2)
2019-02-12 09:46:02 +01:00
Robert Schmidt
29f23e161e
Fix socket type to IPv4 in case of no-multi usage
...
sctp_create_new_listener() takes a parameter server_type which is NOT
the IP version but whether it is an SCTP multihoming server. There was a
bug that when multihoming is not wanted, it created an IPv6 socket
instead of IPv4. This commit fixes this.
IPv6 is not supported yet.
2019-01-10 14:28:25 +01:00
Robert Schmidt
c32094685e
Deliver SCTP ITTI messages with instance I
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
laurent
d8472426c4
fix_issue_350_gtpu_init
2018-09-20 12:37:26 +02:00
Navid Nikaein
693a82a58d
Add the instance id in the sctp_itti_send_new_message_ind
2018-09-16 16:36:45 +02:00
Raymond Knopp
ca9748eca7
corrections to RNTI coding/decoding in openair3/conversions.h
2018-09-16 11:03:53 +02:00
Raymond Knopp
6f11dc7741
removed assertion in MAC layer and adjusted generation of MSG4 to handle when CCCH message is not present. UL CCCH is now received in CU, but asserts. Need to add code in DU to handle scheduling of DL-CCCH in later subframe. In current state, DL-CCCH will only come out if it is ready for MSG$ transmission.
2018-09-15 16:10:58 +02:00
Konstantinos Alexandris
2b85c4a3a6
Pass multi socket descriptor in SCTP + add SCTP multi init req/resp mechanism
2018-09-07 15:15:41 +02:00
Konstantinos Alexandris
1729b3dc66
X2AP: init funcs (register/association) + handler/management functions
...
SCTP: one to many sockets implementation
2018-09-06 15:49:59 +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
bruno mongazon
b016bc229a
fixed #320 issue
2018-06-25 18:23:36 +02:00
Robert Schmidt
78dd80b086
Merge branch 'feature-68-enb-agent' into feature-merge-f68
...
Try to merge feature-68-enb-agent into develop
develop should be fast-forwarded later to this branch to complete the merge
This code does not compile yet. Among other things:
- the scheduler structure needs to be reworked for FlexRAN
- the config is structured differently. The files enb_config.{c,h} from develop
have been copied in here, the files with merge annotations are in
enb_config.{c,h}.before_merge
- the restart needs to be restructured, since the PHY vars data structure lives
in RC now
2018-01-24 11:47:28 +01:00
Robert Schmidt
c62be7a101
Uniform messages of exiting threads
2017-12-14 13:06:04 +01:00