aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-04-13 19:06:23 +0300
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-04-20 15:18:32 +0300
commitb1d5b8639c8a7894e265a08ec614cf65ee35a956 (patch)
tree1bf77bb4a5235765644aaf7134cababeb48bc884
parentosmo-bts-trx: amr_loop: allow upgrading codec mode > 0 (diff)
downloadOsmoBTS-b1d5b8639c8a7894e265a08ec614cf65ee35a956.tar.xz
OsmoBTS-b1d5b8639c8a7894e265a08ec614cf65ee35a956.zip
osmo-bts-trx: amr_loop: log if AMR mode remains unchanged
Change-Id: I0272d11cfaad0e1c13d2858b3bc61d6527898018 Related: SYS#5917, OS#4984
-rw-r--r--src/osmo-bts-trx/amr_loop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/amr_loop.c b/src/osmo-bts-trx/amr_loop.c
index 6afb5f3e..1771d7a3 100644
--- a/src/osmo-bts-trx/amr_loop.c
+++ b/src/osmo-bts-trx/amr_loop.c
@@ -105,6 +105,9 @@ void trx_loop_amr_input(struct l1sched_chan_state *chan_state,
return;
}
}
+
+ LOGPLCHAN(lchan, DLOOP, LOGL_DEBUG, "Keeping the current AMR codec "
+ "mode[%u]=%u\n", mi, cfg->mode[mi].mode);
}
void trx_loop_amr_set(struct l1sched_chan_state *chan_state, int loop)