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
f7dfffe1
Commit
f7dfffe1
authored
Dec 20, 2023
by
luis_pereira87
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete ra_timer
parent
c37974ca
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
25 deletions
+0
-25
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+0
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+0
-22
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+0
-1
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
+0
-1
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
f7dfffe1
...
@@ -1884,7 +1884,6 @@ static void nr_check_Msg4_Ack(module_id_t module_id, int CC_id, frame_t frame, s
...
@@ -1884,7 +1884,6 @@ static void nr_check_Msg4_Ack(module_id_t module_id, int CC_id, frame_t frame, s
if
(
harq
->
round
==
0
)
{
if
(
harq
->
round
==
0
)
{
if
(
UE
->
Msg4_ACKed
)
{
if
(
UE
->
Msg4_ACKed
)
{
LOG_A
(
NR_MAC
,
"(UE RNTI 0x%04x) Received Ack of RA-Msg4. CBRA procedure succeeded!
\n
"
,
ra
->
rnti
);
LOG_A
(
NR_MAC
,
"(UE RNTI 0x%04x) Received Ack of RA-Msg4. CBRA procedure succeeded!
\n
"
,
ra
->
rnti
);
UE
->
ra_timer
=
0
;
}
else
{
}
else
{
LOG_I
(
NR_MAC
,
"%4d.%2d UE %04x: RA Procedure failed at Msg4!
\n
"
,
frame
,
slot
,
ra
->
rnti
);
LOG_I
(
NR_MAC
,
"%4d.%2d UE %04x: RA Procedure failed at Msg4!
\n
"
,
frame
,
slot
,
ra
->
rnti
);
}
}
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
f7dfffe1
...
@@ -2401,10 +2401,6 @@ NR_UE_info_t *add_new_nr_ue(gNB_MAC_INST *nr_mac, rnti_t rntiP, NR_CellGroupConf
...
@@ -2401,10 +2401,6 @@ NR_UE_info_t *add_new_nr_ue(gNB_MAC_INST *nr_mac, rnti_t rntiP, NR_CellGroupConf
/* Set default BWPs */
/* Set default BWPs */
AssertFatal
(
UE
->
sc_info
.
n_ul_bwp
<=
NR_MAX_NUM_BWP
,
"uplinkBWP_ToAddModList has %d BWP!
\n
"
,
UE
->
sc_info
.
n_ul_bwp
);
AssertFatal
(
UE
->
sc_info
.
n_ul_bwp
<=
NR_MAX_NUM_BWP
,
"uplinkBWP_ToAddModList has %d BWP!
\n
"
,
UE
->
sc_info
.
n_ul_bwp
);
if
(
get_softmodem_params
()
->
phy_test
==
0
)
{
UE
->
ra_timer
=
12000
<<
UE
->
current_DL_BWP
.
scs
;
// 12000 ms is arbitrary and found to be a good timeout from experiments
}
/* get Number of HARQ processes for this UE */
/* get Number of HARQ processes for this UE */
// pdsch_servingcellconfig == NULL in SA -> will create default (8) number of HARQ processes
// pdsch_servingcellconfig == NULL in SA -> will create default (8) number of HARQ processes
create_dl_harq_list
(
sched_ctrl
,
&
UE
->
sc_info
);
create_dl_harq_list
(
sched_ctrl
,
&
UE
->
sc_info
);
...
@@ -2959,24 +2955,6 @@ void nr_mac_update_timers(module_id_t module_id,
...
@@ -2959,24 +2955,6 @@ void nr_mac_update_timers(module_id_t module_id,
if
(
sched_ctrl
->
rrc_processing_timer
==
0
)
if
(
sched_ctrl
->
rrc_processing_timer
==
0
)
nr_mac_apply_cellgroup
(
mac
,
UE
,
frame
,
slot
);
nr_mac_apply_cellgroup
(
mac
,
UE
,
frame
,
slot
);
}
}
// RA timer
if
(
UE
->
ra_timer
>
0
)
{
UE
->
ra_timer
--
;
if
(
UE
->
ra_timer
==
0
)
{
const
rnti_t
rnti
=
UE
->
rnti
;
LOG_W
(
NR_MAC
,
"Removing UE %04x because RA timer expired
\n
"
,
rnti
);
mac_remove_nr_ue
(
mac
,
rnti
);
NR_COMMON_channels_t
*
cc
=
&
mac
->
common_channels
[
0
];
for
(
int
i
=
0
;
i
<
NR_NB_RA_PROC_MAX
;
i
++
)
{
if
(
cc
->
ra
[
i
].
rnti
==
rnti
)
{
nr_clear_ra_proc
(
module_id
,
0
,
frame
,
&
cc
->
ra
[
i
]);
}
}
// don't skip a UE, current UE does not exist anymore
UE
--
;
}
}
}
}
}
}
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
f7dfffe1
...
@@ -765,7 +765,6 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
...
@@ -765,7 +765,6 @@ static void _nr_rx_sdu(const module_id_t gnb_mod_idP,
nr_mac_reset_ul_failure
(
UE_scheduling_control
);
nr_mac_reset_ul_failure
(
UE_scheduling_control
);
reset_dl_harq_list
(
UE_scheduling_control
);
reset_dl_harq_list
(
UE_scheduling_control
);
reset_ul_harq_list
(
UE_scheduling_control
);
reset_ul_harq_list
(
UE_scheduling_control
);
UE_msg3_stage
->
ra_timer
=
0
;
nr_clear_ra_proc
(
gnb_mod_idP
,
CC_idP
,
frameP
,
ra
);
nr_clear_ra_proc
(
gnb_mod_idP
,
CC_idP
,
frameP
,
ra
);
process_CellGroup
(
ra
->
CellGroup
,
UE_msg3_stage
);
process_CellGroup
(
ra
->
CellGroup
,
UE_msg3_stage
);
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
View file @
f7dfffe1
...
@@ -712,7 +712,6 @@ typedef struct {
...
@@ -712,7 +712,6 @@ typedef struct {
// UE selected beam index
// UE selected beam index
uint8_t
UE_beam_index
;
uint8_t
UE_beam_index
;
bool
Msg4_ACKed
;
bool
Msg4_ACKed
;
uint32_t
ra_timer
;
float
ul_thr_ue
;
float
ul_thr_ue
;
float
dl_thr_ue
;
float
dl_thr_ue
;
long
pdsch_HARQ_ACK_Codebook
;
long
pdsch_HARQ_ACK_Codebook
;
...
...
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