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
a33d8050
Commit
a33d8050
authored
Mar 11, 2016
by
gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more logging for CSABA
parent
9915db73
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
7 deletions
+26
-7
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+9
-0
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+1
-0
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+2
-2
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+14
-5
No files found.
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
a33d8050
...
...
@@ -3416,6 +3416,15 @@ void phy_procedures_eNB_RX(const unsigned char sched_subframe,PHY_VARS_eNB *phy_
phy_vars_eNB
->
eNB_UE_stats
[
i
].
ulsch_errors
[
harq_pid
]
++
;
phy_vars_eNB
->
eNB_UE_stats
[
i
].
ulsch_consecutive_errors
++
;
//dump_ulsch(phy_vars_eNB, sched_subframe, i);
// indicate error to MAC
mac_xface
->
rx_sdu
(
phy_vars_eNB
->
Mod_id
,
phy_vars_eNB
->
CC_id
,
frame
,
subframe
,
phy_vars_eNB
->
ulsch_eNB
[
i
]
->
rnti
,
NULL
,
0
,
harq_pid
,
&
phy_vars_eNB
->
ulsch_eNB
[
i
]
->
Msg3_flag
);
}
}
}
// ulsch in error
...
...
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
a33d8050
...
...
@@ -125,6 +125,7 @@ void eNB_dlsch_ulsch_scheduler(module_id_t module_idP,uint8_t cooperation_flag,
mac_xface
->
get_eNB_UE_stats
(
module_idP
,
CC_id
,
rnti
));
next_i
=
UE_list
->
next
[
i
];
PHY_vars_eNB_g
[
module_idP
][
CC_id
]
->
pusch_stats_bsr
[
i
][(
frameP
*
10
)
+
subframeP
]
=-
63
;
// increment this, it is cleared when we receive an sdu
eNB_mac_inst
[
module_idP
].
UE_list
.
UE_sched_ctrl
[
i
].
ul_inactivity_timer
++
;
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
a33d8050
...
...
@@ -706,8 +706,8 @@ uint8_t UE_is_to_be_scheduled(module_id_t module_idP,int CC_id,uint8_t UE_id)
(
UE_template
->
bsr_info
[
LCGID1
]
>
0
)
||
(
UE_template
->
bsr_info
[
LCGID2
]
>
0
)
||
(
UE_template
->
bsr_info
[
LCGID3
]
>
0
)
||
(
UE_template
->
ul_SR
>
0
)
||
((
UE_sched_ctl
->
ul_inactivity_timer
>
100
)
&&
(
UE_sched_ctl
->
ul_scheduled
>
0
)))
{
// uplink scheduling request
(
UE_template
->
ul_SR
>
0
)
||
// uplink scheduling request
((
UE_sched_ctl
->
ul_inactivity_timer
>
100
)
&&
(
UE_sched_ctl
->
ul_scheduled
!=
0xFF
)))
{
LOG_D
(
MAC
,
"[eNB %d][PUSCH] UE %d/%x should be scheduled
\n
"
,
module_idP
,
UE_id
,
UE_RNTI
(
module_idP
,
UE_id
));
return
(
1
);
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
a33d8050
...
...
@@ -107,6 +107,11 @@ void rx_sdu(
LOG_D
(
MAC
,
"[eNB %d] CC_id %d Received ULSCH sdu from PHY (rnti %x, UE_id %d), parsing header
\n
"
,
enb_mod_idP
,
CC_idP
,
rntiP
,
UE_id
);
if
(
sduP
==
NULL
)
{
// we've got an error after N rounds
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_scheduled
&=
(
~
(
1
<<
harq_pidP
));
return
;
}
if
(
UE_id
!=-
1
)
{
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_inactivity_timer
=
0
;
UE_list
->
UE_sched_ctrl
[
UE_id
].
ul_failure_timer
=
0
;
...
...
@@ -117,8 +122,12 @@ void rx_sdu(
mac_eNB_rrc_ul_in_sync
(
enb_mod_idP
,
CC_idP
,
frameP
,
subframeP
,
UE_RNTI
(
enb_mod_idP
,
UE_id
));
}
}
payload_ptr
=
parse_ulsch_header
(
sduP
,
&
num_ce
,
&
num_sdu
,
rx_ces
,
rx_lcids
,
rx_lengths
,
sdu_lenP
);
eNB
->
eNB_stats
[
CC_idP
].
ulsch_bytes_rx
=
sdu_lenP
;
eNB
->
eNB_stats
[
CC_idP
].
total_ulsch_bytes_rx
+=
sdu_lenP
;
eNB
->
eNB_stats
[
CC_idP
].
total_ulsch_pdus_rx
+=
1
;
...
...
@@ -195,7 +204,7 @@ void rx_sdu(
if
(
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
ul_buffer_creation_time
[
lcgid
]
==
0
)
{
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
ul_buffer_creation_time
[
lcgid
]
=
frameP
;
}
if
(
mac_eNB_get_rrc_status
(
enb_mod_idP
,
UE_RNTI
(
enb_mod_idP
,
UE_id
))
<
RRC_CONNECTED
)
LOG_I
(
MAC
,
"[eNB %d] CC_id %d MAC CE_LCID %d : ul_total_buffer = %d (lcg increment %d)
\n
"
,
enb_mod_idP
,
CC_idP
,
rx_ces
[
i
],
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
ul_total_buffer
,
UE_list
->
UE_template
[
CC_idP
][
UE_id
].
ul_buffer_info
[
lcgid
]);
...
...
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