Robert Schmidt
c1e680dd89
FlexRAN: free memory of statistics reports
2018-11-07 10:58:09 +01:00
Robert Schmidt
836f6c6374
Include statistics flag only when values are written
2018-11-07 10:54:35 +01:00
Robert Schmidt
f02b539234
Correct init_cont_stats_update(), test for result
2018-11-07 10:54:35 +01:00
Robert Schmidt
2cf4060680
Implement stats_reply-specific destroy function
2018-11-07 10:54:35 +01:00
Robert Schmidt
86d8e21445
Test for CMs before taking CM-specific stats
2018-11-07 10:54:34 +01:00
Robert Schmidt
23650bdea3
Make flexran_agent_handle_stats() respect presence of MAC, RRC CMs
2018-11-07 10:54:34 +01:00
Robert Schmidt
3b3c9daefb
Reformat flexran_agent_handle_stats() for better readability
2018-11-07 10:54:34 +01:00
Robert Schmidt
328448e875
Remove flexran_agent_send_update_stats() which is unnecessary
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
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
ec9e70a023
FlexRAN: provide better error messages in async channel
2018-11-07 10:48:36 +01:00
Robert Schmidt
d7948d04b4
Always fill RRC part of ue_config with all parameters
2018-11-07 10:48:36 +01:00
Robert Schmidt
2fa8c29fd4
Put ue_config MAC and RRC parts in resp. CMs
2018-11-07 10:48:36 +01:00
Robert Schmidt
1fc631e2a4
RAN API RRC part: Change interface to RNTI, change flexran_get_aperiodic_cqi_rep_mode()
...
* the RAN API RRC part now takes rnti and does not look it up in the MAC every
time again
* the function flexran_get_aperiodic_cqi_rep_mode() has been changed to return
a proper protobuf variable, not OAI typedef
2018-11-07 10:48:36 +01:00
Robert Schmidt
fdd47e5701
RAN API: add functions for getting UE RNTIs directly from RRC
2018-11-07 10:48:36 +01:00
Robert Schmidt
e0742be747
RAN API flexran_get_num_ues() belongs to MAC, change name
2018-11-07 10:48:36 +01:00
Robert Schmidt
3035781485
Move ue_lc_config message filling into MAC CM
2018-11-07 10:48:36 +01:00
Robert Schmidt
369e89ee2a
Create RAN API flexran_get_num_ue_lcs() [no dedicated bearers detection]
2018-11-07 10:48:35 +01:00
Robert Schmidt
a7b114c4ec
RAN API: Check for MAC presence
2018-11-07 10:48:35 +01:00
Robert Schmidt
fa7168a097
FlexRAN enb_config_reply destroy message update
2018-11-07 10:48:35 +01:00
Robert Schmidt
b702b415a7
Split enb_config_reply->cell_conf message to PHY, MAC, RRC
2018-11-07 10:48:35 +01:00
Robert Schmidt
2623e3f298
Improve interface of FlexRAN RAN API: Return protobuf types
...
The functions of the RAN API should not return the types of OAI, but protobuf
types. Previously, they would return OAI types and the calling code "marshals"
this into Protobuf type. This commit changes the following functions and
modifies the calling code to directly store the protobuf type:
* flexran_get_hopping_mode()
* flexran_get_phich_resource()
* flexran_get_phich_duration()
* flexran_get_ul_cyclic_prefix_length()
* flexran_get_dl_cyclic_prefix_length()
* flexran_get_duplex_mode() usage
* flexran_get_enable64QAM()
2018-11-07 10:48:35 +01:00
Robert Schmidt
e8af3bd464
Selectively load FlexRAN CMs depending on BS capability
2018-11-07 10:48:32 +01:00
Robert Schmidt
c81535a8b0
Add FlexRAN PHY CM
2018-11-07 10:40:17 +01:00
Robert Schmidt
391320b992
Simplify PDCP FlexRAN agent interface
2018-11-07 10:40:17 +01:00
Robert Schmidt
5e0088fa52
Simplify RRC FlexRAN agent interface
2018-11-07 10:40:17 +01:00
Robert Schmidt
33d0ac4982
Simplify MAC FlexRAN agent interface
2018-11-07 10:40:17 +01:00
Robert Schmidt
608a14591e
Add BS ID and Capabilities to FlexRAN Hello Msg
...
* Hello msg agent->RTC carries ID and capabilities this agent supports
* RAN API provides ID and capabilities:
- flexran_get_bs_id()
- flexran_get_capabilities() // protobuf list of capabilities
- flexran_get_capabilities() // capabilities as bit mask
Add FlexRAN capabilities mask RAN API function
2018-11-07 10:40:07 +01:00
Robert Schmidt
eb577d11dd
Remove warnings in enb_config.c and rrc_eNB.c
2018-11-07 10:26:41 +01:00
Robert Schmidt
1114efad1c
Remove capabilities+agent_id from FlexRAN conf/RCconfig_flexran()
2018-11-07 10:26:08 +01:00
Robert Schmidt
9d2637557c
Add BS capability protobuf message in FlexRAN
2018-10-23 14:59:19 +02:00
Robert Schmidt
5e1f344199
Add Disconnect protobuf message description in FlexRAN
2018-10-23 14:58:30 +02:00
Raymond Knopp
45eda99583
conditions for configuration in DU
2018-09-22 04:28:29 -04:00
Raymond Knopp
876e9efd99
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
2018-09-21 16:39:46 -04:00
Raymond Knopp
5de7f61fd5
monolithic is functional with EPC and COTS UE (full connection)
2018-09-21 16:38:06 -04:00
Bing-Kai Hong
1181790b86
Partially update the node_type check
2018-09-21 22:07:39 +02:00
Raymond Knopp
a1b60957a1
reworking logic for selection of configuration parameters as a function of node (CU/DU/eNB)
2018-09-21 21:19:27 +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
Robert Schmidt
a8bd9df3eb
Remove local_interface from F1U/UDP parameters
2018-09-20 20:07:01 +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
3b68376ad3
PROTO_AGENT: Restructure/simplify code, UDP only, no own configuration
2018-09-19 11:46:38 +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
Raymond Knopp
fc6afc8116
simulation up to CCCH reception in DU is functional
2018-09-15 13:59:11 +02:00
Raymond Knopp
d670138b69
fixes for SIB2/3 handling in DU
2018-09-15 12:57:17 +02:00
Raymond Knopp
b683395df1
Merge branch 'feature-127-protocol-split' of https://gitlab.eurecom.fr/oai/openairinterface5g into feature-127-protocol-split
...
Conflicts:
openair2/F1AP/f1ap_cu_interface_management.c
openair2/F1AP/f1ap_du_interface_management.c
2018-09-14 19:08:36 +02:00
Raymond Knopp
91d4cd3cfd
debugging of F1AP-Setup-Resp procedure in DU. DU configuration is ok now.
2018-09-14 18:58:46 +02:00
Bing-Kai Hong
62a5d9031d
Update complete the NR_Mode_Info structure for F1 SETUP REQUEST
2018-09-14 16:45:15 +02:00
Bing-Kai Hong
30977ecc12
Replace some dummy value with DU from exist define in f1ap_setup_req_t
2018-09-14 15:12:37 +02:00
Bing-Kai Hong
37b9e7b512
Handle the f1 setup request and send back f1 response with value from conf
2018-09-12 19:51:03 +02:00