Change global variable to local
This commit is contained in:
@@ -59,7 +59,7 @@ uint32_t registration_request_len;
|
|||||||
extern char *baseNetAddress;
|
extern char *baseNetAddress;
|
||||||
extern uint16_t NB_UE_INST;
|
extern uint16_t NB_UE_INST;
|
||||||
static nr_ue_nas_t nr_ue_nas = {0};
|
static nr_ue_nas_t nr_ue_nas = {0};
|
||||||
nr_nas_msg_snssai_t nas_allowed_nssai[8];
|
static nr_nas_msg_snssai_t nas_allowed_nssai[8];
|
||||||
|
|
||||||
static int nas_protected_security_header_encode(
|
static int nas_protected_security_header_encode(
|
||||||
char *buffer,
|
char *buffer,
|
||||||
|
|||||||
@@ -81,8 +81,6 @@ typedef struct {
|
|||||||
int hplmn_sd;
|
int hplmn_sd;
|
||||||
} nr_nas_msg_snssai_t;
|
} nr_nas_msg_snssai_t;
|
||||||
|
|
||||||
extern nr_nas_msg_snssai_t nas_allowed_nssai[8];
|
|
||||||
|
|
||||||
/* Security Key for SA UE */
|
/* Security Key for SA UE */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t kausf[32];
|
uint8_t kausf[32];
|
||||||
|
|||||||
Reference in New Issue
Block a user