diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2023-05-15 11:44:12 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-06-09 15:06:34 +0000 |
commit | 86efdf4ad1c57f499a8d5b73897eaf030c2b8459 (patch) | |
tree | c090cf67da30926e2f5eae49cffc749419360d4e /include/osmocom | |
parent | bfb917f56649ede041e885c2926b05ea2ac1f0aa (diff) |
Fix short L3 header of SI 10 at gsm_04_08.h
Change-Id: I1c3002716b08e31016cc6e623f8f8a413ef7916f
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/gsm/protocol/gsm_04_08.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h index f9967ecf..81e48179 100644 --- a/include/osmocom/gsm/protocol/gsm_04_08.h +++ b/include/osmocom/gsm/protocol/gsm_04_08.h @@ -1191,13 +1191,13 @@ struct gsm48_system_information_type_6 { /* Section 9.1.50 System Information type 10 (ASCI) */ struct gsm48_system_information_type_10 { #if OSMO_IS_LITTLE_ENDIAN - uint8_t rr_short_pd:1, /* < RR short PD : bit > See 3GPP TS 24.007 §11.3.2 */ + uint8_t l2_header:2, /* < short layer 2 header : bit(2) > See 3GPP TS 44.006 §6.4a */ msg_type:5, /* < message type : bit(5) > See 3GPP TS 44.018 Table 10.4.2 */ - l2_header:2; /* < short layer 2 header : bit(2) > See 3GPP TS 44.006 §6.4a */ + rr_short_pd:1; /* < RR short PD : bit > See 3GPP TS 24.007 §11.3.2 */ uint8_t rest_octets[0]; /* < SI10 Rest Octets : bit(160) > See 3GPP TS 44.018 §10.5.2.44 */ #elif OSMO_IS_BIG_ENDIAN /* auto-generated from the little endian part above (libosmocore/contrib/struct_endianness.py) */ - uint8_t l2_header:2, msg_type:5, rr_short_pd:1; + uint8_t rr_short_pd:1, msg_type:5, l2_header:2; uint8_t rest_octets[0]; #endif } __attribute__ ((packed)); |