add AMR mode member of gsm_lchan for osmo-bts

This commit is contained in:
Harald Welte 2011-09-06 22:14:43 +02:00
parent 7c78c479ac
commit f3b5932ecf
1 changed files with 14 additions and 0 deletions

View File

@ -135,6 +135,17 @@ struct bts_ul_meas {
/* RSSI in dBm * -1 */ /* RSSI in dBm * -1 */
uint8_t inv_rssi; uint8_t inv_rssi;
}; };
struct amr_mode {
uint8_t mode;
uint8_t threshold;
uint8_t hysteresis;
};
struct amr_multirate_conf {
uint8_t gsm48_ie[2];
struct amr_mode mode[4];
uint8_t num_modes;
};
/* /BTS ONLY */ /* /BTS ONLY */
struct gsm_lchan { struct gsm_lchan {
@ -231,6 +242,9 @@ struct gsm_lchan {
uint8_t rxqual_sub; uint8_t rxqual_sub;
} res; } res;
} meas; } meas;
struct {
struct amr_multirate_conf amr_mr;
} tch;
#endif #endif
}; };