[AMF] Refactor AMF Region ID Handling (#3778)

- Changed amf_region_id type from uint16_t to uint8_t in context.h.
- Updated context.c to use ogs_amf_region_id() for extracting and comparing
  the region ID.
This commit is contained in:
Sukchan Lee
2025-03-16 12:22:39 +09:00
parent 9e6b86b84e
commit 10b161fbb9
2 changed files with 11 additions and 7 deletions

View File

@@ -364,7 +364,7 @@ typedef struct ogs_sbi_sepp_info_s {
typedef struct ogs_sbi_amf_info_s {
uint16_t amf_set_id;
uint16_t amf_region_id;
uint8_t amf_region_id;
int num_of_guami;
ogs_guami_t guami[OGS_MAX_NUM_OF_SERVED_GUAMI];