<p>Patch set 2:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +1</span></p><p><a href="https://gerrit.osmocom.org/11980">View Change</a></p><p>5 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11980/2//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11980/2//COMMIT_MSG@10">Patch Set #2, Line 10:</a> <code style="font-family:monospace,monospace">to document its (intrincate) logic around it and its possible uses.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">intricate</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/11980/2/include/osmocom/bsc/gsm_data.h">File include/osmocom/bsc/gsm_data.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11980/2/include/osmocom/bsc/gsm_data.h@482">Patch Set #2, Line 482:</a> <code style="font-family:monospace,monospace"> * on PCHAN \ref ts (dynamic) configuration.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">(is that doxygen notation in a non-doxygen comment in a project that doesn't generate doxygen api docs?)</p><p style="white-space: pre-wrap; word-wrap: break-word;">Can you rephrase "based on PCHAN ts (dynamic) config"?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11980/2/include/osmocom/bsc/gsm_data.h@488">Patch Set #2, Line 488:</a> <code style="font-family:monospace,monospace"> * of \ref lchan.</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Maybe rather...</p><p style="white-space: pre-wrap; word-wrap: break-word;">"Iterate all lchan instances set up by this timeslot type, including those lchans currently disabled (e.g. due to dynamic timeslot in switchover). Compare ts_for_each_lchan(), which iterates only the enabled lchans."</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11980/2/include/osmocom/bsc/gsm_data.h@490">Patch Set #2, Line 490:</a> <code style="font-family:monospace,monospace"> * configuration PDCH (no lchans) to TCH_F (1 lchan), where pchan_is is still</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">To name all possibilities, you'd have to name both dyn TS kinds, all TCH targets, as well as TCH/F_TCH/H_PDCH in unused mode when GPRS is disabled, or ones switching between TCH/F and TCH/H, ...</p><p style="white-space: pre-wrap; word-wrap: break-word;">So maybe rather start with "For example,..."</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/11980/2/include/osmocom/bsc/gsm_data.h@494">Patch Set #2, Line 494:</a> <code style="font-family:monospace,monospace">#define ts_for_each_lchan_slot(lchan, ts) ts_as_pchan_for_each_lchan(lchan, ts, (ts)->pchan_on_init)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">IMHO "slot" is a general term not describing what sets this macro apart from ts_for_each_lchan(). Can't think of a better name either... ts_for_each_potential_lchan()??</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/11980">change 11980</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11980"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ia1d4bdbfca6b9719f54ee609b6bfadf7f3a4bb43 </div>
<div style="display:none"> Gerrit-Change-Number: 11980 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 29 Nov 2018 18:48:02 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: Yes </div>