diff --git a/lib/include/srslte/asn1/gtpc_ies.h b/lib/include/srslte/asn1/gtpc_ies.h index 0ddcfaacb..215021584 100644 --- a/lib/include/srslte/asn1/gtpc_ies.h +++ b/lib/include/srslte/asn1/gtpc_ies.h @@ -330,8 +330,30 @@ struct gtpc_pdn_address_allocation_ie struct in6_addr ipv6; }; +/**************************************************************************** + * + * GTP-C Bearer Quality of Service IE + * Ref: 3GPP TS 29.274 v10.14.0 Figure 8.15-1 + * + ***************************************************************************/ +struct gtpc_bearer_qos_ie +{ + struct { + uint8_t pvi : 1; + uint8_t spare : 1; + uint8_t pl : 4; + uint8_t pci : 1; + uint8_t spare2 : 1; + } arp; + uint8_t qci; + uint8_t mbr_ul; + uint8_t mbr_dl; + uint8_t gbr_ul; + uint8_t gbr_dl; +}; + //TODO -//TODO IEs between 8.15 and 8.17 missing +//TODO IEs between 8.16 and 8.17 missing //TODO /**************************************************************************** diff --git a/lib/include/srslte/asn1/gtpc_msg.h b/lib/include/srslte/asn1/gtpc_msg.h index 61591d7c4..7fdb2620b 100644 --- a/lib/include/srslte/asn1/gtpc_msg.h +++ b/lib/include/srslte/asn1/gtpc_msg.h @@ -202,6 +202,7 @@ struct gtpc_create_session_request struct gtpc_f_teid_ie s12_rnc_f_teid; bool s2b_u_epdg_f_teid_present; struct gtpc_f_teid_ie s2b_u_epdg_f_teid; + struct gtpc_bearer_qos_ie bearer_qos; // M } eps_bearer_context_created; // M //bool bearer_context_deleted_present; //struct bearer_context_ bearer_context_deleted; // C