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
canghaiwuhen
OpenXG-RAN
Commits
c44152e6
Commit
c44152e6
authored
Feb 13, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more warnings. Note: UE emulator stub is broken after merge.
parent
6c6915b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
14 deletions
+8
-14
openair2/LAYER2/MAC/mac_extern.h
openair2/LAYER2/MAC/mac_extern.h
+1
-1
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
+1
-1
openair2/RRC/LTE/rrc_extern.h
openair2/RRC/LTE/rrc_extern.h
+3
-10
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+3
-2
No files found.
openair2/LAYER2/MAC/mac_extern.h
View file @
c44152e6
...
@@ -67,7 +67,7 @@ extern int NB_eNB_INST;
...
@@ -67,7 +67,7 @@ extern int NB_eNB_INST;
extern
int
NB_UE_INST
;
extern
int
NB_UE_INST
;
extern
int
NB_THREAD_INST
;
extern
int
NB_THREAD_INST
;
extern
int
NB_RN_INST
;
extern
int
NB_RN_INST
;
extern
unsigned
shor
t
NODE_ID
[
1
];
extern
in
t
NODE_ID
[
1
];
extern
int
cqi_to_mcs
[
16
];
extern
int
cqi_to_mcs
[
16
];
...
...
openair2/RRC/LTE/MESSAGES/asn1_msg.c
View file @
c44152e6
...
@@ -98,7 +98,7 @@ typedef struct xer_sprint_string_s {
...
@@ -98,7 +98,7 @@ typedef struct xer_sprint_string_s {
size_t
string_index
;
size_t
string_index
;
}
xer_sprint_string_t
;
}
xer_sprint_string_t
;
extern
unsigned
char
NB_eNB_INST
;
extern
int
NB_eNB_INST
;
extern
RAN_CONTEXT_t
RC
;
extern
RAN_CONTEXT_t
RC
;
...
...
openair2/RRC/LTE/rrc_extern.h
View file @
c44152e6
...
@@ -44,16 +44,9 @@ extern LTE_LogicalChannelConfig_t SRB1_logicalChannelConfig_defaultValue;
...
@@ -44,16 +44,9 @@ extern LTE_LogicalChannelConfig_t SRB1_logicalChannelConfig_defaultValue;
extern
LTE_LogicalChannelConfig_t
SRB2_logicalChannelConfig_defaultValue
;
extern
LTE_LogicalChannelConfig_t
SRB2_logicalChannelConfig_defaultValue
;
#ifndef PHY_EMUL
extern
int
NB_eNB_INST
;
#ifndef PHYSIM
extern
int
NB_UE_INST
;
//#define NB_INST 1
extern
int
NODE_ID
[
1
];
#else
extern
unsigned
char
NB_INST
;
#endif
extern
unsigned
char
NB_eNB_INST
;
extern
uint16_t
NB_UE_INST
;
extern
unsigned
short
NODE_ID
[
1
];
#endif
//CONSTANTS
//CONSTANTS
...
...
targets/RT/USER/lte-ue.c
View file @
c44152e6
...
@@ -1240,10 +1240,11 @@ static void *UE_phy_stub_single_thread_rxn_txnp4(void *arg) {
...
@@ -1240,10 +1240,11 @@ static void *UE_phy_stub_single_thread_rxn_txnp4(void *arg) {
uint16_t
ue_index
=
0
;
uint16_t
ue_index
=
0
;
uint16_t
ue_num
=
NB_UE_INST
/
NB_THREAD_INST
+
((
NB_UE_INST
%
NB_THREAD_INST
>
ue_thread_id
)
?
1
:
0
);
uint16_t
ue_num
=
NB_UE_INST
/
NB_THREAD_INST
+
((
NB_UE_INST
%
NB_THREAD_INST
>
ue_thread_id
)
?
1
:
0
);
module_id_t
ue_Mod_id
;
module_id_t
ue_Mod_id
;
PHY_VARS_UE
*
UE
;
//
= rtd->UE;
PHY_VARS_UE
*
UE
=
rtd
->
UE
;
int
ret
;
int
ret
;
uint8_t
end_flag
;
uint8_t
end_flag
;
proc
=
&
PHY_vars_UE_g
[
0
][
0
]
->
proc
.
proc_rxtx
[
0
];
AssertFatal
(
UE
!=
NULL
,
"UE context is null
\n
"
);
proc
=
&
UE
->
proc
.
proc_rxtx
[
0
];
phy_stub_ticking
->
num_single_thread
[
ue_thread_id
]
=
-
1
;
phy_stub_ticking
->
num_single_thread
[
ue_thread_id
]
=
-
1
;
if
(
ue_thread_id
==
0
){
if
(
ue_thread_id
==
0
){
...
...
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