path: root/tests
diff options
authorHarald Welte <laforge@gnumonks.org>2018-04-19 16:11:14 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-19 15:09:32 +0000
commit542301b0673f77c774c310ec7e2d568a7d515e25 (patch)
tree364d78c49f675cc9d1837b9a7b8c328f627ab57b /tests
parent15753e93d2eec19e08168e6d049abaa94fbb8d19 (diff)
RSL/LAPDm: Not all RLL message are "transparent"
3GPP TS 48.058 has a very clear definition of which messages are "transparent" and hence have the T-bit == 1. This is *not* just all RLL messages, but basically only RLL_DATA.{ind,req} and RLL_UNITDATA.{ind,req}. All other messages are non-transparent. Change-Id: I9f83654af189d818563d799bf623325b7fee8e70 Closes: OS#3188
Diffstat (limited to 'tests')
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/lapd/lapd_test.c b/tests/lapd/lapd_test.c
index 3f15afe2..8a4e9319 100644
--- a/tests/lapd/lapd_test.c
+++ b/tests/lapd/lapd_test.c
@@ -356,7 +356,6 @@ static int ms_to_bts_tx_cb(struct msgb *msg, struct lapdm_entity *le, void *_ctx
/* verify the header */
memset(&hdr, 0, sizeof(hdr));
rsl_init_rll_hdr(&hdr, RSL_MT_EST_CONF);
- hdr.c.msg_discr |= ABIS_RSL_MDISC_TRANSP;
OSMO_ASSERT(memcmp(msg->data, &hdr, sizeof(hdr)) == 0);
} else if (state->ms_read == 1) {
printf("MS: Verifying incoming MM message: %d\n", msgb_l3len(msg));