diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-11-28 16:37:37 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-11-29 15:39:02 +0000 |
commit | 7ae0f9c271fd403bab96897056eb2efe87b2adec (patch) | |
tree | 43be6c4eda49fe1ce9f61adfd67225a776f83f44 | |
parent | d3e8e0cf4c89e24258acbb32b42ea4ad6ec596c4 (diff) |
bsc: ts_for_each_lchan: Improve documentation
Change-Id: Id7c050087c14aae3f01c6d41d21cf861ff53621c
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 6 |
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 { |