Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
常顺宇
OpenXG-RAN
Commits
f00e5deb
Commit
f00e5deb
authored
Oct 14, 2020
by
yaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix about nnfs,make it TODO
parent
f4f8db43
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
openair3/NGAP/ngap_gNB_nas_procedures.c
openair3/NGAP/ngap_gNB_nas_procedures.c
+12
-8
No files found.
openair3/NGAP/ngap_gNB_nas_procedures.c
View file @
f00e5deb
...
@@ -76,7 +76,8 @@ int ngap_gNB_handle_nas_first_req(
...
@@ -76,7 +76,8 @@ int ngap_gNB_handle_nas_first_req(
out
=
&
pdu
.
choice
.
initiatingMessage
->
value
.
choice
.
InitialUEMessage
;
out
=
&
pdu
.
choice
.
initiatingMessage
->
value
.
choice
.
InitialUEMessage
;
/* Select the AMF corresponding to the provided GUAMI. */
/* Select the AMF corresponding to the provided GUAMI. */
if
(
ngap_nas_first_req_p
->
ue_identity
.
presenceMask
&
NGAP_UE_IDENTITIES_guami
)
{
//TODO
/*if (ngap_nas_first_req_p->ue_identity.presenceMask & NGAP_UE_IDENTITIES_guami) {
amf_desc_p = ngap_gNB_nnsf_select_amf_by_guami(
amf_desc_p = ngap_gNB_nnsf_select_amf_by_guami(
instance_p,
instance_p,
ngap_nas_first_req_p->establishment_cause,
ngap_nas_first_req_p->establishment_cause,
...
@@ -93,11 +94,12 @@ int ngap_gNB_handle_nas_first_req(
...
@@ -93,11 +94,12 @@ int ngap_gNB_handle_nas_first_req(
ngap_nas_first_req_p->ue_identity.guami.amf_set_id,
ngap_nas_first_req_p->ue_identity.guami.amf_set_id,
ngap_nas_first_req_p->ue_identity.guami.amf_pointer);
ngap_nas_first_req_p->ue_identity.guami.amf_pointer);
}
}
}
}
*/
if
(
amf_desc_p
==
NULL
)
{
if
(
amf_desc_p
==
NULL
)
{
/* Select the AMF corresponding to the provided s-TMSI. */
/* Select the AMF corresponding to the provided s-TMSI. */
if
(
ngap_nas_first_req_p
->
ue_identity
.
presenceMask
&
NGAP_UE_IDENTITIES_FiveG_s_tmsi
)
{
//TODO
/*if (ngap_nas_first_req_p->ue_identity.presenceMask & NGAP_UE_IDENTITIES_FiveG_s_tmsi) {
amf_desc_p = ngap_gNB_nnsf_select_amf_by_amf_setid(
amf_desc_p = ngap_gNB_nnsf_select_amf_by_amf_setid(
instance_p,
instance_p,
ngap_nas_first_req_p->establishment_cause,
ngap_nas_first_req_p->establishment_cause,
...
@@ -114,13 +116,14 @@ int ngap_gNB_handle_nas_first_req(
...
@@ -114,13 +116,14 @@ int ngap_gNB_handle_nas_first_req(
instance_p->mcc[ngap_nas_first_req_p->selected_plmn_identity],
instance_p->mcc[ngap_nas_first_req_p->selected_plmn_identity],
instance_p->mnc[ngap_nas_first_req_p->selected_plmn_identity]);
instance_p->mnc[ngap_nas_first_req_p->selected_plmn_identity]);
}
}
}
}
*/
}
}
if
(
amf_desc_p
==
NULL
)
{
if
(
amf_desc_p
==
NULL
)
{
/* Select AMF based on the selected PLMN identity, received through RRC
/* Select AMF based on the selected PLMN identity, received through RRC
* Connection Setup Complete */
* Connection Setup Complete */
amf_desc_p
=
ngap_gNB_nnsf_select_amf_by_plmn_id
(
//TODO
/*amf_desc_p = ngap_gNB_nnsf_select_amf_by_plmn_id(
instance_p,
instance_p,
ngap_nas_first_req_p->establishment_cause,
ngap_nas_first_req_p->establishment_cause,
ngap_nas_first_req_p->selected_plmn_identity);
ngap_nas_first_req_p->selected_plmn_identity);
...
@@ -133,7 +136,7 @@ int ngap_gNB_handle_nas_first_req(
...
@@ -133,7 +136,7 @@ int ngap_gNB_handle_nas_first_req(
ngap_nas_first_req_p->selected_plmn_identity,
ngap_nas_first_req_p->selected_plmn_identity,
instance_p->mcc[ngap_nas_first_req_p->selected_plmn_identity],
instance_p->mcc[ngap_nas_first_req_p->selected_plmn_identity],
instance_p->mnc[ngap_nas_first_req_p->selected_plmn_identity]);
instance_p->mnc[ngap_nas_first_req_p->selected_plmn_identity]);
}
}
*/
}
}
if
(
amf_desc_p
==
NULL
)
{
if
(
amf_desc_p
==
NULL
)
{
...
@@ -141,7 +144,8 @@ int ngap_gNB_handle_nas_first_req(
...
@@ -141,7 +144,8 @@ int ngap_gNB_handle_nas_first_req(
* If no AMF corresponds to the GUAMI, the s-TMSI, or the selected PLMN
* If no AMF corresponds to the GUAMI, the s-TMSI, or the selected PLMN
* identity, selects the AMF with the highest capacity.
* identity, selects the AMF with the highest capacity.
*/
*/
amf_desc_p
=
ngap_gNB_nnsf_select_amf
(
//TODO
/*amf_desc_p = ngap_gNB_nnsf_select_amf(
instance_p,
instance_p,
ngap_nas_first_req_p->establishment_cause);
ngap_nas_first_req_p->establishment_cause);
...
@@ -150,7 +154,7 @@ int ngap_gNB_handle_nas_first_req(
...
@@ -150,7 +154,7 @@ int ngap_gNB_handle_nas_first_req(
instance,
instance,
amf_desc_p->amf_name,
amf_desc_p->amf_name,
amf_desc_p->assoc_id);
amf_desc_p->assoc_id);
}
}
*/
}
}
if
(
amf_desc_p
==
NULL
)
{
if
(
amf_desc_p
==
NULL
)
{
...
...
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