diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-18 10:57:45 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-18 10:57:45 +0200 |
commit | 8acd88f369fbc4b8ea7510ab3e4979c783c1394a (patch) | |
tree | 2e548bf51a78c2f8ec08a7de90b1d3f43e37fd52 /openbsc/include | |
parent | 6abf94e4206fa97c7dfd72f481c278d9e2873958 (diff) |
[GPRS] SGSN: Include rate counters in MM Context
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gprs_sgsn.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_sgsn.h b/openbsc/include/openbsc/gprs_sgsn.h index df1ee4724..59bf5c097 100644 --- a/openbsc/include/openbsc/gprs_sgsn.h +++ b/openbsc/include/openbsc/gprs_sgsn.h @@ -25,6 +25,20 @@ enum gprs_ciph_algo { GPRS_ALGO_GEA2, }; +enum grs_mm_ctr { + GMM_CTR_PKTS_SIG_IN, + GMM_CTR_PKTS_SIG_OUT, + GMM_CTR_PKTS_UDATA_IN, + GMM_CTR_PKTS_UDATA_OUT, + GMM_CTR_BYTES_UDATA_IN, + GMM_CTR_BYTES_UDATA_OUT, + GMM_CTR_PDP_CTX_ACT, + GMM_CTR_SUSPEND, + GMM_CTR_PAGING_PS, + GMM_CTR_PAGING_CS, + GMM_CTR_RA_UPDATE, +}; + #define MS_RADIO_ACCESS_CAPA /* According to TS 03.60, Table 5: SGSN MM and PDP Contexts */ @@ -73,6 +87,7 @@ struct sgsn_mm_ctx { uint32_t tlli; uint16_t nsei; uint16_t bvci; + struct rate_ctr_group *ctrg; struct timer_list timer; unsigned int T; }; |