diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-12-06 19:05:10 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-12-23 10:22:25 +0000 |
commit | 719c6a9135ae5b67e24c2d1b92d347c7ab13d545 (patch) | |
tree | af0b3d5e011e2326dcf9a5cdd854b3968559a733 /src/osmo-bts-trx/loops.c | |
parent | 8564ececa58741d9117c175d5b4324403e9579b6 (diff) |
rsl: Send PDCH ACT NACK if TCH chan is still active
Fix recent commit which broke TTCN3 BTS_tests
TC_dyn_ipa_pdch_tchf_act_pdch_act_nack.
Prior to the breaking commit, logic was still not good, because
1- It didn't return after sending the NACK
2- It sent a NACK in all cases, while for PDCH DEACT we want to force
its deactivation. Going through tests it can be seen that indeed it
can deactivate it in that case:
rsl.c:2206 (bts=0,trx=0,ts=3,pchan=TCH/F_PDCH as PDCH) Request to PDCH DEACT, but lchan is still in state ACTIVE
...
rsl.c:2103 (bts=0,trx=0,ts=3,ss=0) Tx PDCH DEACT ACK
Fixes: 133a3d96dc07ebda4dfc7899dab9c0d0c80c9fea ("rsl: Avoid sending ipa PDCH DEACT NACK followed by ACK")
Change-Id: I6d6d12aec10c801fe55012ca6e58d0bc8755b15d
Diffstat (limited to 'src/osmo-bts-trx/loops.c')
0 files changed, 0 insertions, 0 deletions