aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-11-28 16:37:37 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-11-29 15:39:02 +0000
commit7ae0f9c271fd403bab96897056eb2efe87b2adec (patch)
tree43be6c4eda49fe1ce9f61adfd67225a776f83f44
parentd3e8e0cf4c89e24258acbb32b42ea4ad6ec596c4 (diff)
bsc: ts_for_each_lchan: Improve documentation
-rw-r--r--include/osmocom/bsc/gsm_data.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 4a8b7be63..2f60e4dfe 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -467,13 +467,15 @@ struct gsm_encr {
&& lchan->nr < pchan_subslots(as_pchan); \
lchan++)
-/* usage:
+/* Iterate lchans that have an FSM allocated based on current PCHAN
+ * mode set in \ref ts.
+ * usage:
* struct gsm_lchan *lchan;
* struct gsm_bts_trx_ts *ts = get_some_timeslot();
* ts_for_each_lchan(lchan, ts) {
* LOGPLCHAN(DMAIN, LOGL_DEBUG, "hello world\n");
* }
- * Iterate only those lchans that have an FSM allocated. */
+ */
#define ts_for_each_lchan(lchan, ts) ts_as_pchan_for_each_lchan(lchan, ts, (ts)->pchan_is)
enum lchan_activate_mode {