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
zzha zzha
OpenXG-RAN
Commits
3dabb544
Commit
3dabb544
authored
Dec 21, 2016
by
Wilson W.K. Thong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing thread busy crash: disabled timing consuming NAS logs
see issue #165
parent
210cbd60
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
common/utils/itti/intertask_interface.c
common/utils/itti/intertask_interface.c
+2
-2
openair2/RRC/LITE/rrc_UE.c
openair2/RRC/LITE/rrc_UE.c
+1
-1
openair3/NAS/COMMON/API/NETWORK/nas_message.c
openair3/NAS/COMMON/API/NETWORK/nas_message.c
+4
-0
No files found.
common/utils/itti/intertask_interface.c
View file @
3dabb544
...
@@ -81,13 +81,13 @@
...
@@ -81,13 +81,13 @@
#define ITTI_DEBUG_ISSUES (1<<5)
#define ITTI_DEBUG_ISSUES (1<<5)
#define ITTI_DEBUG_MP_STATISTICS (1<<6)
#define ITTI_DEBUG_MP_STATISTICS (1<<6)
const
int
itti_debug
=
ITTI_DEBUG_ISSUES
|
ITTI_DEBUG_MP_STATISTICS
;
const
int
itti_debug
=
(
ITTI_DEBUG_ISSUES
|
ITTI_DEBUG_MP_STATISTICS
)
;
/* Don't flush if using RTAI */
/* Don't flush if using RTAI */
#ifdef RTAI
#ifdef RTAI
# define ITTI_DEBUG(m, x, args...) do { if ((m) & itti_debug) rt_log_debug (x, ##args); } while(0);
# define ITTI_DEBUG(m, x, args...) do { if ((m) & itti_debug) rt_log_debug (x, ##args); } while(0);
#else
#else
# define ITTI_DEBUG(m, x, args...) do { if ((m) & itti_debug)
fprintf(stdout, "[ITTI][D]"x, ##args); fflush (stdout);
} while(0);
# define ITTI_DEBUG(m, x, args...) do { if ((m) & itti_debug)
{fprintf(stdout, "[ITTI][D]"x, ##args); fflush (stdout);}
} while(0);
#endif
#endif
#define ITTI_ERROR(x, args...) do { fprintf(stdout, "[ITTI][E]"x, ##args); fflush (stdout); } while(0);
#define ITTI_ERROR(x, args...) do { fprintf(stdout, "[ITTI][E]"x, ##args); fflush (stdout); } while(0);
...
...
openair2/RRC/LITE/rrc_UE.c
View file @
3dabb544
...
@@ -98,7 +98,7 @@ extern UE_MAC_INST *UE_mac_inst;
...
@@ -98,7 +98,7 @@ extern UE_MAC_INST *UE_mac_inst;
extern
void
*
bigphys_malloc
(
int
);
extern
void
*
bigphys_malloc
(
int
);
#endif
#endif
#define XER_PRINT
//
#define XER_PRINT
extern
int8_t
dB_fixed2
(
uint32_t
x
,
uint32_t
y
);
extern
int8_t
dB_fixed2
(
uint32_t
x
,
uint32_t
y
);
...
...
openair3/NAS/COMMON/API/NETWORK/nas_message.c
View file @
3dabb544
...
@@ -53,6 +53,8 @@ Description Defines the layer 3 messages supported by the NAS sublayer
...
@@ -53,6 +53,8 @@ Description Defines the layer 3 messages supported by the NAS sublayer
#include "secu_defs.h"
#include "secu_defs.h"
#include "emmData.h"
#include "emmData.h"
//#define DEBUG_NAS_MESSAGE
/****************************************************************************/
/****************************************************************************/
/**************** E X T E R N A L D E F I N I T I O N S ****************/
/**************** E X T E R N A L D E F I N I T I O N S ****************/
/****************************************************************************/
/****************************************************************************/
...
@@ -1312,6 +1314,7 @@ static uint32_t _nas_message_get_mac(
...
@@ -1312,6 +1314,7 @@ static uint32_t _nas_message_get_mac(
(
direction
==
SECU_DIRECTION_UPLINK
)
?
emm_security_context
->
ul_count
.
seq_num
:
emm_security_context
->
dl_count
.
seq_num
,
(
direction
==
SECU_DIRECTION_UPLINK
)
?
emm_security_context
->
ul_count
.
seq_num
:
emm_security_context
->
dl_count
.
seq_num
,
count
);
count
);
#ifdef DEBUG_NAS_MESSAGE
fprintf
(
stderr
,
"
\n
[NAS]
\t
"
);
fprintf
(
stderr
,
"
\n
[NAS]
\t
"
);
for
(
i
=
0
;
i
<
length
;
i
++
)
{
for
(
i
=
0
;
i
<
length
;
i
++
)
{
...
@@ -1331,6 +1334,7 @@ static uint32_t _nas_message_get_mac(
...
@@ -1331,6 +1334,7 @@ static uint32_t _nas_message_get_mac(
fprintf
(
stderr
,
"
\n
"
);
fprintf
(
stderr
,
"
\n
"
);
fflush
(
stderr
);
fflush
(
stderr
);
#endif
stream_cipher
.
key
=
emm_security_context
->
knas_int
.
value
;
stream_cipher
.
key
=
emm_security_context
->
knas_int
.
value
;
stream_cipher
.
key_length
=
AUTH_KNAS_INT_SIZE
;
stream_cipher
.
key_length
=
AUTH_KNAS_INT_SIZE
;
...
...
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