Commit cb1e3846 authored by aligungr's avatar aligungr

NAS MM refactor

parent 250ff20c
......@@ -68,11 +68,6 @@ void NasMm::handleNasEvent(const NwUeNasToNas &msg)
}
}
void NasMm::deliverUlTransport(const nas::UlNasTransport &msg)
{
sendNasMessage(msg);
}
bool NasMm::isRegistered()
{
return m_rmState == ERmState::RM_REGISTERED;
......
This diff is collapsed.
......@@ -83,14 +83,19 @@ class NasMm
void onSwitchCmState(ECmState oldState, ECmState newState);
void onSwitchUState(E5UState oldState, E5UState newState);
private: /* Transport */
private: /* Messaging */
void sendNasMessage(const nas::PlainMmMessage &msg);
void receiveNasMessage(const nas::NasMessage &msg);
void receiveMmMessage(const nas::PlainMmMessage &msg);
void receiveDlNasTransport(const nas::DlNasTransport &msg);
void receiveMmStatus(const nas::FiveGMmStatus &msg);
void sendMmStatus(nas::EMmCause cause);
private: /* Transport */
void receiveDlNasTransport(const nas::DlNasTransport &msg);
public: /* Transport */
void deliverUlTransport(const nas::UlNasTransport &msg);
public: /* Registration */
void sendMobilityRegistration(ERegUpdateCause updateCause);
......@@ -171,12 +176,11 @@ class NasMm
public:
/* Interface */
void handleRrcEvent(const NwUeRrcToNas &msg); // used by RRC
void handleNasEvent(const NwUeNasToNas &msg); // used by NAS
void deliverUlTransport(const nas::UlNasTransport &msg); // used by SM
bool isRegistered(); // used by SM
bool isRegisteredForEmergency(); // used by SM
void serviceNeededForUplinkData(); // used by SM
void handleRrcEvent(const NwUeRrcToNas &msg); // used by RRC
void handleNasEvent(const NwUeNasToNas &msg); // used by NAS
bool isRegistered(); // used by SM
bool isRegisteredForEmergency(); // used by SM
void serviceNeededForUplinkData(); // used by SM
};
} // namespace nr::ue
\ No newline at end of file
This diff is collapsed.
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