Raymond Knopp
461bfa5fae
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
2018-09-20 16:15:20 -04:00
Raymond Knopp
5a8622960e
partial removal of warning
2018-09-20 16:13:59 -04:00
Robert Schmidt
a8bd9df3eb
Remove local_interface from F1U/UDP parameters
2018-09-20 20:07:01 +02: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
Robert Schmidt
eacd1cfbf0
PROTO_AGENT test program changes
2018-09-20 15:03:47 +02:00
Robert Schmidt
b564b116d3
Fix memory leaks in PROTO_AGENT
2018-09-20 15:03:47 +02:00
Robert Schmidt
7f40bf76fb
ASYNC_IF: join threads when destroying link manager
2018-09-20 15:03:47 +02:00
Robert Schmidt
4318072bb7
PROTO_AGENT: don't send ACKs, formatting
2018-09-20 15:03:47 +02:00
Robert Schmidt
d94ae11fe0
Add test programs to verify F1U
2018-09-20 15:03:47 +02:00
Robert Schmidt
278fc6d711
Improve PROTO_AGENT
...
* unified CU/DU in one PROTO_AGENT instance since they are symmetric from UDP POV
* delete a lot of unnecessary code
* better error handling
* can reciprocally send data
2018-09-20 15:03:47 +02:00
Robert Schmidt
f060385b6a
Improve UDP support of ASYNC_IF
...
* peer_addr is now const
* new_link_udp_server() can bind to address or INADDR_ANY
* socket_udp_receive() happens without a loop
* socket_udp_send() happens without a loop
* sending in two packets (first size, then data) is only performed for TCP,
SCTP, not for UDP anymore (it is unreliable, so we could miss something and
will receive complete garbage)
2018-09-20 15:03:47 +02:00
Raymond Knopp
5f758074ef
RRCConnectionSetupComplete received in CU! (needed to allocate mem_pool for pdcp. remaining transactions on SRB1 and then SRB2 need to use PDCP (DCCH).
2018-09-20 02:53:26 +02:00
Raymond Knopp
2acdfc14b2
UL_RRC_MESSAGE_TRANSFER correctly received in CU. But : it shouldn't go directly to RRC, it has to go through PDCP via pdcp_data_ind
2018-09-20 02:24:43 +02:00
Raymond Knopp
ac5e8cbdfc
UL_RRC_MESSAGE_TRANSFER arrives in CU, which crashes :-(
2018-09-20 02:10:49 +02:00
Raymond Knopp
43def3d76c
crashes inside DU_send_UL_RRC_MESSAGE_TRANSFER
2018-09-20 01:38:57 +02:00
Raymond Knopp
7ea6cb25a4
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
...
Conflicts:
openair2/F1AP/f1ap_du_rrc_message_transfer.c
2018-09-20 00:15:45 +02:00
Raymond Knopp
a6d3efb9a4
minor changes for testing
2018-09-20 00:12:46 +02:00
Navid Nikaein
cee89cb389
Send the UL_RRC_MESSAGE over DCCH from CU to RRC
2018-09-19 21:22:24 +02:00
Raymond Knopp
578ce9ebe1
up to RRCConnectionSetupComplete Transmission in UE
2018-09-19 20:14:55 +02:00
Bing-Kai Hong
a7be0cc2a8
send F1AP_UL_RRC_MESSAGE from rrc
2018-09-19 19:47:11 +02:00
Bing-Kai Hong
24884bfb2b
Update complete elements with ue context setup request
2018-09-19 18:57:48 +02:00
Raymond Knopp
3d1faefad9
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
2018-09-19 12:32:23 +02:00
Raymond Knopp
0b81663408
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
...
Conflicts:
openair2/F1AP/f1ap_du_rrc_message_transfer.c
2018-09-19 12:32:14 +02:00
Robert Schmidt
144a0a37e5
define display_backtrace() without void
2018-09-19 12:11:56 +02:00
Robert Schmidt
1cd43984c2
Remove PDCP/RLC code depending on old F1U/PROTO_AGENT
2018-09-19 11:56:54 +02:00
Robert Schmidt
3ad16e9806
minor fixes
2018-09-19 11:46:38 +02:00
Robert Schmidt
3b68376ad3
PROTO_AGENT: Restructure/simplify code, UDP only, no own configuration
2018-09-19 11:46:38 +02:00
Robert Schmidt
cf55a513d9
ASYNC_IF: peer addresses as const in interface
2018-09-19 11:46:38 +02:00
Robert Schmidt
c19bdb776f
add UE Context Setup Req at CU/DU
...
- add message sender (CU) + handler (CU) and fill with data from ITTI message
- add PLMNID_TO_MCC_MNC and BIT_STRING_TO_TRANSPORT_LAYER_ADDRESS_IPv4 macros
- correct TRANSPORT_LAYER_ADDRESS_TO_BIT_STRING:
change name to TRANSPORT_LAYER_ADDRESS_IPv4_TO_BIT_STRING, make it send 4B, not 5
2018-09-19 11:46:38 +02:00
Raymond Knopp
de205def25
added configuration of DU L2 functions upon RRCConnectionSetup reception
2018-09-19 10:46:36 +02:00
Navid Nikaein
d9661177fa
Better management of cu/du ue ids
...
Fix for some variables
2018-09-19 02:01:08 +02:00
Bing-Kai Hong
c8742f26fb
Normalized message output
2018-09-18 16:12:01 +02:00
Bing-Kai Hong
988d98a4e3
send UL RRC MESSAGE TRANSFER
2018-09-18 15:11:05 +02:00
Raymond Knopp
4ff4481362
switch/case for handling DL_RRC_MESSAGE in DU
2018-09-17 22:56:01 +02:00
Raymond Knopp
b1313aaf04
DL_RRC_MESSAGE_TRANSFER goes to DU, and is received, but doesn't reconfigure L2/L1 yet.
2018-09-17 18:33:08 +02:00
Raymond Knopp
a2f914185d
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
...
Conflicts:
openair2/RRC/LTE/rrc_eNB.c
2018-09-17 18:20:07 +02:00
Raymond Knopp
9482568f74
F1AP_DL_RRC_MESSAGE destination change.
2018-09-17 18:13:36 +02:00
Bing-Kai Hong
a45d496c8c
Update F1 DL RRC message transfer from DU to CU
2018-09-17 16:02:13 +02:00
Raymond Knopp
ebb9bbfae8
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
...
Conflicts:
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
2018-09-16 23:22:48 +02:00
Raymond Knopp
825c33df1b
handling of nr_cellid and creation of context upon CCCH transmission.
...
Connection goes until generation of RRCConnectionSetup in CU which crashes (it calls rrc_mac_config_req. For DU this should be replaced with filling DL_RRC_MESSAGE_TRANSFER
2018-09-16 23:07:14 +02:00
Bing-Kai Hong
f7f7daf715
Restore some template files for CMake
2018-09-16 22:02:33 +08:00
Navid Nikaein
693a82a58d
Add the instance id in the sctp_itti_send_new_message_ind
2018-09-16 16:36:45 +02:00
Navid Nikaein
7fcaf4f984
Update the SIB buffer as per earlier commits
2018-09-16 16:36:45 +02:00
Navid Nikaein
942d92cf7c
send msg 4 in F1 DL RRC message transfer
2018-09-16 16:36:45 +02:00
Bing-Kai Hong
0e7887de76
Handle DL\UL RRC MESSAGE TRANSFER at f1ap_handlers
2018-09-16 21:51:15 +08:00
Raymond Knopp
ca9748eca7
corrections to RNTI coding/decoding in openair3/conversions.h
2018-09-16 11:03:53 +02:00
Raymond Knopp
eedc4226f0
modifications for SRB0 to allow multiple UE contexts in case of delayed CCCH reception in CU/DU split (moved SRB0 from carrier to UE context)
2018-09-15 22:42:10 +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
Raymond Knopp
fc6afc8116
simulation up to CCCH reception in DU is functional
2018-09-15 13:59:11 +02:00