diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-08-24 15:33:56 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-08-29 16:33:54 +0200 |
commit | e4227988665cae6e44fc0f77c2463aae759f15ca (patch) | |
tree | b6d0d8ec2ecfd1df9d2f3512f001029638a68955 /openbsc/include | |
parent | bb53e3577afc3d0dde139bd6d394d37be4a1ac29 (diff) |
RSL: Add basic support for CSD transparent mode
We now have a lchan->csd_mode member that determines if RSL should
activate the channel in CSD transparent services or not. The previous
code always assumed CSD is non-transparent.
(This requires libosmocore >= eed26116c96f03c6128fac3dead9054714af6cab)
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index 5d4c51626..269386d72 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -149,6 +149,18 @@ struct amr_multirate_conf { }; /* /BTS ONLY */ +enum lchan_csd_mode { + LCHAN_CSD_M_NT, + LCHAN_CSD_M_T_1200_75, + LCHAN_CSD_M_T_600, + LCHAN_CSD_M_T_1200, + LCHAN_CSD_M_T_2400, + LCHAN_CSD_M_T_9600, + LCHAN_CSD_M_T_14400, + LCHAN_CSD_M_T_29000, + LCHAN_CSD_M_T_32000, +}; + struct gsm_lchan { /* The TS that we're part of */ struct gsm_bts_trx_ts *ts; @@ -160,6 +172,7 @@ struct gsm_lchan { enum rsl_cmod_spd rsl_cmode; /* If TCH, traffic channel mode */ enum gsm48_chan_mode tch_mode; + enum lchan_csd_mode csd_mode; /* State */ enum gsm_lchan_state state; /* Power levels for MS and BTS */ |