diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-06-17 09:31:16 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-17 09:31:16 +0800 |
commit | faa70ff2c6c3f592b5601aaa73a3a9a851a6d3c1 (patch) | |
tree | 3b04a79f1665c01e70e00a0fc9b32552e3c5ac3c /openbsc/include/osmocom | |
parent | 0d5e8e0b565da40ab5213d873c58f41b5d2d4556 (diff) |
libgb: remove dependency of BSSGP to include sgsn/gmm internal structs
Diffstat (limited to 'openbsc/include/osmocom')
-rw-r--r-- | openbsc/include/osmocom/gprs/gprs_bssgp.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/openbsc/include/osmocom/gprs/gprs_bssgp.h b/openbsc/include/osmocom/gprs/gprs_bssgp.h index 25c902c17..4fcdfb565 100644 --- a/openbsc/include/osmocom/gprs/gprs_bssgp.h +++ b/openbsc/include/osmocom/gprs/gprs_bssgp.h @@ -204,8 +204,21 @@ enum bssgp_ctr { int gprs_bssgp_rcvmsg(struct msgb *msg); /* BSSGP-DL-UNITDATA.req */ -struct sgsn_mm_ctx; -int gprs_bssgp_tx_dl_ud(struct msgb *msg, struct sgsn_mm_ctx *mmctx); +struct bssgp_lv { + uint16_t len; + uint8_t *v; +}; +/* parameters for BSSGP downlink userdata transmission */ +struct bssgp_dl_ud_par { + uint32_t *tlli; + char *imsi; + uint16_t drx_parms; + /* FIXME: priority */ + struct bssgp_lv ms_ra_cap; + uint8_t qos_profile[3]; +}; +int gprs_bssgp_tx_dl_ud(struct msgb *msg, uint16_t pdu_lifetime, + struct bssgp_dl_ud_par *dup); uint16_t bssgp_parse_cell_id(struct gprs_ra_id *raid, const uint8_t *buf); int bssgp_create_cell_id(uint8_t *buf, const struct gprs_ra_id *raid, |