diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2013-05-24 11:18:40 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2013-05-24 11:18:40 +0200 |
commit | b1f92341c359fb173dc2d28a66ae3a86a7a94a99 (patch) | |
tree | 387bbc99e1da86cbe407322481d6074f27ffd526 /include | |
parent | 1ee6d39921dbec5d6597295ba40e0f95d1e955fc (diff) |
amr: add AMR FT SID definition
According to RFC3267, AMR FT 8 is reserved to SID and its size is
8 bytes.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/netif/amr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmocom/netif/amr.h b/include/osmocom/netif/amr.h index 5e4ccd4..21ba9da 100644 --- a/include/osmocom/netif/amr.h +++ b/include/osmocom/netif/amr.h @@ -75,7 +75,8 @@ static inline void *osmo_amr_get_payload(struct amr_hdr *amrh) #define AMR_FT_5 5 /* 7.95 */ #define AMR_FT_6 6 /* 10.2 */ #define AMR_FT_7 7 /* 12.2 */ -#define AMR_FT_MAX 8 +#define AMR_FT_SID 8 /* SID */ +#define AMR_FT_MAX 9 size_t osmo_amr_bytes(uint8_t amr_cmr); |