Commit fc203186 authored by cucengineer's avatar cucengineer

Style "to do"

parent d0ead8e1
...@@ -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");
......
...@@ -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";
......
...@@ -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_ */
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