Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
6e8b801d
Commit
6e8b801d
authored
Apr 25, 2021
by
Tien-Thinh Nguyen
Browse files
use (SST, SD) to get the subscription information
parent
f750f1ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/smf_app/smf_app.cpp
View file @
6e8b801d
...
...
@@ -1646,7 +1646,10 @@ bool smf_app::get_session_management_subscription_data(
for
(
int
i
=
0
;
i
<
smf_cfg
.
num_session_management_subscription
;
i
++
)
{
if
((
0
==
dnn
.
compare
(
smf_cfg
.
session_management_subscription
[
i
].
dnn
))
and
(
snssai
.
sST
==
smf_cfg
.
session_management_subscription
[
i
].
single_nssai
.
sST
))
{
smf_cfg
.
session_management_subscription
[
i
].
single_nssai
.
sST
)
and
(
0
==
snssai
.
sD
.
compare
(
smf_cfg
.
session_management_subscription
[
i
].
single_nssai
.
sD
)))
{
std
::
shared_ptr
<
dnn_configuration_t
>
dnn_configuration
=
std
::
make_shared
<
dnn_configuration_t
>
();
...
...
src/smf_app/smf_config.hpp
View file @
6e8b801d
...
...
@@ -238,7 +238,7 @@ class smf_config {
std
::
string
api_version
;
}
nrf_addr
;
#define SMF_NUM_SESSION_MANAGEMENT_SUBSCRIPTION_MAX
5
#define SMF_NUM_SESSION_MANAGEMENT_SUBSCRIPTION_MAX
10
struct
{
snssai_t
single_nssai
;
std
::
string
session_type
;
...
...
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