Commit 38252b6c authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Code cleanup

parent 396896be
......@@ -172,7 +172,7 @@ void InitialContextSetupRequestMsg::setUEAggregateMaxBitRate(long bit_rate_downl
}
//------------------------------------------------------------------------------
void InitialContextSetupRequestMsg::setCoreNetworkAssistanceInfo(uint16_t ueIdentityIndexValue/*10bits限制*/, e_Ngap_PagingDRX ueSpecificDrx/*可选,如何指示?*/, uint8_t periodicRegUpdateTimer, bool micoModeInd/*可选*/, std::vector<Tai_t> taiListForRRcInactive) {
void InitialContextSetupRequestMsg::setCoreNetworkAssistanceInfo(uint16_t ueIdentityIndexValue/*10bits*/, e_Ngap_PagingDRX ueSpecificDrx, uint8_t periodicRegUpdateTimer, bool micoModeInd, std::vector<Tai_t> taiListForRRcInactive) {
if (!coreNetworkAssistanceInfo)
coreNetworkAssistanceInfo = new CoreNetworkAssistanceInfo();
......@@ -209,7 +209,7 @@ void InitialContextSetupRequestMsg::setCoreNetworkAssistanceInfo(uint16_t ueIden
}
//------------------------------------------------------------------------------
void InitialContextSetupRequestMsg::setCoreNetworkAssistanceInfo(uint16_t ueIdentityIndexValue/*10bits限制*/, uint8_t periodicRegUpdateTimer, bool micoModeInd/*可选*/, std::vector<Tai_t> taiListForRRcInactive) {
void InitialContextSetupRequestMsg::setCoreNetworkAssistanceInfo(uint16_t ueIdentityIndexValue/*10bits*/, uint8_t periodicRegUpdateTimer, bool micoModeInd, std::vector<Tai_t> taiListForRRcInactive) {
if (!coreNetworkAssistanceInfo)
coreNetworkAssistanceInfo = new CoreNetworkAssistanceInfo();
......
......@@ -64,8 +64,8 @@ class InitialContextSetupRequestMsg {
void setOldAmfName(const std::string name);
void setUEAggregateMaxBitRate(long bit_rate_downlink, long bit_rate_uplink);
void setCoreNetworkAssistanceInfo(uint16_t ueIdentityIndexValue/*10bits限制*/, e_Ngap_PagingDRX ueSpecificDrx/*可选,如何指示?*/, uint8_t periodicRegUpdateTimer, bool micoModeInd/*可选*/, std::vector<Tai_t> taiListForRRcInactive);
void setCoreNetworkAssistanceInfo(uint16_t ueIdentityIndexValue/*10bits限制*/, uint8_t periodicRegUpdateTimer, bool micoModeInd/*可选*/, std::vector<Tai_t> taiListForRRcInactive);
void setCoreNetworkAssistanceInfo(uint16_t ueIdentityIndexValue/*10bits*/, e_Ngap_PagingDRX ueSpecificDrx, uint8_t periodicRegUpdateTimer, bool micoModeInd, std::vector<Tai_t> taiListForRRcInactive);
void setCoreNetworkAssistanceInfo(uint16_t ueIdentityIndexValue/*10bits*/, uint8_t periodicRegUpdateTimer, bool micoModeInd, std::vector<Tai_t> taiListForRRcInactive);
void setGuami(Guami_t value);
void setPduSessionResourceSetupRequestList(std::vector<PDUSessionResourceSetupRequestItem_t> list);
void setAllowedNssai(std::vector<S_Nssai> list);
......@@ -80,7 +80,7 @@ class InitialContextSetupRequestMsg {
uint32_t getRanUeNgapId();
bool getOldAmfName(std::string &name);
bool getUEAggregateMaxBitRate(long &bit_rate_downlink, long &bit_rate_uplink);
bool getCoreNetworkAssistanceInfo(uint16_t &ueIdentityIndexValue/*10bits限制*/, int &ueSpecificDrx/*-1,不存在?*/, uint8_t &periodicRegUpdateTimer, bool &micoModeInd/*可选*/, std::vector<Tai_t> &taiListForRRcInactive);
bool getCoreNetworkAssistanceInfo(uint16_t &ueIdentityIndexValue/*10bits*/, int &ueSpecificDrx, uint8_t &periodicRegUpdateTimer, bool &micoModeInd, std::vector<Tai_t> &taiListForRRcInactive);
bool getGuami(Guami_t &value);
bool getPduSessionResourceSetupRequestList(std::vector<PDUSessionResourceSetupRequestItem_t> &list);
bool getAllowedNssai(std::vector<S_Nssai> &list);
......
......@@ -47,7 +47,7 @@ class NGSetupFailureMsg {
NGSetupFailureMsg();
virtual ~NGSetupFailureMsg();
//Erternal interfaces
//External interfaces
//Encapsulation
void setMessageType();
void setCauseRadioNetwork(e_Ngap_CauseRadioNetwork cause_value, e_Ngap_TimeToWait time_to_wait);
......
......@@ -50,7 +50,7 @@ class NGSetupRequestMsg {
NGSetupRequestMsg();
virtual ~NGSetupRequestMsg();
//Erternal interfaces
//External interfaces
//Encapsulation
void setMessageType(); //Initialize the PDU and populate the MessageType;
void setGlobalRanNodeID(const std::string mcc, const std::string mnc, Ngap_GlobalRANNodeID_PR ranNodeType, uint32_t ranNodeId);
......
......@@ -51,7 +51,7 @@ class NGSetupResponseMsg {
NGSetupResponseMsg();
virtual ~NGSetupResponseMsg();
//Erternal interfaces
//External interfaces
//Encapsulation
void setMessageType(); //Initialize the PDU and populate the MessageType;
void setAMFName(const std::string name); //���IE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment