aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2019-02-27 12:08:54 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2019-02-27 12:08:54 +0100
commita8733cb6c7d15b44bee65cc529f7a7270343dc55 (patch)
treecebeab21e09f22d69af5525983cb7d26127406e2 /include/osmocom
parentaf63d87a76ef4ae010e230d86ce9c07c6081cb80 (diff)
AMR: add spec reference for AMR frame types
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/netif/amr.h3
1 files changed, 3 insertions, 0 deletions
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 */