diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-06-25 10:02:33 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-06-25 10:02:33 +0200 |
commit | f6093a4d0e5fa43f7c544a8a40f9aeab37256881 (patch) | |
tree | 0a81183b19282bb17e8968a60a618e73155d8891 /openbsc/include/openbsc/gsm_data_shared.h | |
parent | 8b65ab9d9133efe53a058733d492ac0595040fb4 (diff) |
move {ts,lchan}2chan_nr() functions to gsm_data_shared.c
... this way osmo-bts can use them
Diffstat (limited to 'openbsc/include/openbsc/gsm_data_shared.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index 07ababf92..cab5817ca 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -174,6 +174,8 @@ struct gsm_lchan { uint8_t rqd_ta; struct gsm_subscriber_connection *conn; +#else + struct lapdm_channel lapdm_ch; #endif }; @@ -531,4 +533,7 @@ void * gsm_objclass2obj(struct gsm_bts *bts, uint8_t obj_class, struct abis_om_obj_inst *obj_inst); +uint8_t gsm_ts2chan_nr(const struct gsm_bts_trx_ts *ts, uint8_t lchan_nr); +uint8_t gsm_lchan2chan_nr(const struct gsm_lchan *lchan); + #endif |