From 9dd3bf0cb4e780b54772f4abe1e2966b09f99301 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 29 Feb 2016 08:49:22 -0500 Subject: Fix malformed Abis/RSL messages with extra L3 Information field Some Abis/RSL messages such as "Release Indication" contained 3 extra bytes from an L3 Information header which should not be there according to specs in GSM 08.58 (section 8.3 "Radio link layer management messages"). Other RSL messages were affected by the same issue, except for "Establish Indication", which had already a workaround in send_rslms_dlsap. This commit fixes the issue in a generic way, removes the "Establish Indication" and fixes the test accounting for the bug, as it otherwise fails after applying the changes. Fixes: OS#1635, OS#2336 Change-Id: Ibb116214e8b1798d65a8b0917150496a3c14f344 --- tests/lapd/lapd_test.ok | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lapd/lapd_test.ok') diff --git a/tests/lapd/lapd_test.ok b/tests/lapd/lapd_test.ok index e188e27e..835ca2b3 100644 --- a/tests/lapd/lapd_test.ok +++ b/tests/lapd/lapd_test.ok @@ -7,7 +7,7 @@ BTS: Verifying CM request. Confirming Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x00 Message: [L2]> 01 73 41 [L3]> 05 24 31 03 50 18 93 08 29 47 80 00 00 00 00 80 2b 2b 2b 2b -ms_to_bts_tx_cb: BTS->MS(us) message 9 +ms_to_bts_tx_cb: BTS->MS(us) message 6 MS: Verifying incoming primitive. Sending back to MS -- cgit v1.2.3