aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-01-18 15:57:48 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-03 16:19:09 +0100
commit712074cb171a9139a40d564a35a07b59871c2389 (patch)
treed29c4ef80580987d46984a1ca2e1cdf118a0430f /openbsc/src/libbsc
parenta34aedf7f92b240e591098e7868513db244bd7b3 (diff)
cosmetic: a rename, comments.
Rename conn_ctx_list -> ue_conn_ctx_list. Indicate Iu-CS 'siblings' for a couple of functions. Tweak/add comments.
Diffstat (limited to 'openbsc/src/libbsc')
-rw-r--r--openbsc/src/libbsc/bsc_api.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/openbsc/src/libbsc/bsc_api.c b/openbsc/src/libbsc/bsc_api.c
index 3225adc1d..4613502e3 100644
--- a/openbsc/src/libbsc/bsc_api.c
+++ b/openbsc/src/libbsc/bsc_api.c
@@ -239,8 +239,8 @@ static int handle_new_assignment(struct gsm_subscriber_connection *conn, int cha
return 0;
}
-struct gsm_subscriber_connection *subscr_con_allocate_iu(struct gsm_lchan *lchan)
-/* for A-interface */
+/* Allocate a subscriber connection for A-interface link. For Iu-CS see
+ * subscr_con_allocate_iu(). */
struct gsm_subscriber_connection *subscr_con_allocate(struct gsm_lchan *lchan)
{
struct gsm_subscriber_connection *conn;
@@ -251,6 +251,7 @@ struct gsm_subscriber_connection *subscr_con_allocate(struct gsm_lchan *lchan)
return NULL;
/* Configure the time and start it so it will be closed */
+ /* FIXME: above comment is weird in at least two ways */
conn->lchan = lchan;
conn->bts = lchan->ts->trx->bts;
lchan->conn = conn;
@@ -655,7 +656,8 @@ static void dispatch_dtap(struct gsm_subscriber_connection *conn,
}
}
-/*! \brief RSL has received a DATA INDICATION with L3 from MS */
+/*! \brief RSL has received a DATA INDICATION with L3 from MS.
+ * (for Iu-CS see gsm0408_rcvmsg_iucs()) */
int gsm0408_rcvmsg(struct msgb *msg, uint8_t link_id)
{
int rc;