pespin has uploaded this change for review.
sim: Introduce EF.LOCIGPRS file structure
Change-Id: Idf93b4ece0a966754f8caacc665038c321b752bb
---
M src/host/layer23/include/osmocom/bb/common/sim.h
1 file changed, 26 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/42/32742/1
diff --git a/src/host/layer23/include/osmocom/bb/common/sim.h b/src/host/layer23/include/osmocom/bb/common/sim.h
index 149830a..8d934d6 100644
--- a/src/host/layer23/include/osmocom/bb/common/sim.h
+++ b/src/host/layer23/include/osmocom/bb/common/sim.h
@@ -298,6 +298,23 @@
GSM1111_EF_LOCI_LUPD_ST_RESERVED = 7,
};
+/* Section 10.3.33 */
+struct gsm1111_ef_locigprs {
+ uint32_t ptmsi;
+ uint16_t ptmsi_sig_hi;
+ uint8_t ptmsi_sig_lo;
+ struct gsm48_ra_id rai;
+ uint8_t rau_status; /* enum gsm1111_ef_locigprs_rau_status */
+} __attribute__ ((packed));
+
+enum gsm1111_ef_locigprs_rau_status {
+ GSM1111_EF_LOCIGPRS_RAU_ST_UPDATED = 0,
+ GSM1111_EF_LOCIGPRS_RAU_ST_NOT_UPDATED = 1,
+ GSM1111_EF_LOCIGPRS_RAU_ST_PLMN_NOT_ALLOWED = 2,
+ GSM1111_EF_LOCIGPRS_RAU_ST_RA_NOT_ALLOWED = 3,
+ GSM1111_EF_LOCIGPRS_RAU_ST_RESERVED = 7,
+};
+
/* Section 10.5.1 */
struct gsm1111_ef_adn {
uint8_t len_bcd;
To view, visit change 32742. To unsubscribe, or for help writing mail filters, visit settings.