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
常顺宇
OpenXG-RAN
Commits
22eccb1c
Commit
22eccb1c
authored
Oct 20, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simulation ok. fixes after merge with develop
parent
b7e0f7c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
openair1/SCHED/fapi_l1.c
openair1/SCHED/fapi_l1.c
+3
-0
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+3
-1
No files found.
openair1/SCHED/fapi_l1.c
View file @
22eccb1c
...
...
@@ -107,6 +107,9 @@ void handle_nfapi_hi_dci0_hi_pdu(PHY_VARS_eNB *eNB,int frame,int subframe,eNB_rx
phich
->
config
[
phich
->
num_hi
].
hi
=
hi_dci0_config_pdu
->
hi_pdu
.
hi_pdu_rel8
.
hi_value
;
phich
->
config
[
phich
->
num_hi
].
first_rb
=
hi_dci0_config_pdu
->
hi_pdu
.
hi_pdu_rel8
.
resource_block_start
;
phich
->
config
[
phich
->
num_hi
].
n_DMRS
=
hi_dci0_config_pdu
->
hi_pdu
.
hi_pdu_rel8
.
cyclic_shift_2_for_drms
;
phich
->
num_hi
++
;
AssertFatal
(
phich
->
num_hi
<
32
,
"Maximum number of phich reached in subframe
\n
"
);
}
void
handle_nfapi_bch_pdu
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
22eccb1c
...
...
@@ -2073,7 +2073,7 @@ void phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
eNB
->
first_run_I0_measurements
);
int
min_I0
=
1000
,
max_I0
=
0
;
if
((
frame
==
0
)
&&
(
subframe
==
2
))
{
if
((
frame
==
0
)
&&
(
subframe
==
4
))
{
for
(
int
i
=
0
;
i
<
eNB
->
frame_parms
.
N_RB_UL
;
i
++
)
{
if
(
i
==
(
eNB
->
frame_parms
.
N_RB_UL
>>
1
)
-
1
)
i
+=
2
;
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
22eccb1c
...
...
@@ -3603,6 +3603,8 @@ extract_harq(module_id_t mod_idP, int CC_idP, int UE_id,
}
}
break
;
case
1
:
// Channel Selection
break
;
case
2
:
// Format 2
AssertFatal
(
1
==
0
,
"Can't do Format 2 yet in TDD
\n
"
);
break
;
...
...
@@ -3620,7 +3622,7 @@ extract_harq(module_id_t mod_idP, int CC_idP, int UE_id,
harq_pid
=
((
10
*
frameP
)
+
subframeP
+
10236
)
&
7
;
LOG_
I
(
MAC
,
"frame %d subframe %d harq_pid %d mode %d tmode[0] %d num_ack_nak %d round %d
\n
"
,
frameP
,
subframeP
,
harq_pid
,
harq_indication_fdd
->
mode
,
tmode
[
0
],
num_ack_nak
,
sched_ctl
->
round
[
CC_idP
][
harq_pid
]);
LOG_
D
(
MAC
,
"frame %d subframe %d harq_pid %d mode %d tmode[0] %d num_ack_nak %d round %d
\n
"
,
frameP
,
subframeP
,
harq_pid
,
harq_indication_fdd
->
mode
,
tmode
[
0
],
num_ack_nak
,
sched_ctl
->
round
[
CC_idP
][
harq_pid
]);
switch
(
harq_indication_fdd
->
mode
)
{
case
0
:
// Format 1a/b (10.1.2.1)
...
...
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