[S] Change in libosmocore[master]: gsm_04_08.h: add enums for missing fields of BC-IE
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/44191?usp=email ) Change subject: gsm_04_08.h: add enums for missing fields of BC-IE ...................................................................... gsm_04_08.h: add enums for missing fields of BC-IE Header file <osmocom/gsm/protocol/gsm_04_08.h> already includes enum definitions for most fields in the bearer capability IE of 3GPP TS 24.008 section 10.5.4.5, but a few important fields are missing. While existing struct gsm_mncc_bearer_cap and the corresponding APIs for high-level encoding and decoding of BC-IE do not provide access to these fields, the new structure and API of the next patch do. Change-Id: Ib25b62f9413761d2f9f01de3510c75e7b4131541 --- M include/osmocom/gsm/protocol/gsm_04_08.h 1 file changed, 27 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/91/44191/1 diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h index c3263be..b54d75c 100644 --- a/include/osmocom/gsm/protocol/gsm_04_08.h +++ b/include/osmocom/gsm/protocol/gsm_04_08.h @@ -2158,6 +2158,12 @@ #define GSM48_BCAP_RRQ_SPARE_NETWORK_TO_MS GSM48_BCAP_RRQ_FR_ONLY }; +/* GSM 04.08 Bearer Capability: Structure field in octet 4 */ +enum gsm48_bcap_struct { + GSM48_BCAP_STRUCT_SDU_INTEG = 0, + GSM48_BCAP_STRUCT_UNSTRUCT = 3, +}; + /* GSM 04.08 Bearer Capability: Rate Adaption */ enum gsm48_bcap_ra { GSM48_BCAP_RA_NONE = 0, @@ -2176,6 +2182,18 @@ GSM48_BCAP_SA_X32 = 6, }; +/* GSM 04.08 Bearer Capability: Other Information Transfer Capability */ +enum gsm48_bcap_other_itcap { + GSM48_BCAP_OTHER_ITC_RDI = 0, +}; + +/* GSM 04.08 Bearer Capability: Other Rate Adaption */ +enum gsm48_bcap_other_ra { + GSM48_BCAP_OTHER_RA_V120 = 0, + GSM48_BCAP_OTHER_RA_H223_H245 = 1, + GSM48_BCAP_OTHER_RA_PIAFS = 2, +}; + /* GSM 04.08 Bearer Capability: User Rate */ enum gsm48_bcap_user_rate { GSM48_BCAP_UR_300 = 1, @@ -2245,6 +2263,15 @@ GSM48_BCAP_FNUR_V34_31200 = 11, /*!< 31.2 kbit/s (according to ITU-T Rec. V.34) */ }; +/* GSM 04.08 Bearer Capability: User Information Layer 2 Protocol */ +enum gsm48_bcap_uil2p { + GSM48_BCAP_UIL2P_X25_LINK = 6, + GSM48_BCAP_UIL2P_XON_XOFF = 8, + GSM48_BCAP_UIL2P_VIDEOTEX_PROF1 = 10, + GSM48_BCAP_UIL2P_COP_NO_FLCT = 12, + GSM48_BCAP_UIL2P_X75_CAPI = 13, +}; + /*! GSM 04.08 Bearer Capability: Speech Version Indication * (See also 3GPP TS 24.008, Table 10.5.103 * and 3GPP TS 26.103, Table 4.1 "Support of Codec Types in Radio Access Technologies") */ -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44191?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ib25b62f9413761d2f9f01de3510c75e7b4131541 Gerrit-Change-Number: 44191 Gerrit-PatchSet: 1 Gerrit-Owner: falconia <falcon@freecalypso.org>
participants (1)
-
falconia