Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
fc203186
Commit
fc203186
authored
Dec 07, 2020
by
cucengineer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style "to do"
parent
d0ead8e1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+2
-2
openair3/NAS/NR_UE/nas_nrue_task.c
openair3/NAS/NR_UE/nas_nrue_task.c
+4
-4
openair3/NAS/NR_UE/nas_nrue_task.h
openair3/NAS/NR_UE/nas_nrue_task.h
+2
-2
No files found.
executables/nr-uesoftmodem.c
View file @
fc203186
...
@@ -615,7 +615,7 @@ void *rrc_enb_process_msg(void *notUsed) {
...
@@ -615,7 +615,7 @@ void *rrc_enb_process_msg(void *notUsed) {
return
NULL
;
return
NULL
;
}
}
extern
void
tesths
(
void
);
//
CUC
:test
extern
void
tesths
(
void
);
//
FINISH
:test
int
main
(
int
argc
,
char
**
argv
)
{
int
main
(
int
argc
,
char
**
argv
)
{
//uint8_t beta_ACK=0,beta_RI=0,beta_CQI=2;
//uint8_t beta_ACK=0,beta_RI=0,beta_CQI=2;
...
@@ -678,7 +678,7 @@ int main( int argc, char **argv ) {
...
@@ -678,7 +678,7 @@ int main( int argc, char **argv ) {
#endif
#endif
*/
*/
printf
(
"witcomm111witcomm:
\n
"
);
//
CUC
:test
printf
(
"witcomm111witcomm:
\n
"
);
//
FINISH
:test
tesths
();
tesths
();
printf
(
"witcomm111witcomm
\n
"
);
printf
(
"witcomm111witcomm
\n
"
);
...
...
openair3/NAS/NR_UE/nas_nrue_task.c
View file @
fc203186
...
@@ -86,7 +86,7 @@ void *nas_nrue_task(void *args_p)
...
@@ -86,7 +86,7 @@ void *nas_nrue_task(void *args_p)
LOG_I
(
NAS
,
"[UE %d] Received %s
\n
"
,
Mod_id
,
ITTI_MSG_NAME
(
msg_p
));
LOG_I
(
NAS
,
"[UE %d] Received %s
\n
"
,
Mod_id
,
ITTI_MSG_NAME
(
msg_p
));
break
;
break
;
case
NAS_CELL_SELECTION_CNF
:
//
CUC:
NAS_CELL_SELECTION_CNF √
case
NAS_CELL_SELECTION_CNF
:
//
FINISH:
NAS_CELL_SELECTION_CNF √
LOG_I
(
NAS
,
"[UE %d] Received %s: errCode %u, cellID %u, tac %u
\n
"
,
Mod_id
,
ITTI_MSG_NAME
(
msg_p
),
LOG_I
(
NAS
,
"[UE %d] Received %s: errCode %u, cellID %u, tac %u
\n
"
,
Mod_id
,
ITTI_MSG_NAME
(
msg_p
),
NAS_CELL_SELECTION_CNF
(
msg_p
).
errCode
,
NAS_CELL_SELECTION_CNF
(
msg_p
).
cellID
,
NAS_CELL_SELECTION_CNF
(
msg_p
).
tac
);
NAS_CELL_SELECTION_CNF
(
msg_p
).
errCode
,
NAS_CELL_SELECTION_CNF
(
msg_p
).
cellID
,
NAS_CELL_SELECTION_CNF
(
msg_p
).
tac
);
as_stmsi_t
s_tmsi
=
{
0
,
0
};
as_stmsi_t
s_tmsi
=
{
0
,
0
};
...
@@ -128,7 +128,7 @@ void *nas_nrue_task(void *args_p)
...
@@ -128,7 +128,7 @@ void *nas_nrue_task(void *args_p)
break
;
break
;
case
NAS_DOWNLINK_DATA_IND
:
//
CUC:
NAS_DOWNLINK_DATA_IND √
case
NAS_DOWNLINK_DATA_IND
:
//
FINISH:
NAS_DOWNLINK_DATA_IND √
LOG_I
(
NAS
,
"[UE %d] Received %s: UEid %u, length %u
\n
"
,
Mod_id
,
ITTI_MSG_NAME
(
msg_p
),
LOG_I
(
NAS
,
"[UE %d] Received %s: UEid %u, length %u
\n
"
,
Mod_id
,
ITTI_MSG_NAME
(
msg_p
),
NAS_DOWNLINK_DATA_IND
(
msg_p
).
UEid
,
NAS_DOWNLINK_DATA_IND
(
msg_p
).
nasMsg
.
length
);
NAS_DOWNLINK_DATA_IND
(
msg_p
).
UEid
,
NAS_DOWNLINK_DATA_IND
(
msg_p
).
nasMsg
.
length
);
nr_nas_proc_dl_transfer_ind
(
NAS_DOWNLINK_DATA_IND
(
msg_p
).
nasMsg
.
data
,
NAS_DOWNLINK_DATA_IND
(
msg_p
).
nasMsg
.
length
);
//handle dl info NAS mesaages.
nr_nas_proc_dl_transfer_ind
(
NAS_DOWNLINK_DATA_IND
(
msg_p
).
nasMsg
.
data
,
NAS_DOWNLINK_DATA_IND
(
msg_p
).
nasMsg
.
length
);
//handle dl info NAS mesaages.
...
@@ -187,7 +187,7 @@ void nr_nas_proc_dl_transfer_ind (Byte_t *data, uint32_t len) {
...
@@ -187,7 +187,7 @@ void nr_nas_proc_dl_transfer_ind (Byte_t *data, uint32_t len) {
}
}
// //****************************** //
CUC
:test
// //****************************** //
FINISH
:test
// printf("decodeaaadecode:");
// printf("decodeaaadecode:");
// for (int i = 0; i < len; i++)
// for (int i = 0; i < len; i++)
// {
// {
...
@@ -224,7 +224,7 @@ int string2ByteArray(char* input,uint8_t* output)
...
@@ -224,7 +224,7 @@ int string2ByteArray(char* input,uint8_t* output)
return
i
;
return
i
;
}
}
void
tesths
(
void
)
//
CUC
:test
void
tesths
(
void
)
//
FINISH
:test
{
{
printf
(
"Authentication:
\n
"
);
printf
(
"Authentication:
\n
"
);
char
Authenticationrequest
[]
=
"7e005601020000217d003b4a2e3bb80403de19020f57b16a2010583f0d352eb89001539b2cb2cbf1da5c"
;
char
Authenticationrequest
[]
=
"7e005601020000217d003b4a2e3bb80403de19020f57b16a2010583f0d352eb89001539b2cb2cbf1da5c"
;
...
...
openair3/NAS/NR_UE/nas_nrue_task.h
View file @
fc203186
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "openairinterface5g_limits.h"
#include "openairinterface5g_limits.h"
//
CUC:
add nas_nrue_task.h √
//
FINISH:
add nas_nrue_task.h √
#include "platform_types.h"
#include "platform_types.h"
#include "nr_nas_itti_messaging.h"
#include "nr_nas_itti_messaging.h"
#include "nas_log.h"
#include "nas_log.h"
...
@@ -41,7 +41,7 @@ void *nas_nrue_task(void *args_p);
...
@@ -41,7 +41,7 @@ void *nas_nrue_task(void *args_p);
void
nr_nas_proc_dl_transfer_ind
(
Byte_t
*
data
,
uint32_t
len
);
void
nr_nas_proc_dl_transfer_ind
(
Byte_t
*
data
,
uint32_t
len
);
int
decodeNasMsg
(
MM_msg
*
msg
,
uint8_t
*
buffer
,
uint32_t
len
);
int
decodeNasMsg
(
MM_msg
*
msg
,
uint8_t
*
buffer
,
uint32_t
len
);
int
string2ByteArray
(
char
*
input
,
uint8_t
*
output
);
//
CUC
:test
int
string2ByteArray
(
char
*
input
,
uint8_t
*
output
);
//
FINISH
:test
void
tesths
(
void
);
void
tesths
(
void
);
#endif
/* NAS_TASK_H_ */
#endif
/* NAS_TASK_H_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment