Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
UERANSIM
Commits
cb1e3846
Commit
cb1e3846
authored
May 08, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NAS MM refactor
parent
250ff20c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
360 additions
and
335 deletions
+360
-335
src/ue/nas/mm/interface.cpp
src/ue/nas/mm/interface.cpp
+0
-5
src/ue/nas/mm/messaging.cpp
src/ue/nas/mm/messaging.cpp
+346
-0
src/ue/nas/mm/mm.hpp
src/ue/nas/mm/mm.hpp
+12
-8
src/ue/nas/mm/transport.cpp
src/ue/nas/mm/transport.cpp
+2
-322
No files found.
src/ue/nas/mm/interface.cpp
View file @
cb1e3846
...
...
@@ -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
;
...
...
src/ue/nas/mm/messaging.cpp
0 → 100644
View file @
cb1e3846
This diff is collapsed.
Click to expand it.
src/ue/nas/mm/mm.hpp
View file @
cb1e3846
...
...
@@ -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
src/ue/nas/mm/transport.cpp
View file @
cb1e3846
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment