fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/33110 )
Change subject: modem: do not send RTS.ind if we got PTCCH/D ......................................................................
modem: do not send RTS.ind if we got PTCCH/D
Change-Id: Idcdf56de7fc6279d8b942f3670ecdc6f88c3dfd1 Related: OS#5500 --- M src/host/layer23/src/modem/rlcmac.c 1 file changed, 14 insertions(+), 0 deletions(-)
Approvals: laforge: Looks good to me, but someone else must approve fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/src/host/layer23/src/modem/rlcmac.c b/src/host/layer23/src/modem/rlcmac.c index 161effd..fcd2b2e 100644 --- a/src/host/layer23/src/modem/rlcmac.c +++ b/src/host/layer23/src/modem/rlcmac.c @@ -195,6 +195,10 @@ }; osmo_gprs_rlcmac_prim_lower_up(prim);
+ /* Do not send RTS.ind if we got PTCCH/D */ + if (fn % 104 == 12) + return 0; + /* Every fn % 13 == 12 we have either a PTCCH or an IDLE slot, thus * every fn % 13 == 8 we add 5 frames, or 4 frames othrwise. The * resulting value is first fn of the next block. */