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
lizhongxiao
OpenXG-RAN
Commits
a09728ad
Commit
a09728ad
authored
Dec 24, 2017
by
shahab SHARIAT BAGHERI
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning decreasing
parent
b1acde20
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
+1
-1
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
+1
-1
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+2
-2
No files found.
openair2/LAYER2/MAC/flexran_agent_scheduler_dlsch_ue.c
View file @
a09728ad
...
...
@@ -736,7 +736,7 @@ flexran_schedule_ue_dl_spec_default(mid_t mod_id,
}
for
(
i
=
0
;
i
<
n_active_slices
;
i
++
)
{
if
(
slice_percentage
[
i
]
<
0
){
LOG_W
(
MAC
,
"[eNB %d] frame %d subframe %d:invalid slice %d percentage %
d
. resetting to zero"
,
LOG_W
(
MAC
,
"[eNB %d] frame %d subframe %d:invalid slice %d percentage %
f
. resetting to zero"
,
mod_id
,
frame
,
subframe
,
i
,
slice_percentage
[
i
]);
slice_percentage
[
i
]
=
0
;
}
...
...
openair2/LAYER2/MAC/flexran_agent_scheduler_ulsch_ue.c
View file @
a09728ad
...
...
@@ -429,7 +429,7 @@ flexran_schedule_ue_ul_spec_default(mid_t mod_id,
}
for
(
i
=
0
;
i
<
n_active_slices_uplink
;
i
++
)
{
if
(
slice_percentage_uplink
[
i
]
<
0
){
LOG_W
(
MAC
,
"[eNB %d] frame %d subframe %d:invalid slice %d percentage %
d
. resetting to zero"
,
LOG_W
(
MAC
,
"[eNB %d] frame %d subframe %d:invalid slice %d percentage %
f
. resetting to zero"
,
mod_id
,
frame
,
subframe
,
i
,
slice_percentage_uplink
[
i
]);
slice_percentage_uplink
[
i
]
=
0
;
}
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
a09728ad
...
...
@@ -1112,7 +1112,7 @@ pdcp_run (
}
void
pdcp_add_UE
(
const
protocol_ctxt_t
*
const
ctxt_pP
){
int
i
,
ue_flag
=
1
,
ret
=-
1
;;
int
i
,
ue_flag
=
1
;
//, ret=-1; to be decied later
for
(
i
=
0
;
i
<
NUMBER_OF_UE_MAX
;
i
++
){
if
(
pdcp_enb
[
ctxt_pP
->
module_id
].
rnti
[
i
]
==
ctxt_pP
->
rnti
)
{
ue_flag
=-
1
;
...
...
@@ -1126,7 +1126,7 @@ void pdcp_add_UE(const protocol_ctxt_t* const ctxt_pP){
pdcp_enb
[
ctxt_pP
->
module_id
].
uid
[
i
]
=
i
;
pdcp_enb
[
ctxt_pP
->
module_id
].
num_ues
++
;
printf
(
"add new uid is %d %x
\n\n
"
,
i
,
ctxt_pP
->
rnti
);
ret
=
1
;
//
ret=1;
break
;
}
}
...
...
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