On Wed, Jun 29, 2016 at 07:37:33PM +0200, Harald Welte wrote:
Hi Neels,
On Tue, Jun 28, 2016 at 03:25:48PM +0200, Neels Hofmeyr wrote:
On Tue, Jun 28, 2016 at 10:05:28AM +0200, Harald Welte wrote:
[translated from german] is it certain that we switch a channel to PDCH only when gprs mode != none?
I'm not sure if your response covers the question I raised.
I see, I mistook the 'gprs mode' for the internal TS flag whether GPRS is currently active on a TCH_F_PDCH, but you mean the VTY config item.
What if you have a openbsc.cfg with a bts that has 'gprs mode none' but still has a timeslot in GSM_PCHAN_TCH_F_PDCH mode? The intended operation in that case is that it will be treated as a pure TCH/F, and no attempts to switch to PDCH are made.
Indeed, we would switch to PDCH anyway. Aside from it being meaningless to have GSM_PCHAN_TCH_F_PDCH time slots with 'gprs mode none', I agree that we shouldn't send PDCH ACT in that case.
It's easy to work around: just configure TS as GSM_PCHAN_TCH_F. So I'm not putting this high up on the todo list. http://osmocom.org/issues/1765
~Neels