aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-18 18:34:41 +0100
committerHarald Welte <laforge@gnumonks.org>2017-12-19 18:58:51 +0100
commit4a8ebc8394d00caabad977a4ecbb3cfe1387c791 (patch)
tree10510c331874550db76ae8f09ba270cb66a0f391 /include
parentea0c3203db95518c75258bf5c6bb350a3ffb56fc (diff)
gsm_data.h: Document all fields of gsm_subscriber_connection
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/gsm_data.h22
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;