diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-12-18 18:34:41 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-12-19 18:58:51 +0100 |
commit | 4a8ebc8394d00caabad977a4ecbb3cfe1387c791 (patch) | |
tree | 10510c331874550db76ae8f09ba270cb66a0f391 /include | |
parent | ea0c3203db95518c75258bf5c6bb350a3ffb56fc (diff) |
gsm_data.h: Document all fields of gsm_subscriber_connection
Change-Id: I429fe7817f075d0794645d37f5ea11b104102ba0
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 1cedef01b..2e97055f0 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -75,20 +75,26 @@ struct gsm_subscriber_connection { /* libbsc subscriber information (if available) */ struct bsc_subscr *bsub; - /* bsc structures */ - struct osmo_bsc_sccp_con *sccp_con; /* BSC */ + /* SCCP connection associatd with this subscriber_connection */ + struct osmo_bsc_sccp_con *sccp_con; /* back pointers */ struct gsm_network *network; - struct gsm_lchan *lchan; /* BSC */ - struct gsm_lchan *ho_lchan; /* BSC */ - struct gsm_bts *bts; /* BSC */ + /* the primary / currently active lchan to the BTS/subscriber */ + struct gsm_lchan *lchan; + /* the future/allocated but not yet used lchan during HANDOVER */ + struct gsm_lchan *ho_lchan; + /* a short-hand pointer to the BTS currently serving the subscriber, + * points to gsm_subscriber_connection.lchan->ts->trx->bts */ + struct gsm_bts *bts; - /* for assignment handling */ - struct osmo_timer_list T10; /* BSC */ - struct gsm_lchan *secondary_lchan; /* BSC */ + /* timer for assignment handling */ + struct osmo_timer_list T10; + /* the future allocated but not yet used lchan during ASSIGNMENT */ + struct gsm_lchan *secondary_lchan; + /* buffer/cache for classmark of the ME of the subscriber */ struct gsm_classmark classmark; uint16_t lac; |