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
5039fe67
Commit
5039fe67
authored
3 years ago
by
masayuki.harada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert some temporary changes and add comment.
parent
136991d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
15 deletions
+2
-15
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
+0
-12
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
+1
-3
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
+1
-0
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
View file @
5039fe67
...
...
@@ -1353,18 +1353,6 @@ int nr_rx_pusch(PHY_VARS_gNB *gNB,
#else
int
off
=
0
;
#endif
// TODO this is temporary change to get message5 should revert.
double
p_shift
=
0
.
004761
90476190476
;
short
*
IQ_temp
=
(
short
*
)
&
gNB
->
pusch_vars
[
ulsch_id
]
->
rxdataF_comp
[
0
][
rel15_ul
->
start_symbol_index
*
(
off
+
rel15_ul
->
rb_size
*
NR_NB_SC_PER_RB
)];
double
ttt
[
2
];
if
(
rel15_ul
->
num_dmrs_cdm_grps_no_data
==
1
){
for
(
int
pp
=
0
;
pp
<
rel15_ul
->
nr_of_symbols
*
rel15_ul
->
rb_size
*
NR_NB_SC_PER_RB
;
pp
++
){
ttt
[
0
]
=
(
double
)
IQ_temp
[
pp
*
2
]
*
cos
(
pp
*
p_shift
)
-
(
double
)
IQ_temp
[
pp
*
2
+
1
]
*
sin
(
pp
*
p_shift
);
ttt
[
1
]
=
(
double
)
IQ_temp
[
pp
*
2
]
*
sin
(
pp
*
p_shift
)
+
(
double
)
IQ_temp
[
pp
*
2
+
1
]
*
cos
(
pp
*
p_shift
);
IQ_temp
[
pp
*
2
]
=
(
short
)
ttt
[
0
];
IQ_temp
[
pp
*
2
+
1
]
=
(
short
)
ttt
[
1
];
}
}
uint32_t
rxdataF_ext_offset
=
0
;
for
(
uint8_t
i
=
rel15_ul
->
start_symbol_index
;
i
<
(
rel15_ul
->
start_symbol_index
+
rel15_ul
->
nr_of_symbols
);
i
++
)
{
start_meas
(
&
gNB
->
ulsch_llr_stats
);
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
View file @
5039fe67
...
...
@@ -668,8 +668,6 @@ void pf_ul(module_id_t module_id,
NR_UE_sched_ctrl_t
*
sched_ctrl
=
&
UE_info
->
UE_sched_ctrl
[
UE_id
];
if
(
sched_ctrl
->
ra_state
==
1
)
continue
;
int
rbStart
=
NRRIV2PRBOFFSET
(
sched_ctrl
->
active_bwp
->
bwp_Common
->
genericParameters
.
locationAndBandwidth
,
MAX_BWP_SIZE
);
// TODO this is temporary change to get message5 should revert.
rbStart
+=
27
;
const
uint16_t
bwpSize
=
NRRIV2BW
(
sched_ctrl
->
active_ubwp
->
bwp_Common
->
genericParameters
.
locationAndBandwidth
,
MAX_BWP_SIZE
);
/* Calculate throughput */
...
...
@@ -739,7 +737,7 @@ void pf_ul(module_id_t module_id,
/* Calculate TBS from MCS */
NR_sched_pusch_t
*
sched_pusch
=
&
sched_ctrl
->
sched_pusch
;
const
int
mcs
=
4
;
// TODO This is temporary change to get message5 stable. should revert.
const
int
mcs
=
9
;
sched_pusch
->
mcs
=
mcs
;
sched_pusch
->
R
=
nr_get_code_rate_ul
(
mcs
,
ps
->
mcs_table
);
sched_pusch
->
Qm
=
nr_get_Qm_ul
(
mcs
,
ps
->
mcs_table
);
...
...
This diff is collapsed.
Click to expand it.
openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
View file @
5039fe67
...
...
@@ -50,6 +50,7 @@ static void nr_pdcp_entity_recv_pdu(nr_pdcp_entity_t *entity,
return
;
}
/* Check D/C bit inly DRBs */
if
((
entity
->
type
==
NR_PDCP_DRB_AM
||
entity
->
type
==
NR_PDCP_DRB_UM
)
&&
!
(
buffer
[
0
]
&
0x80
))
{
LOG_E
(
PDCP
,
"%s:%d:%s: fatal
\n
"
,
__FILE__
,
__LINE__
,
__FUNCTION__
);
exit
(
1
);
...
...
This diff is collapsed.
Click to expand it.
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