[SMF,MME] Gn: Set Delivery of erroneous SDUs QoS field to No

Before this patch, it was set as 0, which is Reserved in Network to MS
direction.

(cherry picked from commit a613be8c4c)
This commit is contained in:
Pau Espin 2024-01-26 19:03:27 +01:00 committed by Oliver Smith
parent 70210324f2
commit e2b747546b
3 changed files with 10 additions and 0 deletions

View File

@ -217,6 +217,12 @@ typedef struct ogs_gtp1_gsn_addr_s {
#define OGS_GTP1_DELIVERY_ORDER_YES 1
#define OGS_GTP1_DELIVERY_ORDER_NO 2
/* Delivery of erroneous SDUs, octet 6 (see also 3GPP TS 23.107) */
#define OGS_GTP1_DELIVERY_ERR_SDU_SUBSCRIBED 0
#define OGS_GTP1_DELIVERY_ERR_SDU_NO_DETECT 1
#define OGS_GTP1_DELIVERY_ERR_SDU_YES 2
#define OGS_GTP1_DELIVERY_ERR_SDU_NO 3
/* TS 29.060 7.7.34 Quality of Service (QoS) Profile */
#define OGS_GTP1_QOS_PROFILE_MAX_LEN 255
/* TS 24.008 10.5.6.5 Quality of service */

View File

@ -76,6 +76,8 @@ static void build_qos_profile_from_session(ogs_gtp1_qos_profile_decoded_t *qos_p
* required" [...] as described in clause "compatibility issues" (4.8.1) */
qos_pdec->qos_profile.data.delivery_order = OGS_GTP1_DELIVERY_ORDER_NO;
qos_pdec->qos_profile.data.delivery_erroneous_sdu = OGS_GTP1_DELIVERY_ERR_SDU_NO;
/* 3GPP TS 23.401 Annex E table Table E.3 */
/* Also take into account table 7 in 3GPP TS 23.107 9.1.2.2 */
switch (session->qos.index) { /* QCI */

View File

@ -39,6 +39,8 @@ static void build_qos_profile_from_session(ogs_gtp1_qos_profile_decoded_t *qos_p
* required" [...] as described in clause "compatibility issues" (4.8.1) */
qos_pdec->qos_profile.data.delivery_order = OGS_GTP1_DELIVERY_ORDER_NO;
qos_pdec->qos_profile.data.delivery_erroneous_sdu = OGS_GTP1_DELIVERY_ERR_SDU_NO;
/* 3GPP TS 23.401 Annex E table Table E.3 */
/* Also take into account table 7 in 3GPP TS 23.107 9.1.2.2 */
switch (sess->session.qos.index) { /* QCI */