[PATCH] Fix IE lengths in the sgsn code

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Alexander Chemeris alexander.chemeris at gmail.com
Thu Jul 4 06:05:51 UTC 2013


On Thu, Jul 4, 2013 at 9:35 AM, Holger Hans Peter Freyther
<holger at freyther.de> wrote:
> On Thu, Jul 04, 2013 at 12:54:17AM +0400, Alexander Chemeris wrote:
>> > "MS Radio Access capability ... LV 6 - 52"
>> >    -- Table 9.4.1
>
>> > So if I remove one byte for the length, then the Capa can still be 51
>> > bytes? How do you end up with 50?
>>
>> I based my calculations on the "Figure 10.5.128a/3GPP TS 24.008 MS
>> Radio Access Capability information element". I.e. I assumed that 52
>> octets are in case of TLV, i.e. including IEI and Length octets. I'm
>> not sure why do they include IEI for Type 4 (LV) IEs - probably for
>> consistency.
>
> But do you agree that if Table 9.4.1 claims that LV take up to 52
> bytes that V can be either 51 or the table is wrong?

Which version of the document are you looking at?
I have "3GPP TS 24.008 V12.2.0 (2013-06)" and in the Table 9.4.1 it
claims Length to be "6 - 51", which makes exactly 50 octets max without L octet.

--
Regards,
Alexander Chemeris.
CEO, Fairwaves LLC / ООО УмРадио
http://fairwaves.ru




More information about the OpenBSC mailing list