Add guami_t to ngran_types.h

* refactor NGAP and RRC code to use one common GUAMI type
  instead of two identical ones
This commit is contained in:
Guido Casati
2025-05-08 10:04:36 +02:00
parent 002fa0050f
commit 4c179270c2
6 changed files with 25 additions and 45 deletions
+10
View File
@@ -35,6 +35,16 @@ typedef struct nssai_s {
uint32_t sd;
} nssai_t;
// Globally Unique AMF Identifier
typedef struct nr_guami_s {
uint16_t mcc;
uint16_t mnc;
uint8_t mnc_len;
uint8_t amf_region_id;
uint16_t amf_set_id;
uint8_t amf_pointer;
} nr_guami_t;
typedef enum { NON_DYNAMIC, DYNAMIC } fiveQI_t;
#endif