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.
This commit is contained in:
Holger Hans Peter Freyther 2014-07-24 21:05:32 +02:00
parent f14bb91e28
commit 93de6227e7
1 changed files with 1 additions and 0 deletions

View File

@ -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;