Pau Espin Pedrol has submitted this change and it was merged. (
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(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
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: merged
Gerrit-Change-Id: Id7c050087c14aae3f01c6d41d21cf861ff53621c
Gerrit-Change-Number: 11979
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>