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
db80fec9
Commit
db80fec9
authored
Aug 18, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improving fill_DCI for TDD mode
parent
8b544157
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
openair1/SCHED/phy_mac_stub.c
openair1/SCHED/phy_mac_stub.c
+8
-12
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+4
-2
No files found.
openair1/SCHED/phy_mac_stub.c
View file @
db80fec9
...
...
@@ -75,8 +75,7 @@ void fill_dci(DCI_PDU *DCI_pdu,PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
DCI_pdu
->
Num_common_dci
=
0
;
DCI_pdu
->
Num_ue_spec_dci
=
0
;
switch
(
subframe
)
{
case
5
:
if
(
subframe
==
5
)
{
if
(
!
(
proc
->
frame_tx
&
1
)
)
// SI message on even frame only (SFN mod 2 == 0)
{
DCI_pdu
->
Num_common_dci
=
1
;
...
...
@@ -196,16 +195,16 @@ void fill_dci(DCI_PDU *DCI_pdu,PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
break
;
}
break
;
//subframe switch
}
// if ( !(proc->frame_tx&1) )
else
// No SI message on odd frame (SFN mod 2 == 1)
}
// if ( !(proc->frame_tx&1) )
else
// No SI message on odd frame (SFN mod 2 == 1)
{
/* warning: work around to send dlsch on subframe 5 odd frame !!! */
/* todo: clean up, espacially if subframe cases are added next !!! */
}
}
/*
case 6:
else if (subframe==6) {
DCI_pdu->Num_ue_spec_dci = 1;
DCI_pdu->dci_alloc[0].dci_length = sizeof_DCI2_5MHz_2A_M10PRB_TDD_t;
DCI_pdu->dci_alloc[0].L = 2;
...
...
@@ -223,11 +222,10 @@ void fill_dci(DCI_PDU *DCI_pdu,PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
DLSCH_alloc_pdu1.rv1 = 0;
DLSCH_alloc_pdu1.tpmi = 0;
memcpy((void*)&DCI_pdu->dci_alloc[0].dci_pdu[0],(void *)&DLSCH_alloc_pdu1,sizeof(DCI2_5MHz_2A_M10PRB_TDD_t));
break;
}
*/
default:
case
7
:
else
if
(
subframe_select
(
&
eNB
->
frame_parms
,
subframe
)
==
SF_DL
)
{
DCI_pdu
->
Num_ue_spec_dci
=
1
;
DCI_pdu
->
dci_alloc
[
0
].
L
=
2
;
DCI_pdu
->
dci_alloc
[
0
].
firstCCE
=
0
;
...
...
@@ -772,8 +770,7 @@ void fill_dci(DCI_PDU *DCI_pdu,PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
else
{
LOG_E
(
PHY
,
"fill_DCI: unsupported transmission mode
\n
"
);
}
break
;
//subframe switch
}
/*
case 8:
...
...
@@ -824,7 +821,6 @@ void fill_dci(DCI_PDU *DCI_pdu,PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
memcpy((void*)&DCI_pdu->dci_alloc[1].dci_pdu[0],(void *)&UL_alloc_pdu,sizeof(DCI0_5MHz_TDD_1_6_t));
*/
}
/*
DCI_pdu->nCCE = 0;
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
db80fec9
...
...
@@ -1259,8 +1259,6 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
eNB
->
CC_id
,
frame
,
subframe
);
for
(
i
=
0
;
i
<
DCI_pdu
->
Num_common_dci
+
DCI_pdu
->
Num_ue_spec_dci
;
i
++
)
dump_dci
(
fp
,
&
DCI_pdu
->
dci_alloc
[
i
]);
}
else
{
DCI_pdu
=
&
DCI_pdu_tmp
;
...
...
@@ -1277,6 +1275,10 @@ void phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
}
#endif
for
(
i
=
0
;
i
<
DCI_pdu
->
Num_common_dci
+
DCI_pdu
->
Num_ue_spec_dci
;
i
++
)
dump_dci
(
fp
,
&
DCI_pdu
->
dci_alloc
[
i
]);
}
// clear existing ulsch dci allocations before applying info from MAC (this is table
...
...
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