Activate + interpret many more DIAG LOG messages for GPRS
diff --git a/src/diag_wcdma.h b/src/diag_wcdma.h
new file mode 100644
index 0000000..af4562d
--- /dev/null
+++ b/src/diag_wcdma.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <stdint.h>
+
+enum diag_umts_rrc_chtype {
+ DIAG_UMTS_RRC_CHT_UL_CCCH = 0,
+ DIAG_UMTS_RRC_CHT_DL_DCCH = 1,
+ DIAG_UMTS_RRC_CHT_DL_CCCH = 2,
+ DIAG_UMTS_RRC_CHT_DL_BCCH = 3,
+ DIAG_UMTS_RRC_CHT_DL_BCCH_BCH = 4,
+ DIAG_UMTS_RRC_CHT_DL_BCCH_FACH = 5,
+ DIAG_UMTS_RRC_CHT_DL_PCCH = 6,
+};
+
+/* LOG_WCDMA_SIGNALING_MSG_C */
+struct diag_umts_rrc_msg {
+ uint8_t chan_type;
+ uint8_t rb_id;
+ uint16_t length;
+ uint8_t msg[0];
+} __attribute__((packed));
+