added RRU configuration file and more L2 cleanup

This commit is contained in:
Raymond Knopp
2017-08-10 07:56:30 -07:00
parent ad98f5aa9e
commit b219be2e6d
12 changed files with 230 additions and 246 deletions
+1 -1
View File
@@ -906,7 +906,7 @@ static int gtpv1u_eNB_init(void)
NwGtpv1uUdpEntityT udp;
NwGtpv1uLogMgrEntityT log;
NwGtpv1uTimerMgrEntityT tmr;
Enb_properties_t *enb_properties_p = NULL;
// enb_properties_p = enb_config_get()->properties[0];
RC.gtpv1u_data_g = (gtpv1u_data_t*)malloc(sizeof(gtpv1u_data_t));
+3 -3
View File
@@ -99,7 +99,7 @@ void udp_eNB_receiver(struct udp_socket_desc_s *udp_sock_pP);
void *udp_eNB_task(void *args_p);
int udp_enb_init(const Enb_properties_t *enb_config_p);
int udp_enb_init();
/* @brief Retrieve the descriptor associated with the task_id
*/
static
@@ -295,7 +295,7 @@ void *udp_eNB_task(void *args_p)
MessageDef *received_message_p = NULL;
//const char *msg_name = NULL;
//instance_t instance = 0;
udp_enb_init(NULL);
udp_enb_init();
itti_mark_task_ready(TASK_UDP);
MSC_START_USE();
@@ -427,7 +427,7 @@ on_error:
return NULL;
}
int udp_enb_init(const Enb_properties_t *enb_config_p)
int udp_enb_init()
{
LOG_I(UDP_, "Initializing UDP task interface\n");
STAILQ_INIT(&udp_socket_list);
+1 -1
View File
@@ -93,6 +93,6 @@ void *udp_eNB_task(void *args_p);
* \param enb_config_p configuration of eNB
* @returns always 0
*/
int udp_enb_init(const Enb_properties_t *enb_config_p);
int udp_enb_init();
#endif /* UDP_ENB_TASK_H_ */