Add support for SI2quater messages
diff mbox

Message ID 1457695444-27754-1-git-send-email-msuraev@sysmocom.de
State Accepted, archived
Headers show

Commit Message

Max March 11, 2016, 11:24 a.m. UTC
From: Max <msuraev@sysmocom.de>

Add basic data structure for System information Type 2quater.
---
 include/osmocom/gsm/protocol/gsm_04_08.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Harald Welte March 11, 2016, 3:06 p.m. UTC | #1
On Fri, Mar 11, 2016 at 12:24:04PM +0100, msuraev@sysmocom.de wrote:
> Add basic data structure for System information Type 2quater.

thanks, merged.

Patch
diff mbox

diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index 9fcdddc..eefaf2b 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -514,6 +514,12 @@  struct gsm48_system_information_type_2ter {
 	uint8_t rest_octets[0];
 } __attribute__ ((packed));
 
+/* Section 9.1.34a System information Type 2quater */
+struct gsm48_system_information_type_2quater {
+	struct gsm48_system_information_type_header header;
+	uint8_t rest_octets[0];
+} __attribute__ ((packed));
+
 /* Section 9.1.35 System information Type 3 */
 struct gsm48_system_information_type_3 {
 	struct gsm48_system_information_type_header header;
@@ -792,6 +798,7 @@  struct gsm48_rr_status {
 
 #define GSM48_MT_RR_SYSINFO_2bis	0x02
 #define GSM48_MT_RR_SYSINFO_2ter	0x03
+#define GSM48_MT_RR_SYSINFO_2quater	0x07
 #define GSM48_MT_RR_SYSINFO_5bis	0x05
 #define GSM48_MT_RR_SYSINFO_5ter	0x06
 #define GSM48_MT_RR_SYSINFO_9		0x04