bsc: ts_for_each_lchan: Improve documentation
Change-Id: Id7c050087c14aae3f01c6d41d21cf861ff53621c
This commit is contained in:
parent
d3e8e0cf4c
commit
7ae0f9c271
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue