| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-amr.h
1/* packet-amr.h
2 *
3 * Adaptive Multi-Rate (AMR) speech codec 3GPP TS 26.101
4 *
5 * (C) 2024 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10#ifndef __PACKET_AMR_H__
11#define __PACKET_AMR_H__
12
13/* According to TS 26.101 Table A.1b: */
14#define AMR_FT_0 0 /* 4.75 */
15#define AMR_FT_1 1 /* 5.15 */
16#define AMR_FT_2 2 /* 5.90 */
17#define AMR_FT_3 3 /* 6.70 */
18#define AMR_FT_4 4 /* 7.40 */
19#define AMR_FT_5 5 /* 7.95 */
20#define AMR_FT_6 6 /* 10.2 */
21#define AMR_FT_7 7 /* 12.2 */
22#define AMR_FT_SID 8 /* AMR SID */
23#define AMR_FT_GSM_EFR_SID 9 /* GSM-EFR SID */
24#define AMR_FT_TDMA_EFR_SID 10 /* TDMA-EFR SID */
25#define AMR_FT_PDC_EFR_SID 11 /* PDC-EFR SID */
26/* version 16.0.0 Release 16: 12-14 for future use */
27#define AMR_FT_NO_DATA 15 /* NO_DATA */
28
29/* 1B Payload Header + 1B ToC: */
30#define AMR_NB_OA_HDR_LEN 2
31
32
33#endif /*__PACKET_AMR_H__*/