From 1a5461fb2beb96bfa004245a102cd4c1422baa2a Mon Sep 17 00:00:00 2001 From: Andreas.Eversberg Date: Thu, 28 Jul 2011 20:54:42 +0200 Subject: layer23: Add mobile support for sending / receiving voice frame through MNCC Support GSM FR codec only so far. Written-by: Andreas Eversberg Signed-off-by: Sylvain Munaut --- src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h') diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h index cccf279..756d302 100644 --- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h +++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h @@ -172,6 +172,9 @@ struct gsm48_rrlayer { struct osmo_timer_list t_meas; struct gsm48_rr_meas meas; uint8_t monitor; + + /* audio flow */ + uint8_t audio_mode; }; const char *get_rr_name(int value); @@ -193,5 +196,7 @@ extern const char *gsm48_rr_state_names[]; int gsm48_rr_start_monitor(struct osmocom_ms *ms); int gsm48_rr_stop_monitor(struct osmocom_ms *ms); int gsm48_rr_alter_delay(struct osmocom_ms *ms); +int gsm48_rr_tx_voice(struct osmocom_ms *ms, struct msgb *msg); +int gsm48_rr_audio_mode(struct osmocom_ms *ms, uint8_t mode); #endif /* _GSM48_RR_H */ -- cgit v1.2.3-55-g7522