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 | 8ef54d112c2c17a5303fac035825640987cbd40a (patch) | |
tree | 1e4505ff8895992a13de4b6e334aa099902196a1 /openbsc/include | |
parent | cca4963c581f26353b6fb1187446df70b399cf29 (diff) |
libgb: remove dependency of BSSGP to include sgsn/gmm internal structs
Diffstat (limited to 'openbsc/include')
-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 25c902c1..4fcdfb56 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, |