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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
4a4636d2
Commit
4a4636d2
authored
Feb 02, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more minor changes
parent
6ae26ee6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+4
-4
openair1/SCHED/fapi_l1.c
openair1/SCHED/fapi_l1.c
+1
-1
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
4a4636d2
...
...
@@ -57,7 +57,7 @@ int find_dlsch(uint16_t rnti, PHY_VARS_eNB *eNB,find_type_t type) {
int
first_free_index
=-
1
;
AssertFatal
(
eNB
!=
NULL
,
"eNB is null
\n
"
);
for
(
int
i
=
0
;
i
<
NUMBER_OF_
UE
_MAX
;
i
++
)
{
for
(
int
i
=
0
;
i
<
NUMBER_OF_
DLSCH
_MAX
;
i
++
)
{
AssertFatal
(
eNB
->
dlsch
[
i
]
!=
NULL
,
"eNB->dlsch[%d] is null
\n
"
,
i
);
AssertFatal
(
eNB
->
dlsch
[
i
]
!=
NULL
,
"eNB->dlsch[%d][0] is null
\n
"
,
i
);
LOG_D
(
PHY
,
"searching for rnti %x : UE index %d=> harq_mask %x, rnti %x, first_free_index %d
\n
"
,
rnti
,
i
,
eNB
->
dlsch
[
i
][
0
]
->
harq_mask
,
eNB
->
dlsch
[
i
][
0
]
->
rnti
,
first_free_index
);
...
...
@@ -81,7 +81,7 @@ int find_ulsch(uint16_t rnti, PHY_VARS_eNB *eNB,find_type_t type) {
int
first_free_index
=-
1
;
AssertFatal
(
eNB
!=
NULL
,
"eNB is null
\n
"
);
for
(
int
i
=
0
;
i
<
NUMBER_OF_U
E
_MAX
;
i
++
)
{
for
(
int
i
=
0
;
i
<
NUMBER_OF_U
LSCH
_MAX
;
i
++
)
{
AssertFatal
(
eNB
->
ulsch
[
i
]
!=
NULL
,
"eNB->ulsch[%d] is null
\n
"
,
i
);
if
((
eNB
->
ulsch
[
i
]
->
harq_mask
>
0
)
&&
...
...
@@ -299,7 +299,7 @@ void fill_dci_and_dlsch(PHY_VARS_eNB *eNB,
UE_id
=
find_dlsch
(
rel8
->
rnti
,
eNB
,
SEARCH_EXIST_OR_FREE
);
if
(
(
UE_id
<
0
)
||
(
UE_id
>=
NUMBER_OF_
UE
_MAX
)
)
{
if
(
(
UE_id
<
0
)
||
(
UE_id
>=
NUMBER_OF_
DLSCH
_MAX
)
)
{
LOG_E
(
PHY
,
"illegal UE_id found!!! rnti %04x UE_id %d
\n
"
,
rel8
->
rnti
,
UE_id
);
return
;
}
...
...
@@ -1548,7 +1548,7 @@ void fill_mdci_and_dlsch(PHY_VARS_eNB *eNB,L1_rxtx_proc_t *proc,mDCI_ALLOC_t *dc
dci_alloc
->
i0
=
rel13
->
initial_transmission_sf_io
;
UE_id
=
find_dlsch
(
rel13
->
rnti
,
eNB
,
SEARCH_EXIST_OR_FREE
);
AssertFatal
(
UE_id
!=
-
1
,
"no free or exiting dlsch_context
\n
"
);
AssertFatal
(
UE_id
<
NUMBER_OF_
UE_MAX
,
"returned UE_id %d >= %d(NUMBER_OF_UE_MAX)
\n
"
,
UE_id
,
NUMBER_OF_UE
_MAX
);
AssertFatal
(
UE_id
<
NUMBER_OF_
DLSCH_MAX
,
"returned UE_id %d >= %d(NUMBER_OF_DLSCH_MAX)
\n
"
,
UE_id
,
NUMBER_OF_DLSCH
_MAX
);
dlsch0
=
eNB
->
dlsch
[
UE_id
][
0
];
dlsch0_harq
=
dlsch0
->
harq_processes
[
rel13
->
harq_process
];
dci_alloc
->
ra_flag
=
0
;
...
...
openair1/SCHED/fapi_l1.c
View file @
4a4636d2
...
...
@@ -815,7 +815,7 @@ void schedule_response(Sched_Rsp_t *Sched_INFO, L1_rxtx_proc_t *proc) {
// clear DCI allocation maps for new subframe
if
(
NFAPI_MODE
!=
NFAPI_MODE_VNF
)
for
(
volatile
int
i
=
0
;
i
<
NUMBER_OF_ULSCH_MAX
;
i
++
)
{
for
(
int
i
=
0
;
i
<
NUMBER_OF_ULSCH_MAX
;
i
++
)
{
if
(
eNB
->
ulsch
[
i
]
!=
NULL
)
{
ulsch_harq
=
eNB
->
ulsch
[
i
]
->
harq_processes
[
harq_pid
];
ulsch_harq
->
dci_alloc
=
0
;
...
...
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