diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2012-12-29 12:32:30 +0100 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2012-12-29 12:42:16 +0100 |
commit | 324c8052ae738285aac6f0eb3d665cca8cd46d93 (patch) | |
tree | aa7da3795fd7ee7a1fa72fc5a788e522dd3402b8 /openbsc/include/openbsc | |
parent | 4173b174eb446533623bf492f152856ffe8d712b (diff) |
gsm_data_shared.h: Keep a list of SAPI states per lchan
Diffstat (limited to 'openbsc/include/openbsc')
-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 ba431da03..e98560dec 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -166,6 +166,15 @@ enum lchan_csd_mode { LCHAN_CSD_M_T_32000, }; +/* State of the SAPIs in the lchan */ +enum lchan_sapi_state { + LCHAN_SAPI_S_NONE, + LCHAN_SAPI_S_REQ, + LCHAN_SAPI_S_ASSIGNED, + LCHAN_SAPI_S_REL, + LCHAN_SAPI_S_ERROR, +}; + struct gsm_lchan { /* The TS that we're part of */ struct gsm_bts_trx_ts *ts; @@ -235,6 +244,10 @@ struct gsm_lchan { struct gsm_subscriber_connection *conn; #else + /* Number of different GsmL1_Sapi_t used in osmo_bts_sysmo is 23. + * Currently we don't share these headers so this is a magic number. */ + uint8_t sapis_dl[23]; + uint8_t sapis_ul[23]; struct lapdm_channel lapdm_ch; struct llist_head dl_tch_queue; struct { |