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
canghaiwuhen
OpenXG-RAN
Commits
f530b849
Commit
f530b849
authored
Apr 04, 2017
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding feedback format 2b in the case 2 TBs have been transmitted
parent
652e52b7
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
71 additions
and
51 deletions
+71
-51
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+1
-0
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+62
-44
openair1/SIMULATION/LTE_PHY/pucchsim.c
openair1/SIMULATION/LTE_PHY/pucchsim.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+7
-6
No files found.
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
f530b849
...
...
@@ -1959,6 +1959,7 @@ int generate_eNB_dlsch_params_from_dci(int frame,
dlsch1_harq
=
dlsch1
->
harq_processes
[
harq_pid
];
dlsch0
->
subframe_tx
[
subframe
]
=
1
;
dlsch1
->
subframe_tx
[
subframe
]
=
1
;
dlsch0
->
current_harq_pid
=
harq_pid
;
dlsch1
->
current_harq_pid
=
harq_pid
;
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
f530b849
This diff is collapsed.
Click to expand it.
openair1/SIMULATION/LTE_PHY/pucchsim.c
View file @
f530b849
...
...
@@ -362,7 +362,7 @@ int main(int argc, char **argv)
UE
->
frame_parms
.
pucch_config_common
.
nRB_CQI
=
4
;
UE
->
frame_parms
.
pucch_config_common
.
nCS_AN
=
6
;
pucch_payload
=
0
;
pucch_payload
=
taus
()
&
2
;
generate_pucch1x
(
UE
->
common_vars
.
txdataF
,
frame_parms
,
...
...
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
f530b849
...
...
@@ -868,10 +868,10 @@ schedule_ue_spec(
UE_list
->
UE_template
[
CC_id
][
UE_id
].
mcs
[
0
][
harq_pid
]
=
0
;
UE_list
->
UE_template
[
CC_id
][
UE_id
].
mcs
[
1
][
harq_pid
]
=
0
;
LOG_I
(
MAC
,
"Rank Indicator
%d
\n
"
,
eNB_UE_stats
->
rank
+
1
);
LOG_I
(
MAC
,
"Rank Indicator
%d, cqi %d, %d
\n
"
,
eNB_UE_stats
->
rank
+
1
,
eNB_UE_stats
->
DL_cqi
[
0
],
eNB_UE_stats
->
DL_cqi
[
1
]
);
// loop over all transport blocks
for
(
tb
=
0
;
tb
<
2
/*eNB_UE_stats->rank+1*/
;
tb
++
)
{
for
(
tb
=
0
;
tb
<
eNB_UE_stats
->
rank
+
1
;
tb
++
)
{
rlc_status
.
bytes_in_buffer
=
0
;
// Now check RLC information to compute number of required RBs
...
...
@@ -910,7 +910,7 @@ schedule_ue_spec(
sdu_lengths
[
0
]
=
0
;
if
(
rlc_status
.
bytes_in_buffer
>
0
)
{
// There is DCCH to transmit
LOG_
D
(
MAC
,
"[eNB %d] Frame %d, DL-DCCH->DLSCH CC_id %d, Requesting %d bytes from RLC (RRC message)
\n
"
,
LOG_
I
(
MAC
,
"[eNB %d] Frame %d, DL-DCCH->DLSCH CC_id %d, Requesting %d bytes from RLC (RRC message)
\n
"
,
module_idP
,
frameP
,
CC_id
,
TBS
-
header_len_dcch
);
sdu_lengths
[
0
]
=
mac_rlc_data_req
(
module_idP
,
...
...
@@ -1021,7 +1021,7 @@ schedule_ue_spec(
if
(
rlc_status
.
bytes_in_buffer
>
0
)
{
LOG_
D
(
MAC
,
"[eNB %d][USER-PLANE DEFAULT DRB] Frame %d : DTCH->DLSCH, Requesting %d bytes from RLC (lcid %d total hdr len %d)
\n
"
,
LOG_
I
(
MAC
,
"[eNB %d][USER-PLANE DEFAULT DRB] Frame %d : DTCH->DLSCH, Requesting %d bytes from RLC (lcid %d total hdr len %d)
\n
"
,
module_idP
,
frameP
,
TBS
-
header_len_dcch
-
sdu_length_total
-
header_len_dtch
,
lcid
,
header_len_dtch
);
sdu_lengths
[
num_sdus
]
=
mac_rlc_data_req
(
module_idP
,
rnti
,
...
...
@@ -1145,8 +1145,8 @@ schedule_ue_spec(
LOG_D
(
MAC
,
"dlsch_mcs before and after the rate matching = (%d, %d)
\n
"
,
eNB_UE_stats
->
dlsch_mcs1
,
mcs
);
//#ifdef DEBUG_eNB_SCHEDULER
LOG_I
(
MAC
,
"[eNB %d] CC_id %d Generated DLSCH header (mcs %d, TBS %d, nb_rb %d)
\n
"
,
module_idP
,
CC_id
,
mcs
,
TBS
,
nb_rb
);
LOG_I
(
MAC
,
"[eNB %d] CC_id %d Generated DLSCH header (mcs %d, TB
%d, TB
S %d, nb_rb %d)
\n
"
,
module_idP
,
CC_id
,
mcs
,
tb
,
TBS
,
nb_rb
);
// msg("[MAC][eNB ] Reminder of DLSCH with random data %d %d %d %d \n",
// TBS, sdu_length_total, offset, TBS-sdu_length_total-offset);
//#endif
...
...
@@ -1248,6 +1248,7 @@ schedule_ue_spec(
UE_list
->
UE_template
[
CC_id
][
UE_id
].
oldNDI
[
tb
][
harq_pid
]
=
1
-
UE_list
->
UE_template
[
CC_id
][
UE_id
].
oldNDI
[
tb
][
harq_pid
];
}
else
{
LOG_I
(
MAC
,
"CC_id %d Frame %d, subframeP %d, TB %d, UE %d: nothing to transmit.
\n
"
,
CC_id
,
frameP
,
subframeP
,
tb
,
UE_id
);
UE_list
->
UE_template
[
CC_id
][
UE_id
].
TB_active
[
tb
][
harq_pid
]
=
0
;
UE_list
->
UE_template
[
CC_id
][
UE_id
].
mcs
[
tb
][
harq_pid
]
=
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