diff options
| author | Harald Welte <laforge@gnumonks.org> | 2012-06-23 21:54:46 +0200 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2012-06-23 21:54:46 +0200 | 
| commit | 53c815b7ae03199651bcc235610f351f61beb486 (patch) | |
| tree | 82259037d9abaffecbcb07886b79011c72dbd6dc /include/osmocom | |
| parent | 4498a0ac85fcf50212717a7310465dc7ad575917 (diff) | |
gsm_44_318: add protocol discriminator enum and data[0] array to hdr
Diffstat (limited to 'include/osmocom')
| -rw-r--r-- | include/osmocom/gsm/protocol/gsm_44_318.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_44_318.h b/include/osmocom/gsm/protocol/gsm_44_318.h index 812215d6..6e26906b 100644 --- a/include/osmocom/gsm/protocol/gsm_44_318.h +++ b/include/osmocom/gsm/protocol/gsm_44_318.h @@ -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 */  | 
