Commit 19551d12 authored by Sakthivel Velumani's avatar Sakthivel Velumani

Remove extern declaration from .c

parent 950becb4
......@@ -100,7 +100,6 @@ pthread_cond_t sync_cond;
pthread_mutex_t sync_mutex;
int sync_var=-1; //!< protected by mutex \ref sync_mutex.
int config_sync_var=-1;
nr_nas_msg_snssai_t nas_allowed_nssai[8];
// not used in UE
instance_t CUuniqInstance=0;
......
......@@ -59,7 +59,7 @@ extern char *baseNetAddress;
extern uint16_t NB_UE_INST;
static nr_ue_nas_t nr_ue_nas = {0};
static nr_ue_nas_t nr_ue_nas;
extern nr_nas_msg_snssai_t nas_allowed_nssai[8];
nr_nas_msg_snssai_t nas_allowed_nssai[8];
static int nas_protected_security_header_encode(
char *buffer,
......
......@@ -73,6 +73,16 @@
#define PAYLOAD_CONTAINER_LENGTH_MIN 3
#define PAYLOAD_CONTAINER_LENGTH_MAX 65537
/* List of allowed NSSAI from NAS messaging. */
typedef struct {
int sst;
int hplmn_sst;
int sd;
int hplmn_sd;
} nr_nas_msg_snssai_t;
extern nr_nas_msg_snssai_t nas_allowed_nssai[8];
/* Security Key for SA UE */
typedef struct {
uint8_t kausf[32];
......@@ -171,13 +181,6 @@ typedef struct {
fgs_sm_nas_msg_header_t sm_nas_msg_header;
} dl_nas_transport_t;
typedef struct {
int sst;
int hplmn_sst;
int sd;
int hplmn_sd;
} nr_nas_msg_snssai_t;
nr_ue_nas_t *get_ue_nas_info(module_id_t module_id);
void generateRegistrationRequest(as_nas_info_t *initialNasMsg, nr_ue_nas_t *nas);
void *nas_nrue_task(void *args_p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment