Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.2.0 #335

Merged
merged 313 commits into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
af2e3ff
RRC developments
aligungr May 13, 2021
cd9b752
RRC developments
aligungr May 13, 2021
9f460e5
RRC developments
aligungr May 13, 2021
09f4f5a
RRC developments
aligungr May 13, 2021
563012b
RRC developments
aligungr May 13, 2021
e0c66b8
RRC developments
aligungr May 14, 2021
aec9c13
RRC developments
aligungr May 14, 2021
85da3bc
RRC developments
aligungr May 15, 2021
9684b8f
RRC developments
aligungr May 15, 2021
b20f1af
RRC developments
aligungr May 15, 2021
c2cfdfe
RRC developments
aligungr May 15, 2021
525599a
RRC developments
aligungr May 15, 2021
d2c2055
RRC developments
aligungr May 15, 2021
5186a13
RRC developments
aligungr May 15, 2021
3a2eb0d
RRC developments
aligungr May 15, 2021
098e110
RRC developments
aligungr May 15, 2021
27727cb
RRC developments
aligungr May 15, 2021
5c09ed2
RRC developments
aligungr May 15, 2021
2dae558
RRC developments
aligungr May 15, 2021
9f53791
RRC developments
aligungr May 15, 2021
5d3bd10
RRC developments
aligungr May 16, 2021
26a8e3d
RRC developments
aligungr May 16, 2021
6c831a7
RRC developments
aligungr May 16, 2021
75bfc1c
RRC developments
aligungr May 16, 2021
5e0d35c
RRC developments
aligungr May 16, 2021
de27eb6
RRC developments
aligungr May 16, 2021
fd50392
RRC developments
aligungr May 16, 2021
2f54d45
RRC developments
aligungr May 16, 2021
9917324
RRC developments
aligungr May 16, 2021
0bcefde
RRC developments
aligungr May 16, 2021
510cbb6
RRC developments
aligungr May 16, 2021
9dfe831
RRC developments
aligungr May 16, 2021
bda839b
RRC developments
aligungr May 16, 2021
fd30069
RRC developments
aligungr May 16, 2021
a7c632b
RRC developments
aligungr May 16, 2021
ff47264
RRC developments
aligungr May 16, 2021
32b69e8
RRC developments
aligungr May 16, 2021
3ad5404
RRC developments
aligungr May 16, 2021
c8b02d5
RRC developments
aligungr May 17, 2021
1a4531c
RRC developments
aligungr May 17, 2021
03d6cc6
RRC developments
aligungr May 17, 2021
8078dd5
RRC developments
aligungr May 17, 2021
b0ff673
L3 RRC/NAS developments
aligungr May 17, 2021
db31bda
L3 RRC/NAS developments
aligungr May 17, 2021
0d8eed3
L3 RRC/NAS developments
aligungr May 17, 2021
7b3fbc8
L3 RRC/NAS developments
aligungr May 17, 2021
3c6590c
L3 RRC/NAS developments
aligungr May 17, 2021
55e8b4a
L3 RRC/NAS developments
aligungr May 17, 2021
bed3766
L3 RRC/NAS developments
aligungr May 17, 2021
4fe5f47
L3 RRC/NAS developments
aligungr May 17, 2021
93cd83c
L3 RRC/NAS developments
aligungr May 17, 2021
417bbc1
L3 RRC/NAS developments
aligungr May 17, 2021
0ed121e
L3 RRC/NAS developments
aligungr May 17, 2021
027d89d
L3 RRC/NAS developments
aligungr May 17, 2021
feaeffb
L3 RRC/NAS developments
aligungr May 17, 2021
d3c6d99
L3 RRC/NAS developments
aligungr May 17, 2021
250f573
L3 RRC/NAS developments
aligungr May 17, 2021
31f7708
L3 RRC/NAS developments
aligungr May 17, 2021
effbacb
L3 RRC/NAS developments
aligungr May 17, 2021
6416362
L3 RRC/NAS developments
aligungr May 17, 2021
4391f92
L3 RRC/NAS developments
aligungr May 17, 2021
0f99f8c
L3 RRC/NAS developments
aligungr May 17, 2021
755898a
L3 RRC/NAS developments
aligungr May 18, 2021
5fbd15a
L3 RRC/NAS developments
aligungr May 18, 2021
bcf1af2
L3 RRC/NAS developments
aligungr May 18, 2021
7953b27
L3 RRC/NAS developments
aligungr May 18, 2021
fd8b3c1
L3 RRC/NAS developments
aligungr May 18, 2021
d765122
L3 RRC/NAS developments
aligungr May 18, 2021
7fceda7
L3 RRC/NAS developments
aligungr May 18, 2021
f0072a0
L3 RRC/NAS developments
aligungr May 18, 2021
3cccea9
L3 RRC/NAS developments
aligungr May 18, 2021
f267bee
L3 RRC/NAS developments
aligungr May 19, 2021
07ed4cb
L3 RRC/NAS developments
aligungr May 19, 2021
9640757
L3 RRC/NAS developments
aligungr May 19, 2021
b971397
L3 RRC/NAS developments
aligungr May 19, 2021
f64410e
L3 RRC/NAS developments
aligungr May 19, 2021
a90b92e
L3 RRC/NAS developments
aligungr May 21, 2021
7a81bd4
L3 RRC/NAS developments
aligungr May 21, 2021
da91fa0
L3 RRC/NAS developments
aligungr May 21, 2021
8eb13e6
L3 RRC/NAS developments
aligungr May 21, 2021
2342f91
L3 RRC/NAS developments
aligungr May 21, 2021
2dbbcd5
L3 RRC/NAS developments
aligungr May 21, 2021
9cc4615
L3 RRC/NAS developments
aligungr May 21, 2021
c5bb895
L3 RRC/NAS developments
aligungr May 21, 2021
509824a
L3 RRC/NAS developments
aligungr May 21, 2021
9be407e
L3 RRC/NAS developments
aligungr May 21, 2021
08e7344
L3 RRC/NAS developments
aligungr May 21, 2021
9f66734
L3 RRC/NAS developments
aligungr May 21, 2021
dc57e41
L3 RRC/NAS developments
aligungr May 21, 2021
7ad237c
L3 RRC/NAS developments
aligungr May 21, 2021
0792a7d
L3 RRC/NAS developments
aligungr May 21, 2021
173b501
L3 RRC/NAS developments
aligungr May 21, 2021
838a734
L3 RRC/NAS developments
aligungr May 22, 2021
d86f706
L3 RRC/NAS developments
aligungr May 22, 2021
02c62f1
L3 RRC/NAS developments
aligungr May 22, 2021
8397d4e
L3 RRC/NAS developments
aligungr May 22, 2021
629a07a
L3 RRC/NAS developments
aligungr May 22, 2021
c0d05ab
L3 RRC/NAS developments
aligungr May 22, 2021
750d561
L3 RRC/NAS developments
aligungr May 22, 2021
8fc768a
L3 RRC/NAS developments
aligungr May 22, 2021
1ddb803
L3 RRC/NAS developments
aligungr May 22, 2021
f481608
L3 RRC/NAS developments
aligungr May 22, 2021
360d0e4
L3 RRC/NAS developments
aligungr May 22, 2021
90f9633
L3 RRC/NAS developments
aligungr May 22, 2021
f6aba39
L3 RRC/NAS developments
aligungr May 22, 2021
5f51d36
L3 RRC/NAS developments
aligungr May 22, 2021
f7e8738
L3 RRC/NAS developments
aligungr May 22, 2021
9f77bdd
L3 RRC/NAS developments
aligungr May 22, 2021
84906d4
L3 RRC/NAS developments
aligungr May 22, 2021
637e4a5
L3 RRC/NAS developments
aligungr May 22, 2021
d3578ca
L3 RRC/NAS developments
aligungr May 22, 2021
6818bd9
L3 RRC/NAS developments
aligungr May 22, 2021
9d84144
L3 RRC/NAS developments
aligungr May 22, 2021
a40bb41
L3 RRC/NAS developments
aligungr May 22, 2021
95e2f03
L3 RRC/NAS developments
aligungr May 22, 2021
dc8bebb
L3 RRC/NAS developments
aligungr May 22, 2021
d67a3c5
L3 RRC/NAS developments
aligungr May 22, 2021
06e96d4
L3 RRC/NAS developments
aligungr May 22, 2021
860db47
L3 RRC/NAS developments
aligungr May 22, 2021
9c836c2
L3 RRC/NAS developments
aligungr May 22, 2021
d558735
L3 RRC/NAS developments
aligungr May 22, 2021
c624f4a
L3 RRC/NAS developments
aligungr May 22, 2021
ae349f9
L3 RRC/NAS developments
aligungr May 22, 2021
84304df
L3 RRC/NAS developments
aligungr May 23, 2021
e3fa41a
L3 RRC/NAS developments
aligungr May 23, 2021
5551dbe
L3 RRC/NAS developments
aligungr May 23, 2021
8a27319
L3 RRC/NAS developments
aligungr May 23, 2021
6e675f6
L3 RRC/NAS developments
aligungr May 23, 2021
d1fde22
L3 RRC/NAS developments
aligungr May 23, 2021
606f38d
L3 RRC/NAS developments
aligungr May 23, 2021
0ad6cf2
L3 RRC/NAS developments
aligungr May 23, 2021
2a66fe9
L3 RRC/NAS developments
aligungr May 23, 2021
52fe70b
L3 RRC/NAS developments
aligungr May 23, 2021
7cba7f5
L3 RRC/NAS developments
aligungr May 23, 2021
cb72a45
L3 RRC/NAS developments
aligungr May 23, 2021
771dd26
L3 RRC/NAS developments
aligungr May 23, 2021
7526608
L3 RRC/NAS developments
aligungr May 23, 2021
e04f592
L3 RRC/NAS developments
aligungr May 23, 2021
06b0900
L3 RRC/NAS developments
aligungr May 23, 2021
fdf86aa
L3 RRC/NAS developments
aligungr May 23, 2021
5dc2ae1
L3 RRC/NAS developments
aligungr May 23, 2021
9b36a7d
L3 RRC/NAS developments
aligungr May 23, 2021
0489987
L3 RRC/NAS developments
aligungr May 23, 2021
e7ef5f6
L3 RRC/NAS developments
aligungr May 23, 2021
1df2104
L3 RRC/NAS developments
aligungr May 23, 2021
a366c2f
L3 RRC/NAS developments
aligungr May 23, 2021
0d4d87a
L3 RRC/NAS developments
aligungr May 23, 2021
ccc1b1d
L3 RRC/NAS developments
aligungr May 23, 2021
fab5b46
L3 RRC/NAS developments
aligungr May 23, 2021
aee8e2b
L3 RRC/NAS developments
aligungr May 23, 2021
22aca1d
L3 RRC/NAS developments
aligungr May 23, 2021
affae9d
L3 RRC/NAS developments
aligungr May 23, 2021
d348025
L3 RRC/NAS developments
aligungr May 23, 2021
55fd679
L3 RRC/NAS developments
aligungr May 23, 2021
152a128
L3 RRC/NAS developments
aligungr May 23, 2021
8975bd8
L3 RRC/NAS developments
aligungr May 23, 2021
caa925d
L3 RRC/NAS developments
aligungr May 23, 2021
af662c9
L3 RRC/NAS developments
aligungr May 23, 2021
0c4a14e
L3 RRC/NAS developments
aligungr May 23, 2021
83c733c
L3 RRC/NAS developments
aligungr May 23, 2021
becc99c
L3 RRC/NAS developments
aligungr May 23, 2021
e10b455
L3 RRC/NAS developments
aligungr May 23, 2021
c7e88bc
L3 RRC/NAS developments
aligungr May 23, 2021
d2bf24c
L3 RRC/NAS developments
aligungr May 23, 2021
4453a90
L3 RRC/NAS developments
aligungr May 23, 2021
cbe5723
L3 RRC/NAS developments
aligungr May 23, 2021
5c5bc83
L3 RRC/NAS developments
aligungr May 23, 2021
1221531
L3 RRC/NAS developments
aligungr May 23, 2021
614ac12
L3 RRC/NAS developments
aligungr May 23, 2021
416a658
L3 RRC/NAS developments
aligungr May 23, 2021
e3e36ba
L3 RRC/NAS developments
aligungr May 23, 2021
d79d643
L3 RRC/NAS developments
aligungr May 23, 2021
c2dbba5
L3 RRC/NAS developments
aligungr May 23, 2021
ce6ff2e
L3 RRC/NAS developments
aligungr May 23, 2021
aec399e
L3 RRC/NAS developments
aligungr May 23, 2021
984045f
L3 RRC/NAS developments
aligungr May 23, 2021
f08ac05
L3 RRC/NAS developments
aligungr May 23, 2021
ba45624
L3 RRC/NAS developments
aligungr May 23, 2021
4d22e55
L3 RRC/NAS developments
aligungr May 23, 2021
3c6027c
L3 RRC/NAS developments
aligungr May 23, 2021
83563a4
L3 RRC/NAS developments
aligungr May 23, 2021
6ea3574
L3 RRC/NAS developments
aligungr May 23, 2021
835180e
L3 RRC/NAS developments
aligungr May 23, 2021
f8107a5
L3 RRC/NAS developments
aligungr May 23, 2021
455524d
L3 RRC/NAS developments
aligungr May 23, 2021
e73b1ce
L3 RRC/NAS developments
aligungr May 23, 2021
65cde6c
L3 RRC/NAS developments
aligungr May 23, 2021
a720e5e
L3 RRC/NAS developments
aligungr May 23, 2021
c486df5
L3 RRC/NAS developments
aligungr May 23, 2021
aaeea51
L3 RRC/NAS developments
aligungr May 23, 2021
a5a4974
L3 RRC/NAS developments
aligungr May 23, 2021
4d15224
L3 RRC/NAS developments
aligungr May 23, 2021
3da9ec3
L3 RRC/NAS developments
aligungr May 23, 2021
bd1e222
L3 RRC/NAS developments
aligungr May 23, 2021
30140d1
L3 RRC/NAS developments
aligungr May 23, 2021
e44c83d
L3 RRC/NAS developments
aligungr May 23, 2021
cfeae36
L3 RRC/NAS developments
aligungr May 23, 2021
c4b82c5
L3 RRC/NAS developments
aligungr May 23, 2021
30216be
L3 RRC/NAS developments
aligungr May 23, 2021
8582ab9
L3 RRC/NAS developments
aligungr May 23, 2021
89f5629
L3 RRC/NAS developments
aligungr May 23, 2021
21e73b5
L3 RRC/NAS developments
aligungr May 23, 2021
becf4e6
L3 RRC/NAS developments
aligungr May 24, 2021
a3362af
L3 RRC/NAS developments
aligungr May 24, 2021
53ae415
L3 RRC/NAS developments
aligungr May 24, 2021
ac4a0f2
L3 RRC/NAS developments
aligungr May 24, 2021
d71d6d9
L3 RRC/NAS developments
aligungr May 24, 2021
5476d10
L3 RRC/NAS developments
aligungr May 24, 2021
73a6e4b
L3 RRC/NAS developments
aligungr May 24, 2021
edf7873
L3 RRC/NAS developments
aligungr May 24, 2021
1c5f694
L3 RRC/NAS developments
aligungr May 24, 2021
6974ebd
bits.hpp compile fix
aligungr May 25, 2021
2867511
L3 RRC/NAS developments
aligungr May 25, 2021
5f85adc
L3 RRC/NAS developments
aligungr May 25, 2021
068b126
Merge branch 'master' of https://github.com/aligungr/UERANSIM into dev
aligungr May 25, 2021
ac01807
L3 RRC/NAS developments
aligungr May 25, 2021
2710380
L3 RRC/NAS developments
aligungr May 25, 2021
6ae860c
L3 RRC/NAS developments
aligungr May 25, 2021
0cad097
L3 RRC/NAS developments
aligungr May 27, 2021
ae86138
L3 RRC/NAS developments
aligungr May 27, 2021
3ab8bc4
L3 RRC/NAS developments
aligungr May 27, 2021
85c8b72
L3 RRC/NAS developments
aligungr May 27, 2021
16c056f
L3 RRC/NAS developments
aligungr May 27, 2021
2b54162
L3 RRC/NAS developments
aligungr May 27, 2021
a55cfeb
L3 RRC/NAS developments
aligungr May 27, 2021
93c3fce
L3 RRC/NAS developments
aligungr May 27, 2021
36e91e8
L3 RRC/NAS developments
aligungr May 27, 2021
748d53e
L3 RRC/NAS developments
aligungr May 27, 2021
cb4899d
L3 RRC/NAS developments
aligungr May 27, 2021
6f903ab
L3 RRC/NAS developments
aligungr May 28, 2021
a037ef2
Merge branch 'master' of https://github.com/aligungr/UERANSIM into dev
aligungr May 28, 2021
d3cd045
L3 RRC/NAS developments
aligungr May 28, 2021
62f9ed0
L3 RRC/NAS developments
aligungr May 28, 2021
6141ba2
L3 RRC/NAS developments
aligungr May 28, 2021
ade2494
L3 RRC/NAS developments
aligungr May 28, 2021
9607358
L3 RRC/NAS developments
aligungr May 28, 2021
4b392a2
L3 RRC/NAS developments
aligungr May 28, 2021
ea44428
L3 RRC/NAS developments
aligungr May 28, 2021
6e63a21
L3 RRC/NAS developments
aligungr May 28, 2021
6308b92
L3 RRC/NAS developments
aligungr May 28, 2021
0455b4d
L3 RRC/NAS developments
aligungr May 28, 2021
99a9851
L3 RRC/NAS developments
aligungr May 28, 2021
c54ff57
L3 RRC/NAS developments
aligungr May 28, 2021
35574c7
L3 RRC/NAS developments
aligungr May 28, 2021
707f4b9
L3 RRC/NAS developments
aligungr May 28, 2021
a3363e6
L3 RRC/NAS developments
aligungr May 28, 2021
cc3c83e
L3 RRC/NAS developments
aligungr May 28, 2021
c4c9ea6
L3 RRC/NAS developments
aligungr May 28, 2021
d998b2c
L3 RRC/NAS developments
aligungr May 28, 2021
78a27d3
Release of v3.2.0
aligungr May 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href="https://github.com/aligungr/UERANSIM"><img src="/.github/logo.png" width="75" title="UERANSIM"></a>
</p>
<p align="center">
<img src="https://img.shields.io/badge/UERANSIM-v3.1.9-blue" />
<img src="https://img.shields.io/badge/UERANSIM-v3.2.0-blue" />
<img src="https://img.shields.io/badge/3GPP-R15-orange" />
<img src="https://img.shields.io/badge/License-GPL--3.0-green"/>
</p>
Expand Down
1 change: 0 additions & 1 deletion config/custom-ue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ sessions:
slice:
sst: 1
sd: 1
emergency: false

# Configured NSSAI for this UE by HPLMN
configured-nssai:
Expand Down
1 change: 0 additions & 1 deletion config/free5gc-ue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ sessions:
slice:
sst: 0x01
sd: 0x010203
emergency: false

# Configured NSSAI for this UE by HPLMN
configured-nssai:
Expand Down
2 changes: 0 additions & 2 deletions config/open5gs-ue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ sessions:
apn: 'internet'
slice:
sst: 1
sd: 1
emergency: false

# Configured NSSAI for this UE by HPLMN
configured-nssai:
Expand Down
4 changes: 2 additions & 2 deletions src/gnb/app/cmd_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ bool GnbCmdHandler::isAllPaused()
return true;
}

void GnbCmdHandler::handleCmd(NwGnbCliCommand &msg)
void GnbCmdHandler::handleCmd(NmGnbCliCommand &msg)
{
pauseTasks();

Expand Down Expand Up @@ -97,7 +97,7 @@ void GnbCmdHandler::handleCmd(NwGnbCliCommand &msg)
unpauseTasks();
}

void GnbCmdHandler::handleCmdImpl(NwGnbCliCommand &msg)
void GnbCmdHandler::handleCmdImpl(NmGnbCliCommand &msg)
{
switch (msg.cmd->present)
{
Expand Down
4 changes: 2 additions & 2 deletions src/gnb/app/cmd_handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ class GnbCmdHandler
{
}

void handleCmd(NwGnbCliCommand &msg);
void handleCmd(NmGnbCliCommand &msg);

private:
void pauseTasks();
void unpauseTasks();
bool isAllPaused();

private:
void handleCmdImpl(NwGnbCliCommand &msg);
void handleCmdImpl(NmGnbCliCommand &msg);

private:
void sendResult(const InetAddress &address, const std::string &output);
Expand Down
6 changes: 3 additions & 3 deletions src/gnb/app/task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ void GnbAppTask::onLoop()
switch (msg->msgType)
{
case NtsMessageType::GNB_STATUS_UPDATE: {
auto *w = dynamic_cast<NwGnbStatusUpdate *>(msg);
auto *w = dynamic_cast<NmGnbStatusUpdate *>(msg);
switch (w->what)
{
case NwGnbStatusUpdate::NGAP_IS_UP:
case NmGnbStatusUpdate::NGAP_IS_UP:
m_statusInfo.isNgapUp = w->isNgapUp;
break;
}
break;
}
case NtsMessageType::GNB_CLI_COMMAND: {
auto *w = dynamic_cast<NwGnbCliCommand *>(msg);
auto *w = dynamic_cast<NmGnbCliCommand *>(msg);
GnbCmdHandler handler{m_base};
handler.handleCmd(*w);
break;
Expand Down
2 changes: 1 addition & 1 deletion src/gnb/gnb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void GNodeB::start()

void GNodeB::pushCommand(std::unique_ptr<app::GnbCliCommand> cmd, const InetAddress &address)
{
taskBase->appTask->push(new NwGnbCliCommand(std::move(cmd), address));
taskBase->appTask->push(new NmGnbCliCommand(std::move(cmd), address));
}

} // namespace nr::gnb
16 changes: 8 additions & 8 deletions src/gnb/gtp/task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,33 +55,33 @@ void GtpTask::onLoop()
switch (msg->msgType)
{
case NtsMessageType::GNB_NGAP_TO_GTP: {
auto *w = dynamic_cast<NwGnbNgapToGtp *>(msg);
auto *w = dynamic_cast<NmGnbNgapToGtp *>(msg);
switch (w->present)
{
case NwGnbNgapToGtp::UE_CONTEXT_UPDATE: {
case NmGnbNgapToGtp::UE_CONTEXT_UPDATE: {
handleUeContextUpdate(*w->update);
break;
}
case NwGnbNgapToGtp::UE_CONTEXT_RELEASE: {
case NmGnbNgapToGtp::UE_CONTEXT_RELEASE: {
handleUeContextDelete(w->ueId);
break;
}
case NwGnbNgapToGtp::SESSION_CREATE: {
case NmGnbNgapToGtp::SESSION_CREATE: {
handleSessionCreate(w->resource);
break;
}
case NwGnbNgapToGtp::SESSION_RELEASE: {
case NmGnbNgapToGtp::SESSION_RELEASE: {
handleSessionRelease(w->ueId, w->psi);
break;
}
}
break;
}
case NtsMessageType::GNB_RLS_TO_GTP: {
auto *w = dynamic_cast<NwGnbRlsToGtp *>(msg);
auto *w = dynamic_cast<NmGnbRlsToGtp *>(msg);
switch (w->present)
{
case NwGnbRlsToGtp::DATA_PDU_DELIVERY: {
case NmGnbRlsToGtp::DATA_PDU_DELIVERY: {
handleUplinkData(w->ueId, w->psi, std::move(w->pdu));
break;
}
Expand Down Expand Up @@ -240,7 +240,7 @@ void GtpTask::handleUdpReceive(const udp::NwUdpServerReceive &msg)

if (m_rateLimiter->allowDownlinkPacket(sessionInd, gtp->payload.length()))
{
auto *w = new NwGnbGtpToRls(NwGnbGtpToRls::DATA_PDU_DELIVERY);
auto *w = new NmGnbGtpToRls(NmGnbGtpToRls::DATA_PDU_DELIVERY);
w->ueId = GetUeId(sessionInd);
w->psi = GetPsi(sessionInd);
w->pdu = std::move(gtp->payload);
Expand Down
8 changes: 4 additions & 4 deletions src/gnb/ngap/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void NgapTask::receiveInitialContextSetup(int amfId, ASN_NGAP_InitialContextSetu
if (ie)
deliverDownlinkNas(ue->ctxId, asn::GetOctetString(ie->NAS_PDU));

auto *w = new NwGnbNgapToGtp(NwGnbNgapToGtp::UE_CONTEXT_UPDATE);
auto *w = new NmGnbNgapToGtp(NmGnbNgapToGtp::UE_CONTEXT_UPDATE);
w->update = std::make_unique<GtpUeContextUpdate>(true, ue->ctxId, ue->ueAmbr);
m_base->gtpTask->push(w);
}
Expand All @@ -67,12 +67,12 @@ void NgapTask::receiveContextRelease(int amfId, ASN_NGAP_UEContextReleaseCommand
return;

// Notify RRC task
auto *w1 = new NwGnbNgapToRrc(NwGnbNgapToRrc::AN_RELEASE);
auto *w1 = new NmGnbNgapToRrc(NmGnbNgapToRrc::AN_RELEASE);
w1->ueId = ue->ctxId;
m_base->rrcTask->push(w1);

// Notify GTP task
auto *w2 = new NwGnbNgapToGtp(NwGnbNgapToGtp::UE_CONTEXT_RELEASE);
auto *w2 = new NmGnbNgapToGtp(NmGnbNgapToGtp::UE_CONTEXT_RELEASE);
w2->ueId = ue->ctxId;
m_base->gtpTask->push(w2);

Expand Down Expand Up @@ -108,7 +108,7 @@ void NgapTask::receiveContextModification(int amfId, ASN_NGAP_UEContextModificat
auto *response = asn::ngap::NewMessagePdu<ASN_NGAP_UEContextModificationResponse>({});
sendNgapUeAssociated(ue->ctxId, response);

auto *w = new NwGnbNgapToGtp(NwGnbNgapToGtp::UE_CONTEXT_UPDATE);
auto *w = new NmGnbNgapToGtp(NmGnbNgapToGtp::UE_CONTEXT_UPDATE);
w->update = std::make_unique<GtpUeContextUpdate>(false, ue->ctxId, ue->ueAmbr);
m_base->gtpTask->push(w);
}
Expand Down
6 changes: 3 additions & 3 deletions src/gnb/ngap/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void NgapTask::handleAssociationShutdown(int amfId)

amf->state = EAmfState::NOT_CONNECTED;

auto *w = new NwGnbSctp(NwGnbSctp::CONNECTION_CLOSE);
auto *w = new NmGnbSctp(NmGnbSctp::CONNECTION_CLOSE);
w->clientId = amfId;
m_base->sctpTask->push(w);

Expand Down Expand Up @@ -192,11 +192,11 @@ void NgapTask::receiveNgSetupResponse(int amfId, ASN_NGAP_NGSetupResponse *msg)
{
m_isInitialized = true;

auto *update = new NwGnbStatusUpdate(NwGnbStatusUpdate::NGAP_IS_UP);
auto *update = new NmGnbStatusUpdate(NmGnbStatusUpdate::NGAP_IS_UP);
update->isNgapUp = true;
m_base->appTask->push(update);

m_base->rrcTask->push(new NwGnbNgapToRrc(NwGnbNgapToRrc::RADIO_POWER_ON));
m_base->rrcTask->push(new NmGnbNgapToRrc(NmGnbNgapToRrc::RADIO_POWER_ON));
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/gnb/ngap/nas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void NgapTask::handleInitialNasTransport(int ueId, const OctetString &nasPdu, lo

void NgapTask::deliverDownlinkNas(int ueId, OctetString &&nasPdu)
{
auto *w = new NwGnbNgapToRrc(NwGnbNgapToRrc::NAS_DELIVERY);
auto *w = new NmGnbNgapToRrc(NmGnbNgapToRrc::NAS_DELIVERY);
w->ueId = ueId;
w->pdu = std::move(nasPdu);
m_base->rrcTask->push(w);
Expand Down
4 changes: 2 additions & 2 deletions src/gnb/ngap/radio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace nr::gnb
void NgapTask::handleRadioLinkFailure(int ueId)
{
// Notify GTP task
auto *w2 = new NwGnbNgapToGtp(NwGnbNgapToGtp::UE_CONTEXT_RELEASE);
auto *w2 = new NmGnbNgapToGtp(NmGnbNgapToGtp::UE_CONTEXT_RELEASE);
w2->ueId = ueId;
m_base->gtpTask->push(w2);

Expand All @@ -48,7 +48,7 @@ void NgapTask::receivePaging(int amfId, ASN_NGAP_Paging *msg)
return;
}

auto *w = new NwGnbNgapToRrc(NwGnbNgapToRrc::PAGING);
auto *w = new NmGnbNgapToRrc(NmGnbNgapToRrc::PAGING);
w->uePagingTmsi =
asn::UniqueCopy(*ieUePagingIdentity->UEPagingIdentity.choice.fiveG_S_TMSI, asn_DEF_ASN_NGAP_FiveG_S_TMSI);
w->taiListForPaging = asn::UniqueCopy(ieTaiListForPaging->TAIListForPaging, asn_DEF_ASN_NGAP_TAIListForPaging);
Expand Down
4 changes: 2 additions & 2 deletions src/gnb/ngap/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ std::optional<NgapCause> NgapTask::setupPduSessionResource(PduSessionResource *r
resource->downTunnel.address = utils::IpToOctetString(m_base->config->gtpIp);
resource->downTunnel.teid = ++m_downlinkTeidCounter;

auto *w = new NwGnbNgapToGtp(NwGnbNgapToGtp::SESSION_CREATE);
auto *w = new NmGnbNgapToGtp(NmGnbNgapToGtp::SESSION_CREATE);
w->resource = resource;
m_base->gtpTask->push(w);

Expand Down Expand Up @@ -277,7 +277,7 @@ void NgapTask::receiveSessionResourceReleaseCommand(int amfId, ASN_NGAP_PDUSessi
// Perform release
for (auto &psi : psIds)
{
auto *w = new NwGnbNgapToGtp(NwGnbNgapToGtp::SESSION_RELEASE);
auto *w = new NmGnbNgapToGtp(NmGnbNgapToGtp::SESSION_RELEASE);
w->ueId = ue->ctxId;
w->psi = psi;
m_base->gtpTask->push(w);
Expand Down
18 changes: 9 additions & 9 deletions src/gnb/ngap/task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void NgapTask::onStart()

for (auto &amfCtx : m_amfCtx)
{
auto *msg = new NwGnbSctp(NwGnbSctp::CONNECTION_REQUEST);
auto *msg = new NmGnbSctp(NmGnbSctp::CONNECTION_REQUEST);
msg->clientId = amfCtx.second->ctxId;
msg->localAddress = m_base->config->ngapIp;
msg->localPort = 0;
Expand All @@ -51,35 +51,35 @@ void NgapTask::onLoop()
switch (msg->msgType)
{
case NtsMessageType::GNB_RRC_TO_NGAP: {
auto *w = dynamic_cast<NwGnbRrcToNgap *>(msg);
auto *w = dynamic_cast<NmGnbRrcToNgap *>(msg);
switch (w->present)
{
case NwGnbRrcToNgap::INITIAL_NAS_DELIVERY: {
case NmGnbRrcToNgap::INITIAL_NAS_DELIVERY: {
handleInitialNasTransport(w->ueId, w->pdu, w->rrcEstablishmentCause);
break;
}
case NwGnbRrcToNgap::UPLINK_NAS_DELIVERY: {
case NmGnbRrcToNgap::UPLINK_NAS_DELIVERY: {
handleUplinkNasTransport(w->ueId, w->pdu);
break;
}
case NwGnbRrcToNgap::RADIO_LINK_FAILURE: {
case NmGnbRrcToNgap::RADIO_LINK_FAILURE: {
handleRadioLinkFailure(w->ueId);
break;
}
}
break;
}
case NtsMessageType::GNB_SCTP: {
auto *w = dynamic_cast<NwGnbSctp *>(msg);
auto *w = dynamic_cast<NmGnbSctp *>(msg);
switch (w->present)
{
case NwGnbSctp::ASSOCIATION_SETUP:
case NmGnbSctp::ASSOCIATION_SETUP:
handleAssociationSetup(w->clientId, w->associationId, w->inStreams, w->outStreams);
break;
case NwGnbSctp::RECEIVE_MESSAGE:
case NmGnbSctp::RECEIVE_MESSAGE:
handleSctpMessage(w->clientId, w->stream, w->buffer);
break;
case NwGnbSctp::ASSOCIATION_SHUTDOWN:
case NmGnbSctp::ASSOCIATION_SHUTDOWN:
handleAssociationShutdown(w->clientId);
break;
default:
Expand Down
4 changes: 2 additions & 2 deletions src/gnb/ngap/transport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void NgapTask::sendNgapNonUe(int associatedAmf, ASN_NGAP_NGAP_PDU *pdu)
m_logger->err("NGAP APER encoding failed");
else
{
auto *msg = new NwGnbSctp(NwGnbSctp::SEND_MESSAGE);
auto *msg = new NmGnbSctp(NmGnbSctp::SEND_MESSAGE);
msg->clientId = amf->ctxId;
msg->stream = 0;
msg->buffer = UniqueBuffer{buffer, static_cast<size_t>(encoded)};
Expand Down Expand Up @@ -200,7 +200,7 @@ void NgapTask::sendNgapUeAssociated(int ueId, ASN_NGAP_NGAP_PDU *pdu)
m_logger->err("NGAP APER encoding failed");
else
{
auto *msg = new NwGnbSctp(NwGnbSctp::SEND_MESSAGE);
auto *msg = new NmGnbSctp(NmGnbSctp::SEND_MESSAGE);
msg->clientId = amf->ctxId;
msg->stream = ue->uplinkStream;
msg->buffer = UniqueBuffer{buffer, static_cast<size_t>(encoded)};
Expand Down
Loading