Attention is currently required from: fixeria, dexter.
laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/27777 )

Change subject: osmo-bts-trx: amr_loop: trigger the loop unconditionally
......................................................................


Patch Set 1:

(1 comment)

File src/osmo-bts-trx/sched_lchan_tchf.c:

https://gerrit.osmocom.org/c/osmo-bts/+/27777/comment/8cc5bec2_3372520f
PS1, Line 462:                          if (chan_state->codec[i] == cmr_codec)
> To me it reads as: if the decoded CMR value is present in the list of allowed 
> codec modes, then we d […]
well, it first checks _if_ the CMR (sent in DL, but relevant to UL) is part of 
the active set.  And if it is, then we communicate it to the MS as CMR in DL.

The problem is now that the loop is disabled all the time, rather than only if 
a new CMR (differing from previous CMR) is sent.  So the condition is wrong.   
The comment even says "new request".  But it in fact checks whether it is any 
valid CMR request, not just a new request.

I would change the predicate to 'if (cmr != chan_state->dl_cmr)'



--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/27777
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I09b649973d4269c4082a4fafa493c37825f95a9c
Gerrit-Change-Number: 27777
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: fixeria <[email protected]>
Gerrit-Attention: dexter <[email protected]>
Gerrit-Comment-Date: Thu, 14 Apr 2022 15:14:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <[email protected]>
Gerrit-MessageType: comment

Reply via email to