Commit 3c6027ce authored by aligungr's avatar aligungr

L3 RRC/NAS developments

parent 4d22e551
...@@ -101,7 +101,7 @@ class NasMm ...@@ -101,7 +101,7 @@ class NasMm
private: /* Transport */ private: /* Transport */
void receiveDlNasTransport(const nas::DlNasTransport &msg); void receiveDlNasTransport(const nas::DlNasTransport &msg);
void deliverUlTransport(const nas::UlNasTransport &msg); EProcRc deliverUlTransport(const nas::UlNasTransport &msg);
private: /* Registration */ private: /* Registration */
EProcRc sendInitialRegistration(EInitialRegCause regCause); EProcRc sendInitialRegistration(EInitialRegCause regCause);
......
...@@ -107,7 +107,7 @@ void NasMm::receiveDlNasTransport(const nas::DlNasTransport &msg) ...@@ -107,7 +107,7 @@ void NasMm::receiveDlNasTransport(const nas::DlNasTransport &msg)
} }
} }
void NasMm::deliverUlTransport(const nas::UlNasTransport &msg) EProcRc NasMm::deliverUlTransport(const nas::UlNasTransport &msg)
{ {
// 5.4.5.2.6 Abnormal cases in the UE // 5.4.5.2.6 Abnormal cases in the UE
// "The UE shall not send the UL NAS TRANSPORT message when the UE is in non-allowed area or // "The UE shall not send the UL NAS TRANSPORT message when the UE is in non-allowed area or
...@@ -126,12 +126,16 @@ void NasMm::deliverUlTransport(const nas::UlNasTransport &msg) ...@@ -126,12 +126,16 @@ void NasMm::deliverUlTransport(const nas::UlNasTransport &msg)
msg.payloadContainerType.payloadContainerType == nas::EPayloadContainerType::SMS) msg.payloadContainerType.payloadContainerType == nas::EPayloadContainerType::SMS)
{ {
m_logger->err("Ul Nas Transport procedure canceled, UE is not in allowed area"); m_logger->err("Ul Nas Transport procedure canceled, UE is not in allowed area");
return; return EProcRc::STAY;
} }
} }
// Send the UL NAS Transport Message // Send the UL NAS Transport Message
sendNasMessage(msg); auto rc = sendNasMessage(msg);
if (rc != EProcRc::OK)
return rc;
return EProcRc::OK;
} }
} // namespace nr::ue } // namespace nr::ue
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