<p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/25296">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/osmo-bts/+/25296/1/src/osmo-bts-trx/sched_lchan_tchf.c">File src/osmo-bts-trx/sched_lchan_tchf.c:</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/osmo-bts/+/25296/1/src/osmo-bts-trx/sched_lchan_tchf.c@470">Patch Set #1, Line 470:</a> <code style="font-family:monospace,monospace">                           LOGL1SB(DL1P, LOGL_NOTICE, l1ts, br, "Codec (FT = %d) "</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Shouldn't we keep sending with the older type until we can change it? I'd expect the received to acc […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I don't understand this code in general, even the current one.   We as an RTP capable BTS cannot influence at all what codec mode is transmitted in downlink.  We may receive a CMR from the MS, and we pass that on in the CMR header of the uplink RTP frames.  It is up to the sender/encoder of that RTP to then start generating the proper requested codec mode and start sending that.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The BTS is not generating/encoding the AMR, it merely relays AMR frames from Abis/RTP to Um and vice-versa.  On the Um interface we only have either CMR or CMI [depending on FN] and we can only signal a subset of up to four codec modes from the set.  On the RTP side every frame has CMI (== FT) and CMR, and we can express any of the AMR modes.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Can anyone explain to me what is happening here in this code and why?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/25296">change 25296</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/c/osmo-bts/+/25296"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I94a934a6b3b397b4cd0e9da3577325de58814335 </div>
<div style="display:none"> Gerrit-Change-Number: 25296 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 31 Aug 2021 19:35:02 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>