summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
diff options
context:
space:
mode:
authorAndreas.Eversberg2011-07-28 20:54:42 +0200
committerSylvain Munaut2011-07-28 21:30:51 +0200
commit1a5461fb2beb96bfa004245a102cd4c1422baa2a (patch)
tree71b3dce4ea3765b61610015b58c79c2322127456 /src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
parentfw/prim_tch: Add support for sending frame from l23 (TRAFFIC_REQ/CONF) (diff)
downloadosmocom-1a5461fb2beb96bfa004245a102cd4c1422baa2a.tar.gz
osmocom-1a5461fb2beb96bfa004245a102cd4c1422baa2a.tar.xz
osmocom-1a5461fb2beb96bfa004245a102cd4c1422baa2a.zip
layer23: Add mobile support for sending / receiving voice frame through MNCC
Support GSM FR codec only so far. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h5
1 files changed, 5 insertions, 0 deletions
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 */