diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2011-07-28 20:54:42 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-07-28 21:30:51 +0200 |
commit | 1a5461fb2beb96bfa004245a102cd4c1422baa2a (patch) | |
tree | 71b3dce4ea3765b61610015b58c79c2322127456 /src/host/layer23/include/osmocom/bb/common/osmocom_data.h | |
parent | e042cbb29763f21fd2ed7076c15db87b037ce73a (diff) |
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/common/osmocom_data.h')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/osmocom_data.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h index d387c917..6ad89cd3 100644 --- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h +++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h @@ -19,11 +19,22 @@ struct osmocom_ms; #include <osmocom/bb/mobile/gsm48_mm.h> #include <osmocom/bb/mobile/gsm48_cc.h> #include <osmocom/bb/common/sim.h> +#include <osmocom/bb/common/l1ctl.h> struct osmosap_entity { osmosap_cb_t msg_handler; }; +struct osmol1_entity { + int (*l1_traffic_ind)(struct osmocom_ms *ms, struct msgb *msg); +}; + +struct osmomncc_entity { + int (*mncc_recv)(struct osmocom_ms *ms, int msg_type, void *arg); + uint32_t ref; +}; + + /* RX measurement statistics */ struct rx_meas_stat { uint32_t last_fn; @@ -45,6 +56,7 @@ struct osmocom_ms { char name[32]; struct osmo_wqueue l2_wq, sap_wq; uint16_t test_arfcn; + struct osmol1_entity l1_entity; uint8_t deleting, shutdown, started; struct gsm_support support; @@ -59,6 +71,7 @@ struct osmocom_ms { struct gsm322_cellsel cellsel; struct gsm48_mmlayer mmlayer; struct gsm48_cclayer cclayer; + struct osmomncc_entity mncc_entity; struct llist_head trans_list; }; @@ -104,6 +117,7 @@ struct osmobb_ccch_mode_conf { struct osmobb_tch_mode_conf { struct osmocom_ms *ms; uint8_t tch_mode; + uint8_t audio_mode; }; struct osmobb_neigh_pm_ind { |