diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-06-24 19:46:37 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-24 19:46:37 +0200 |
commit | 727399461d019ec49c619a6f9b3fc46f9bb354bd (patch) | |
tree | 817ff8cc908095a36657483b1f657f067aae8781 /include | |
parent | 2b1ab863e103635ffa6986f31fb50b5c38e7a801 (diff) |
Fix bit-endianness in UMA/GAN definitions
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/gsm/protocol/gsm_44_318.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_44_318.h b/include/osmocom/gsm/protocol/gsm_44_318.h index e5f85d57..ab42ec10 100644 --- a/include/osmocom/gsm/protocol/gsm_44_318.h +++ b/include/osmocom/gsm/protocol/gsm_44_318.h @@ -89,7 +89,7 @@ enum gan_iei { GA_IE_REG_REJ_CAUSE = 21, GA_IE_TU3906_TIMER = 22, GA_IE_TU3910_TIMER = 23, - GA_IE_TU3902_TIMER = 24, + GA_IE_TU3920_TIMER = 24, GA_IE_L3_MSG = 26, GA_IE_CHAN_MODE = 27, GA_IE_MS_CLASSMARK2 = 28, @@ -160,6 +160,14 @@ struct gan_rc_csr_hdr { /* 11.2.14.1: GAN Control Channel Description IE */ struct gan_cch_desc_ie { + uint8_t spare:1, + ecmc:1, + nmo:2, + gprs:1, + dtm:1, + att:1, + mscr:1; +#if 0 uint8_t mscr:1, att:1, dtm:1, @@ -167,14 +175,23 @@ struct gan_cch_desc_ie { nmo:2, ecmc:1, spare:1; - uint16_t t3212; +#endif + uint8_t t3212; uint8_t rac; + uint8_t sgsnr:1, + ecmp:1, + re:1, + pfcfm:1, + tgecs:2, + spare2:2; +#if 0 uint8_t spare2:2, tgecs:2, pfcfm:1, re:1, ecmp:1, sgsnr:1; +#endif uint8_t access_class[2]; } __attribute__((packed)); #endif /* PROTO_GSM_44_318_H */ |