Change in osmo-bsc[master]: bsc: ts_for_each_lchan: Improve documentation

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Wed Nov 28 16:16:37 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11979


Change subject: bsc: ts_for_each_lchan: Improve documentation
......................................................................

bsc: ts_for_each_lchan: Improve documentation

Change-Id: Id7c050087c14aae3f01c6d41d21cf861ff53621c
---
M include/osmocom/bsc/gsm_data.h
1 file changed, 4 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/79/11979/1

diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 4a8b7be..2f60e4d 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -467,13 +467,15 @@
 	     && 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 {

-- 
To view, visit https://gerrit.osmocom.org/11979
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id7c050087c14aae3f01c6d41d21cf861ff53621c
Gerrit-Change-Number: 11979
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181128/78e2979a/attachment.htm>


More information about the gerrit-log mailing list