<p><a href="https://gerrit.osmocom.org/12625">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12625/8/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/12625/8/include/osmocom/bsc/gsm_data.h@104">Patch Set #8, Line 104:</a> <code style="font-family:monospace,monospace"> bool full_rate;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Just wondering if it wouldn't be worth directly using GSM_LCHAN_xxx constant in there rather than fu […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">We ignore the MS channel preference on purpose and do "late assignment" instead.<br>In osmo-nitb, we used to accept the TCH/F request from the MS and assign that,<br>while on the MT side the CN's preference would be stronger, which could end up TCH/H (for dyn TS).<br>Hence we would actively allow mismatching TCH kinds.<br>Now, we always look at the MSC preferences during TCH/* Assignment.<br>It is ok if we assign a TCH/F for SDCCH use at first, but it only really makes sense if there are no SDCCH left.<br>We now do that. Recently there have been fixes for that behavior.<br>So this channel_mode_and_rate is really only about TCH/F or TCH/H, no additional channel types should ever become relevant.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Even if BTS has only TCH/H pchan configured, an MS will ask for TCH, F preferred.<br>I'm not sure what's the benefit there, maybe that a phone already knows it is going to make a call<br>and attempts to pre-empt the need to re-assign from SDCCH to TCH?<br>It might make sense to revisit that once we properly support Channel Mode Modify commands and late RTP addition.<br>Even then, the choice for SDCCH or TCH will happen before this code path; this here is for voice assignment.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12625">change 12625</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/12625"/><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: I5239e05c1cfbcb8af28f43373a58fa6c2d216c51 </div>
<div style="display:none"> Gerrit-Change-Number: 12625 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Assignee: Neels Hofmeyr <nhofmeyr@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: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-CC: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 07 Feb 2019 16:05:41 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>