20 lines
601 B
C
20 lines
601 B
C
#ifndef _OSMO_BTS_AMR_H
|
|
#define _OSMO_BTS_AMR_H
|
|
|
|
#include <osmo-bts/gsm_data.h>
|
|
|
|
#define AMR_TOC_QBIT 0x04
|
|
#define AMR_CMR_NONE 0xF
|
|
|
|
void amr_log_mr_conf(int ss, int logl, const char *pfx,
|
|
struct amr_multirate_conf *amr_mrc);
|
|
|
|
int amr_parse_mr_conf(struct amr_multirate_conf *amr_mrc,
|
|
const uint8_t *mr_conf, unsigned int len);
|
|
void amr_set_mode_pref(uint8_t *data, const struct amr_multirate_conf *amr_mrc,
|
|
uint8_t cmi, uint8_t cmr);
|
|
unsigned int amr_get_initial_mode(struct gsm_lchan *lchan);
|
|
void amr_init_mr_conf_def(struct gsm_lchan *lchan);
|
|
|
|
#endif /* _OSMO_BTS_AMR_H */
|