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
alex037yang
OpenXG-RAN
Commits
17ab8472
Commit
17ab8472
authored
Jan 17, 2018
by
Xu Bo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused global vars of pre_scd
parent
5ca436db
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
11 deletions
+1
-11
openair2/LAYER2/MAC/extern.h
openair2/LAYER2/MAC/extern.h
+0
-4
openair2/LAYER2/MAC/vars.h
openair2/LAYER2/MAC/vars.h
+0
-4
targets/RT/USER/lte-ru.c
targets/RT/USER/lte-ru.c
+1
-3
No files found.
openair2/LAYER2/MAC/extern.h
View file @
17ab8472
...
...
@@ -113,10 +113,6 @@ extern uint8_t dlsch_ue_select_tbl_in_use;
extern
uint8_t
new_dlsch_ue_select_tbl_in_use
;
extern
boolean_t
pre_scd_activeUE
[
NUMBER_OF_UE_MAX
];
extern
eNB_UE_STATS
pre_scd_eNB_UE_stats
[
MAX_NUM_CCs
][
NUMBER_OF_UE_MAX
];
/// sorted downlink component carrier for the scheduler
extern
int
pre_scd_ordered_CCids
[
MAX_NUM_CCs
][
NUMBER_OF_UE_MAX
];
/// number of downlink active component carrier
extern
int
pre_scd_numactiveCCs
[
NUMBER_OF_UE_MAX
];
#endif
#endif //DEF_H
openair2/LAYER2/MAC/vars.h
View file @
17ab8472
...
...
@@ -157,10 +157,6 @@ uint8_t dlsch_ue_select_tbl_in_use;
uint8_t
new_dlsch_ue_select_tbl_in_use
;
boolean_t
pre_scd_activeUE
[
NUMBER_OF_UE_MAX
];
eNB_UE_STATS
pre_scd_eNB_UE_stats
[
MAX_NUM_CCs
][
NUMBER_OF_UE_MAX
];
/// sorted downlink component carrier for the scheduler
int
pre_scd_ordered_CCids
[
MAX_NUM_CCs
][
NUMBER_OF_UE_MAX
];
/// number of downlink active component carrier
int
pre_scd_numactiveCCs
[
NUMBER_OF_UE_MAX
];
#endif
#endif
targets/RT/USER/lte-ru.c
View file @
17ab8472
...
...
@@ -1555,8 +1555,6 @@ static void* ru_thread( void* param ) {
dlsch_ue_select_tbl_in_use
=
!
dlsch_ue_select_tbl_in_use
;
memcpy
(
&
pre_scd_eNB_UE_stats
,
&
RC
.
mac
[
ru
->
eNB_list
[
0
]
->
Mod_id
]
->
UE_list
.
eNB_UE_stats
,
sizeof
(
eNB_UE_STATS
)
*
MAX_NUM_CCs
*
NUMBER_OF_UE_MAX
);
memcpy
(
&
pre_scd_activeUE
,
&
RC
.
mac
[
ru
->
eNB_list
[
0
]
->
Mod_id
]
->
UE_list
.
active
,
sizeof
(
boolean_t
)
*
NUMBER_OF_UE_MAX
);
memcpy
(
&
pre_scd_ordered_CCids
,
&
RC
.
mac
[
ru
->
eNB_list
[
0
]
->
Mod_id
]
->
UE_list
.
ordered_CCids
,
sizeof
(
int
)
*
MAX_NUM_CCs
*
NUMBER_OF_UE_MAX
);
memcpy
(
&
pre_scd_numactiveCCs
,
&
RC
.
mac
[
ru
->
eNB_list
[
0
]
->
Mod_id
]
->
UE_list
.
numactiveCCs
,
sizeof
(
int
)
*
NUMBER_OF_UE_MAX
);
if
(
pthread_mutex_lock
(
&
ru
->
proc
.
mutex_pre_scd
)
!=
0
)
{
LOG_E
(
PHY
,
"[eNB] error locking proc mutex for eNB pre scd
\n
"
);
exit_fun
(
"error locking mutex_time"
);
...
...
@@ -1566,7 +1564,7 @@ static void* ru_thread( void* param ) {
if
(
ru
->
proc
.
instance_pre_scd
==
0
)
{
if
(
pthread_cond_signal
(
&
ru
->
proc
.
cond_pre_scd
)
!=
0
)
{
LOG_E
(
PHY
,
"[eNB] ERROR pthread_cond_signal for eNB
time sync
\n
"
);
LOG_E
(
PHY
,
"[eNB] ERROR pthread_cond_signal for eNB
pre scd
\n
"
);
exit_fun
(
"ERROR pthread_cond_signal cond_pre_scd"
);
}
}
else
{
...
...
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