From a8733cb6c7d15b44bee65cc529f7a7270343dc55 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Wed, 27 Feb 2019 12:08:54 +0100 Subject: AMR: add spec reference for AMR frame types Change-Id: I39a602ae96570c9609680ff67e0946a696091cbe --- include/osmocom/netif/amr.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/osmocom/netif/amr.h b/include/osmocom/netif/amr.h index b0ab8a3..5b48bcb 100644 --- a/include/osmocom/netif/amr.h +++ b/include/osmocom/netif/amr.h @@ -69,6 +69,9 @@ static inline void *osmo_amr_get_payload(struct amr_hdr *amrh) return (uint8_t *)amrh + sizeof(struct amr_hdr); } +/* AMR voice frame type identifiers + * See also 3GPP TS 26.101, Table 1a: Interpretation of Frame Type, Mode + * Indication and Mode Request fields */ #define AMR_FT_0 0 /* 4.75 */ #define AMR_FT_1 1 /* 5.15 */ #define AMR_FT_2 2 /* 5.90 */ -- cgit v1.2.3