mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 03:19:31 +00:00
[MME] Add NAS Emergency Number List item definition
This commit is contained in:
parent
db7776c807
commit
d3336b8039
1 changed files with 17 additions and 0 deletions
|
|
@ -606,6 +606,23 @@ ED3(uint8_t type:4;,
|
|||
uint8_t update_needed:1;)
|
||||
} __attribute__ ((packed)) ogs_nas_ue_radio_capability_information_update_needed_t;
|
||||
|
||||
/* 9.9.3.37 Emergency Number List
|
||||
* See subclause 10.5.3.13 and 10.5.4.33 in 3GPP TS 24.008 [13]. */
|
||||
#define OGS_NAS_SERVICE_CATEGORY_POLICE 0x01
|
||||
#define OGS_NAS_SERVICE_CATEGORY_AMBULANCE 0x02
|
||||
#define OGS_NAS_SERVICE_CATEGORY_FIRE_BRIGARDE 0x04
|
||||
#define OGS_NAS_SERVICE_CATEGORY_MARINE_GUARD 0x08
|
||||
#define OGS_NAS_SERVICE_CATEGORY_MOUNTAIN_RESCUE 0x10
|
||||
#define OGS_NAS_SERVICE_CATEGORY_MANUAL_ECALL 0x20
|
||||
#define OGS_NAS_SERVICE_CATEGORY_AUTOMATICALLY_ECALL 0x40
|
||||
#define OGS_NAS_MAX_EMERGENCY_NUMBER_LIST_LEN 48
|
||||
typedef struct ogs_nas_emergency_number_item_s {
|
||||
uint8_t length;
|
||||
ED2(uint8_t spare:3;,
|
||||
uint8_t service_category:5;)
|
||||
uint8_t digits[0];
|
||||
} __attribute__ ((packed)) ogs_nas_emergency_number_item_t;
|
||||
|
||||
/* 9.9.3.38 CLI
|
||||
* O TLV 3-14
|
||||
* The coding of the CLI value part is the same as for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue