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
a4db2369
Commit
a4db2369
authored
Mar 14, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MM refactor
parent
59221cdd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
src/ue/mm/interface.cpp
src/ue/mm/interface.cpp
+5
-0
src/ue/mm/mm.hpp
src/ue/mm/mm.hpp
+2
-3
src/ue/sm/transport.cpp
src/ue/sm/transport.cpp
+1
-1
No files found.
src/ue/mm/interface.cpp
View file @
a4db2369
...
...
@@ -62,4 +62,9 @@ void NasMm::handleNasEvent(const NwUeNasToNas &msg)
}
}
void
NasMm
::
deliverUlTransport
(
const
nas
::
UlNasTransport
&
msg
)
{
sendNasMessage
(
msg
);
}
}
// namespace nr::ue
src/ue/mm/mm.hpp
View file @
a4db2369
...
...
@@ -74,10 +74,8 @@ class NasMm
void
onSwitchCmState
(
ECmState
oldState
,
ECmState
newState
);
void
onSwitchUState
(
E5UState
oldState
,
E5UState
newState
);
public:
/* Transport */
void
sendNasMessage
(
const
nas
::
PlainMmMessage
&
msg
);
private:
/* Transport */
void
sendNasMessage
(
const
nas
::
PlainMmMessage
&
msg
);
void
receiveNasMessage
(
const
nas
::
NasMessage
&
msg
);
void
receiveMmMessage
(
const
nas
::
PlainMmMessage
&
msg
);
void
receiveDlNasTransport
(
const
nas
::
DlNasTransport
&
msg
);
...
...
@@ -163,6 +161,7 @@ class NasMm
public:
/* Interface */
void
handleRrcEvent
(
const
NwUeRrcToNas
&
msg
);
void
handleNasEvent
(
const
NwUeNasToNas
&
msg
);
void
deliverUlTransport
(
const
nas
::
UlNasTransport
&
msg
);
};
}
// namespace nr::ue
\ No newline at end of file
src/ue/sm/transport.cpp
View file @
a4db2369
...
...
@@ -31,7 +31,7 @@ void NasSm::sendSmMessage(int psi, const nas::SmMessage &msg)
if
(
session
.
apn
.
has_value
())
m
.
dnn
=
nas
::
utils
::
DnnFromApn
(
*
session
.
apn
);
m_mm
->
sendNasMessage
(
m
);
m_mm
->
deliverUlTransport
(
m
);
}
void
NasSm
::
receiveSmMessage
(
const
nas
::
SmMessage
&
msg
)
...
...
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