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?
A TS can be GSM_PCHAN_TCH_F_PDCH; those are the only ones for which we
send a PDCH ACT message.
We send a PDCH ACT message
- during init (CHANNEL OML's state changed to enabled -> send PDCH ACT),
- and upon channel release ack when pchan == GSM_PCHAN_TCH_F_PDCH.
So the question is, when we receive a channel release ack, could that be
the PDCH release and we switch PDCH right back on by accident? No, because
we only receive a chan rel ack when the *TCH/F* is being released.
That is because the PDCH release is initiated "internally" from the PDCH
DEACT, and thus this condition in common/rsl.c rsl_tx_rf_rel_ack() catches
on, which existed before dyn PDCH:
if (lchan->rel_act_kind != LCHAN_REL_ACT_RSL) {
LOGP(DRSL, LOGL_NOTICE, "%s not sending REL ACK\n",
gsm_lchan_name(lchan));
return 0;
}
In rsl_rx_rf_chan_rel() the rel_act_kind is set to LCHAN_REL_ACT_RSL, but
not in the rsl_rx_dyn_pdch().
This is analogous to the ip.access way -- the ip.access nanobts replies to
a PDCH DEACT with a PDCH DEACT ACK and doesn't send a separate channel
release ack.
Maybe we could set rel_act_kind to some new LCHAN_REL_ACT_IPAC_DYN_PDCH
for clarity? (But we shouldn't actually send a release ack, to stay
compatible.)
Even though it works as-is, we should indeed add another flag check:
- We do check the flags that no ACT/DEACT is already pending;
- And we do send a PDCH DEACT only if ts->flags & TS_F_PDCH_ACTIVE;
- But we would send a PDCH ACT despite ts->flags & TS_F_PDCH_ACTIVE.
This should never happen, but it would make sense to ensure that.
~Neels
Hello community!
I'm currently exploring the inspection of BSC/RNC<->MSC signaling traffic. At this stage, I'm focusing on dissecting SCCP connection-oriented (CO) signaling carried over SCTP (with multi-homing and multi-streaming) and M3UA. I'd appreciate any insights or suggestions.
To uniquely identify individual SCCP virtual connections in a traffic dump, I'm using parameters like SLR/DLR (from CR, CC, DF1, RLSD, and RLC messages), along with lower-layer protocol details: SCTP ports, stream ID, M3UA OPC/DPC, and SLS. However, this parameter set doesn't always guarantee uniqueness—some SCCP connections appear to share the same values, leading to mix-ups, such as DTAP CC and SMS messages being interleaved.
What additional indicators could I use to reliably distinguish SCCP connections? Or how do MSCs and BSCs typically differentiate and route them?
Hi
Sorry (perhaps it is not the right diffusion list) but We work with Osmocom with happyness and, after upgrading Debian packages AMD64, we encounter this error, and We can see that a bug has been opened.
Do you know how to correct this ? in the configuration file ? or Do we have to wait for a package upgrade ?
Many thanks in advance
Best regards
Yann
5338 OsmoTRX Bug New Normal LMSDevice.cpp:261 Power parameters requested before Tx Frequency
was set! Providing band 900 by default...
03/11/2025 07:48 PM
Hello. So I'm trying to grasp all of these concepts. Is there a setup that
doesn't require wifi to use for a cellular network after building setup? I
want to use this without internet. Is that covered on any of your
materials? Could you point me in the right direction? Would that be RAN?
Hi,
I built libosmocore head (commit
84dcf73625513af44e711b2c99e21ee2c33b7eff at that time) on Fedora 43
(rawhide) and on s390x 4 tests failed. Iit's s390x running in qemu on
x86_64, but it also fails on native s390 - there I saw failures of
tests 25 26 69 90 (unfortunately I don't have the log from the native
run). So probably more tests can coredump, to see all the problematic
tests, it would probably require running through the valgrind. I am
reporting it according to the provided instructions
thanks & regards
Jaroslav