mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 03:19:31 +00:00
[all] allow value of 0 for S-NSSAI SST
3GPP TS 23.003: 28.4.2 Format of the S-NSSAI The SST field may have standardized and non-standardized values. Values 0 to 127 belong to the standardized SST range and they are defined in 3GPP TS 23.501 [119]. Values 128 to 255 belong to the Operator-specific range.
This commit is contained in:
parent
34a9816c7b
commit
c331207233
12 changed files with 19 additions and 63 deletions
|
|
@ -115,11 +115,9 @@ ogs_sbi_request_t *af_npcf_policyauthorization_build_create(
|
|||
AscReqData.ev_subsc = &evSubsc;
|
||||
|
||||
memset(&sNssai, 0, sizeof(sNssai));
|
||||
if (sess->s_nssai.sst) {
|
||||
sNssai.sst = sess->s_nssai.sst;
|
||||
sNssai.sd = ogs_s_nssai_sd_to_string(sess->s_nssai.sd);
|
||||
AscReqData.slice_info = &sNssai;
|
||||
}
|
||||
sNssai.sst = sess->s_nssai.sst;
|
||||
sNssai.sd = ogs_s_nssai_sd_to_string(sess->s_nssai.sd);
|
||||
AscReqData.slice_info = &sNssai;
|
||||
|
||||
AscReqData.spon_status = OpenAPI_sponsoring_status_SPONSOR_DISABLED;
|
||||
|
||||
|
|
@ -709,11 +707,10 @@ ogs_sbi_request_t *af_npcf_policyauthorization_build_create_video(
|
|||
AscReqData.ev_subsc = &evSubsc;
|
||||
|
||||
memset(&sNssai, 0, sizeof(sNssai));
|
||||
if (sess->s_nssai.sst) {
|
||||
sNssai.sst = sess->s_nssai.sst;
|
||||
sNssai.sd = ogs_s_nssai_sd_to_string(sess->s_nssai.sd);
|
||||
AscReqData.slice_info = &sNssai;
|
||||
}
|
||||
|
||||
sNssai.sst = sess->s_nssai.sst;
|
||||
sNssai.sd = ogs_s_nssai_sd_to_string(sess->s_nssai.sd);
|
||||
AscReqData.slice_info = &sNssai;
|
||||
|
||||
AscReqData.spon_status = OpenAPI_sponsoring_status_SPONSOR_DISABLED;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue