Commit Graph
1342 Commits
Author SHA1 Message Date
Robert Schmidt 8d862dace4 F1 test: fixes after merge 2018-11-07 16:13:04 +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
Robert Schmidt 328448e875 Remove flexran_agent_send_update_stats() which is unnecessary 2018-11-07 10:54:34 +01:00
Robert Schmidt 70f74777f3 Correctly implement proto_agent_stop(), call it 2018-11-07 10:54:34 +01:00
Robert Schmidt e71adffcfd Correct logging messages in FlexRAN & PROTO_AGENT 2018-11-07 10:53:52 +01:00
Robert Schmidt f01c78e532 Set thread names for FlexRAN and PROTO rx_thread 2018-11-07 10:53:52 +01:00
Robert Schmidt 54da66eeac Bugfix: Rename proto_agent global channel variable
The PROTO_AGENT variable holding the channel for various was named as the same
one for FlexRAN. In C, global variables with the same name are merged into one,
which had the effect that the same queues where used for PROTO_AGENT and
FlexRAN, locking the FlexRAN RX thread. Renaming the PROTO_AGENT variable (it
was introduced second) resolves this issue.
2018-11-07 10:53:52 +01:00
Robert Schmidt eaff77695b Correct malloc in proto_agent_async_channel_info 2018-11-07 10:53:52 +01:00
Robert Schmidt 0efde02161 Sanitize link_manager interface, correct in FlexRAN/PROTO_AGENT
This commit cleans up the link_manager interface:
* don't provide peer_addr/port in create_link_manager() (for TCP/SCTP it is not
  needed, so in the UDP case in needs to be set explicitly)
* Make FlexRAN connect again (correct hardcoded address)
* Fix FlexRAN: retain the manager pointer
* Fix FlexRAN: store receive_queue pointer
* the link_manager's sender thread passes the correct peer_addr/port for the
  UDP case
2018-11-07 10:48:36 +01:00
Robert Schmidt 34adfd2af8 ASYNC_IF link_{send,receive}_packet(): infer socket type automatically 2018-11-07 10:48:36 +01:00
Robert Schmidt 89d8afb612 Remove MAC presence checking from scheduler primitives 2018-11-07 10:48:35 +01:00
Robert Schmidt be750619dc Remove warning of uninitialized use in RLC 2018-11-07 10:48:35 +01:00
Robert Schmidt 5e0088fa52 Simplify RRC FlexRAN agent interface 2018-11-07 10:40:17 +01:00
Robert Schmidt 0a4ffade77 Don't malloc() context_t in F1U, stack is sufficient 2018-10-19 18:54:17 +02:00
Robert Schmidt 86fcea8dd5 Call free_mem_block() after sending F1U packet 2018-10-18 16:47:44 +02: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
Raphael Defosseux bb566eaeb8 Merge remote-tracking branch 'origin/x2' into develop_integration_2018_w39
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2018-09-28 17:00:21 +02: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 6d16bf5243 Add log to trace proto_agent pdcp_data_ind operation 2018-09-24 12:32:41 +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 ddb238b808 removal of logging
preparation for UE CONTEXT Release from CU
2018-09-23 18:05:57 -04: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
Raymond Knopp c43281a7c9 Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split 2018-09-21 16:46:40 -04:00
Bing-Kai Hong 1181790b86 Partially update the node_type check 2018-09-21 22:07:39 +02:00
Raymond Knopp 1e5f95cd95 fixes for monolithic case. Still doesn't work to RRCConnectionSetup, context allocation problem. 2018-09-21 17:23:08 +02:00
Konstantinos Alexandris 67cc97a42c Merge remote-tracking branch 'origin/develop' into x2 2018-09-21 16:01:52 +02:00
Konstantinos Alexandris 2c27a38dc3 x2ap: implement x2setuprequest, x2setupresponse, x2setupfailure 2018-09-21 15:58:36 +02:00
Raymond Knopp 4cdc01384d Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
Conflicts:
	cmake_targets/tools/build_helper
2018-09-20 16:25:05 -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
Bing-Kai Hong 53d741f20d Generate the DCCH and send from pdcp 2018-09-20 18:58:59 +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 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
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
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
Navid Nikaein d9661177fa Better management of cu/du ue ids
Fix for some variables
2018-09-19 02:01:08 +02:00