diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-03-06 21:49:21 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-03-06 21:49:21 +0100 |
commit | d529db6e5025daab8c1316e827bbed4e1e2289ac (patch) | |
tree | a5471c2ef2b531283344f85b6a0b230279798a0e /openbsc/include/openbsc | |
parent | af9b810419b9c6e686d647ccd58b093c40b29b46 (diff) |
OM2000: Move IS conn group list generation out of VTY code
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/abis_om2000.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/abis_om2000.h b/openbsc/include/openbsc/abis_om2000.h index e4f19cf9c..be369fece 100644 --- a/openbsc/include/openbsc/abis_om2000.h +++ b/openbsc/include/openbsc/abis_om2000.h @@ -41,12 +41,21 @@ struct abis_om2k_mo { uint8_t inst; } __attribute__ ((packed)); +/* on-wire format for IS conn group */ struct om2k_is_conn_grp { uint16_t icp1; uint16_t icp2; uint8_t cont_idx; } __attribute__ ((packed)); +/* internal data formant for IS conn group */ +struct is_conn_group { + struct llist_head list; + uint16_t icp1; + uint16_t icp2; + uint8_t ci; +}; + extern const struct value_string om2k_mo_class_short_vals[]; int abis_om2k_rcvmsg(struct msgb *msg); @@ -63,8 +72,7 @@ int abis_om2k_tx_disable_req(struct gsm_bts *bts, const struct abis_om2k_mo *mo) int abis_om2k_tx_test_req(struct gsm_bts *bts, const struct abis_om2k_mo *mo); int abis_om2k_tx_op_info(struct gsm_bts *bts, const struct abis_om2k_mo *mo, uint8_t operational); -int abis_om2k_tx_is_conf_req(struct gsm_bts *bts, struct om2k_is_conn_grp *cg, - unsigned int num_cg); +int abis_om2k_tx_is_conf_req(struct gsm_bts *bts); int abis_om2k_tx_tf_conf_req(struct gsm_bts *bts); int abis_om2k_tx_rx_conf_req(struct gsm_bts_trx *trx); int abis_om2k_tx_tx_conf_req(struct gsm_bts_trx *trx); |