Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OAI-RAN-5G-sheduler_MaxTBS
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MAQ5G-PFC
OAI-RAN-5G-sheduler_MaxTBS
Commits
a9990512
Commit
a9990512
authored
6 years ago
by
WEI-TAI CHEN
Browse files
Options
Downloads
Patches
Plain Diff
Amend L1 instant
parent
4323aa48
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
targets/RT/USER/nr-gnb.c
+1
-1
1 addition, 1 deletion
targets/RT/USER/nr-gnb.c
targets/RT/USER/nr-softmodem.c
+3
-3
3 additions, 3 deletions
targets/RT/USER/nr-softmodem.c
with
4 additions
and
4 deletions
targets/RT/USER/nr-gnb.c
+
1
−
1
View file @
a9990512
...
@@ -949,7 +949,7 @@ void init_gNB(int single_thread_flag,int wait_for_sync) {
...
@@ -949,7 +949,7 @@ void init_gNB(int single_thread_flag,int wait_for_sync) {
void
stop_gNB
(
int
nb_inst
)
{
void
stop_gNB
(
int
nb_inst
)
{
for
(
int
inst
=
0
;
inst
<
nb_
nr_
inst
;
inst
++
)
{
for
(
int
inst
=
0
;
inst
<
nb_inst
;
inst
++
)
{
LOG_I
(
PHY
,
"Killing gNB %d processing threads
\n
"
,
inst
);
LOG_I
(
PHY
,
"Killing gNB %d processing threads
\n
"
,
inst
);
kill_gNB_proc
(
inst
);
kill_gNB_proc
(
inst
);
}
}
...
...
This diff is collapsed.
Click to expand it.
targets/RT/USER/nr-softmodem.c
+
3
−
3
View file @
a9990512
...
@@ -801,7 +801,7 @@ int stop_L1L2(module_id_t gnb_id)
...
@@ -801,7 +801,7 @@ int stop_L1L2(module_id_t gnb_id)
LOG_I
(
ENB_APP
,
"calling kill_RU_proc() for instance %d
\n
"
,
gnb_id
);
LOG_I
(
ENB_APP
,
"calling kill_RU_proc() for instance %d
\n
"
,
gnb_id
);
kill_RU_proc
(
gnb_id
);
kill_RU_proc
(
gnb_id
);
oai_exit
=
0
;
oai_exit
=
0
;
for
(
int
cc_id
=
0
;
cc_id
<
RC
.
nb_CC
[
gnb_id
];
cc_id
++
)
{
for
(
int
cc_id
=
0
;
cc_id
<
RC
.
nb_
nr_
CC
[
gnb_id
];
cc_id
++
)
{
//free_transport(RC.gNB[gnb_id][cc_id]);
//free_transport(RC.gNB[gnb_id][cc_id]);
phy_free_nr_gNB
(
RC
.
gNB
[
gnb_id
][
cc_id
]);
phy_free_nr_gNB
(
RC
.
gNB
[
gnb_id
][
cc_id
]);
}
}
...
@@ -824,7 +824,7 @@ int restart_L1L2(module_id_t gnb_id)
...
@@ -824,7 +824,7 @@ int restart_L1L2(module_id_t gnb_id)
/* block threads */
/* block threads */
sync_var
=
-
1
;
sync_var
=
-
1
;
for
(
cc_id
=
0
;
cc_id
<
RC
.
nb_L1_CC
[
gnb_id
];
cc_id
++
)
{
for
(
cc_id
=
0
;
cc_id
<
RC
.
nb_
nr_
L1_CC
[
gnb_id
];
cc_id
++
)
{
RC
.
gNB
[
gnb_id
][
cc_id
]
->
configured
=
0
;
RC
.
gNB
[
gnb_id
][
cc_id
]
->
configured
=
0
;
}
}
...
@@ -1257,7 +1257,7 @@ int main( int argc, char **argv )
...
@@ -1257,7 +1257,7 @@ int main( int argc, char **argv )
/* release memory used by the RU/gNB threads (incomplete), after all
/* release memory used by the RU/gNB threads (incomplete), after all
* threads have been stopped (they partially use the same memory) */
* threads have been stopped (they partially use the same memory) */
for
(
int
inst
=
0
;
inst
<
NB_gNB_INST
;
inst
++
)
{
for
(
int
inst
=
0
;
inst
<
NB_gNB_INST
;
inst
++
)
{
for
(
int
cc_id
=
0
;
cc_id
<
RC
.
nb_CC
[
inst
];
cc_id
++
)
{
for
(
int
cc_id
=
0
;
cc_id
<
RC
.
nb_
nr_
CC
[
inst
];
cc_id
++
)
{
//free_transport(RC.gNB[inst][cc_id]);
//free_transport(RC.gNB[inst][cc_id]);
phy_free_nr_gNB
(
RC
.
gNB
[
inst
][
cc_id
]);
phy_free_nr_gNB
(
RC
.
gNB
[
inst
][
cc_id
]);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment