diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-05-17 10:54:13 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-05-17 10:54:13 +0200 |
commit | 1897218be4a13dd8a671bb655c20831ce7af9962 (patch) | |
tree | 41d37d872b7313c627dd01ebf1ee614b6f72a683 /src/host/layer23/include/osmocom/bb/common | |
parent | e5ba8e160362c67ef2b687fe55dcd6a255886852 (diff) |
sim: Introduce EF.LOCIGPRS file structure
Change-Id: Idf93b4ece0a966754f8caacc665038c321b752bb
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/sim.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/sim.h b/src/host/layer23/include/osmocom/bb/common/sim.h index 149830aa..8d934d6f 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 @@ enum gsm1111_ef_loci_lupd_status { 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; |