fix issues about sending ngap message by sctp
This commit is contained in:
@@ -489,6 +489,7 @@ static int ngap_gNB_generate_ng_setup_request(
|
||||
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* mandatory */
|
||||
ie = (NGAP_NGSetupRequestIEs_t *)calloc(1, sizeof(NGAP_NGSetupRequestIEs_t));
|
||||
ie->id = NGAP_ProtocolIE_ID_id_SupportedTAList;
|
||||
@@ -529,6 +530,7 @@ static int ngap_gNB_generate_ng_setup_request(
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&out->protocolIEs.list, ie);
|
||||
|
||||
#endif
|
||||
/* mandatory */
|
||||
ie = (NGAP_NGSetupRequestIEs_t *)calloc(1, sizeof(NGAP_NGSetupRequestIEs_t));
|
||||
ie->id = NGAP_ProtocolIE_ID_id_DefaultPagingDRX;
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
#define GNB_NAME "Eurecom GNB"
|
||||
#define GNB_NAME_FORMAT (GNB_NAME" %u")
|
||||
|
||||
#define NGAP_PORT_NUMBER (36412)
|
||||
#define NGAP_SCTP_PPID (18)
|
||||
#define NGAP_PORT_NUMBER (38412)
|
||||
#define NGAP_SCTP_PPID (60)
|
||||
|
||||
#define X2AP_PORT_NUMBER (36422)
|
||||
#define X2AP_SCTP_PPID (27)
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
#include "queue.h"
|
||||
#include "tree.h"
|
||||
|
||||
#include "sctp_gNB_defs.h"
|
||||
|
||||
#ifndef NGAP_GNB_DEFS_H_
|
||||
#define NGAP_GNB_DEFS_H_
|
||||
|
||||
@@ -250,7 +248,7 @@ typedef struct ngap_gNB_instance_s {
|
||||
enum cell_type_e cell_type;
|
||||
|
||||
/* Tracking area code */
|
||||
uint32_t tac;
|
||||
uint16_t tac;
|
||||
|
||||
/* gNB NGAP IP address */
|
||||
net_ip_address_t gNB_ng_ip;
|
||||
|
||||
Reference in New Issue
Block a user