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
wangjie
OpenXG-RAN
Commits
bb0108a5
Commit
bb0108a5
authored
Aug 05, 2020
by
heshanyun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue about cplane and uplane for default mode caused by merge
parent
5fe2d298
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+0
-2
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+4
-0
No files found.
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
bb0108a5
...
@@ -815,7 +815,6 @@ schedule_ue_spec(module_id_t module_idP,
...
@@ -815,7 +815,6 @@ schedule_ue_spec(module_id_t module_idP,
cc
[
CC_id
].
p_eNB
==
1
?
1
:
2
,
// transmission mode
cc
[
CC_id
].
p_eNB
==
1
?
1
:
2
,
// transmission mode
0
,
//number of PRBs treated as one subband, not used here
0
,
//number of PRBs treated as one subband, not used here
0
);
// number of beamforming vectors, not used here
0
);
// number of beamforming vectors, not used here
dl_req
->
number_pdu
++
;
LOG_D
(
MAC
,
"Filled NFAPI configuration for DCI/DLSCH %d, retransmission round %d
\n
"
,
LOG_D
(
MAC
,
"Filled NFAPI configuration for DCI/DLSCH %d, retransmission round %d
\n
"
,
eNB
->
pdu_index
[
CC_id
],
eNB
->
pdu_index
[
CC_id
],
round_DL
);
round_DL
);
...
@@ -1210,7 +1209,6 @@ schedule_ue_spec(module_id_t module_idP,
...
@@ -1210,7 +1209,6 @@ schedule_ue_spec(module_id_t module_idP,
cc
[
CC_id
].
p_eNB
==
1
?
1
:
2
,
// transmission mode
cc
[
CC_id
].
p_eNB
==
1
?
1
:
2
,
// transmission mode
0
,
//number of PRBs treated as one subband, not used here
0
,
//number of PRBs treated as one subband, not used here
0
);
// number of beamforming vectors, not used here
0
);
// number of beamforming vectors, not used here
dl_req
->
number_pdu
++
;
eNB
->
TX_req
[
CC_id
].
sfn_sf
=
fill_nfapi_tx_req
(
&
eNB
->
TX_req
[
CC_id
].
tx_request_body
,
eNB
->
TX_req
[
CC_id
].
sfn_sf
=
fill_nfapi_tx_req
(
&
eNB
->
TX_req
[
CC_id
].
tx_request_body
,
(
frameP
*
10
)
+
subframeP
,
(
frameP
*
10
)
+
subframeP
,
TBS
,
TBS
,
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
bb0108a5
...
@@ -542,6 +542,8 @@ rx_sdu(const module_id_t enb_mod_idP,
...
@@ -542,6 +542,8 @@ rx_sdu(const module_id_t enb_mod_idP,
UE_scheduling_control
->
ul_out_of_sync
=
0
;
UE_scheduling_control
->
ul_out_of_sync
=
0
;
mac_eNB_rrc_ul_in_sync
(
enb_mod_idP
,
CC_idP
,
frameP
,
subframeP
,
old_rnti
);
mac_eNB_rrc_ul_in_sync
(
enb_mod_idP
,
CC_idP
,
frameP
,
subframeP
,
old_rnti
);
}
}
UE_template_ptr
->
ul_SR
=
1
;
UE_scheduling_control
->
crnti_reconfigurationcomplete_flag
=
1
;
}
else
if
(
ret
==
-
2
)
{
}
else
if
(
ret
==
-
2
)
{
LOG_E
(
MAC
,
"mac_rrc_data_ind failed, ret == -2
\n
"
);
LOG_E
(
MAC
,
"mac_rrc_data_ind failed, ret == -2
\n
"
);
...
@@ -1376,6 +1378,7 @@ schedule_ulsch_rnti(module_id_t module_idP,
...
@@ -1376,6 +1378,7 @@ schedule_ulsch_rnti(module_id_t module_idP,
eNB_MAC_INST
*
mac
=
RC
.
mac
[
module_idP
];
eNB_MAC_INST
*
mac
=
RC
.
mac
[
module_idP
];
COMMON_channels_t
*
cc
=
mac
->
common_channels
;
COMMON_channels_t
*
cc
=
mac
->
common_channels
;
UE_info_t
*
UE_info
=
&
mac
->
UE_info
;
UE_info_t
*
UE_info
=
&
mac
->
UE_info
;
uint8_t
aggregation
=
2
;
int
sched_frame
=
frameP
;
int
sched_frame
=
frameP
;
...
@@ -1658,6 +1661,7 @@ schedule_ulsch_rnti(module_id_t module_idP,
...
@@ -1658,6 +1661,7 @@ schedule_ulsch_rnti(module_id_t module_idP,
hi_dci0_pdu
->
pdu_size
=
2
+
sizeof
(
nfapi_hi_dci0_dci_pdu
);
hi_dci0_pdu
->
pdu_size
=
2
+
sizeof
(
nfapi_hi_dci0_dci_pdu
);
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
tl
.
tag
=
NFAPI_HI_DCI0_REQUEST_DCI_PDU_REL8_TAG
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
tl
.
tag
=
NFAPI_HI_DCI0_REQUEST_DCI_PDU_REL8_TAG
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
dci_format
=
NFAPI_UL_DCI_FORMAT_0
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
dci_format
=
NFAPI_UL_DCI_FORMAT_0
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
aggregation_level
=
aggregation
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
rnti
=
rnti
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
rnti
=
rnti
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
transmission_power
=
6000
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
transmission_power
=
6000
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
resource_block_start
=
UE_template_ptr
->
pre_first_nb_rb_ul
;
hi_dci0_pdu
->
dci_pdu
.
dci_pdu_rel8
.
resource_block_start
=
UE_template_ptr
->
pre_first_nb_rb_ul
;
...
...
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