gsm_44_318: add protocol discriminator enum and data[0] array to hdr

This commit is contained in:
Harald Welte 2012-06-23 21:54:46 +02:00
parent 4498a0ac85
commit 53c815b7ae
1 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,13 @@
/* Definitions according to 3GPP TS 44.318 6.8.0 Release 6 */
/* Table 11.1.1.2.1: Protocol Discriminator */
enum gan_pdisc {
GA_PDISC_RC = 0,
GA_PDISC_CSR = 1,
GA_PDISC_PSR = 2,
};
/* Table 11.1.1.4.1: Message types for URR */
enum gan_msg_type {
@ -148,6 +155,7 @@ struct gan_rc_csr_hdr {
uint8_t pdisc:4,
skip_ind:4;
uint8_t msg_type;
uint8_t data[0];
} __attribute__((packed));
#endif /* PROTO_GSM_44_318_H */