[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/.

Holger Hans Peter Freyther holger at freyther.de
Thu Jul 4 05:35:17 UTC 2013


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?


holger




More information about the OpenBSC mailing list