From 922ef5dc86a0514c9a9de728f1761ab9bd42031b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 24 Jul 2014 21:05:32 +0200 Subject: bts: Remember the last AMR mode that we received Not every air message contains the AMR mode so we need to remember it to not confuse receiving equipment like AudioCodes Media Gateways. --- openbsc/include/openbsc/gsm_data_shared.h | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc') diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index 54bc59645..cc147a6e7 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -291,6 +291,7 @@ struct gsm_lchan { uint8_t buf[16]; uint8_t len; } last_sid; + uint8_t last_cmr; } tch; /* BTS-side ciphering state (rx only, bi-directional, ...) */ uint8_t ciph_state; -- cgit v1.2.3