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
0b066b52
Commit
0b066b52
authored
Nov 18, 2019
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
a51fa4f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
+4
-4
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
+8
-8
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
+2
-2
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
View file @
0b066b52
...
@@ -103,8 +103,8 @@ NR_gNB_ULSCH_t *new_gNB_ulsch(uint8_t max_ldpc_iterations,uint8_t N_RB_UL, uint8
...
@@ -103,8 +103,8 @@ NR_gNB_ULSCH_t *new_gNB_ulsch(uint8_t max_ldpc_iterations,uint8_t N_RB_UL, uint8
uint8_t
exit_flag
=
0
,
i
,
r
;
uint8_t
exit_flag
=
0
,
i
,
r
;
uint16_t
a_segments
=
MAX_NUM_NR_ULSCH_SEGMENTS
;
//number of segments to be allocated
uint16_t
a_segments
=
MAX_NUM_NR_ULSCH_SEGMENTS
;
//number of segments to be allocated
if
(
N_RB
!=
273
)
{
if
(
N_RB
_UL
!=
273
)
{
a_segments
=
a_segments
*
N_RB
;
a_segments
=
a_segments
*
N_RB
_UL
;
a_segments
=
a_segments
/
273
;
a_segments
=
a_segments
/
273
;
}
}
...
@@ -412,8 +412,8 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
...
@@ -412,8 +412,8 @@ uint32_t nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
uint16_t
a_segments
=
MAX_NUM_NR_ULSCH_SEGMENTS
;
//number of segments to be allocated
uint16_t
a_segments
=
MAX_NUM_NR_ULSCH_SEGMENTS
;
//number of segments to be allocated
if
(
N_RB
!=
273
)
{
if
(
nb_rb
!=
273
)
{
a_segments
=
a_segments
*
N_RB
;
a_segments
=
a_segments
*
nb_rb
;
a_segments
=
a_segments
/
273
;
a_segments
=
a_segments
/
273
;
}
}
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
View file @
0b066b52
...
@@ -105,8 +105,8 @@ NR_UE_DLSCH_t *new_nr_ue_dlsch(uint8_t Kmimo,uint8_t Mdlharq,uint32_t Nsoft,uint
...
@@ -105,8 +105,8 @@ NR_UE_DLSCH_t *new_nr_ue_dlsch(uint8_t Kmimo,uint8_t Mdlharq,uint32_t Nsoft,uint
uint16_t
a_segments
=
MAX_NUM_NR_DLSCH_SEGMENTS
;
//number of segments to be allocated
uint16_t
a_segments
=
MAX_NUM_NR_DLSCH_SEGMENTS
;
//number of segments to be allocated
if
(
N_RB
!=
273
)
{
if
(
N_RB
_DL
!=
273
)
{
a_segments
=
a_segments
*
N_RB
;
a_segments
=
a_segments
*
N_RB
_DL
;
a_segments
=
a_segments
/
273
;
a_segments
=
a_segments
/
273
;
}
}
...
@@ -378,8 +378,8 @@ uint32_t nr_dlsch_decoding(PHY_VARS_NR_UE *phy_vars_ue,
...
@@ -378,8 +378,8 @@ uint32_t nr_dlsch_decoding(PHY_VARS_NR_UE *phy_vars_ue,
uint16_t
a_segments
=
MAX_NUM_NR_DLSCH_SEGMENTS
;
//number of segments to be allocated
uint16_t
a_segments
=
MAX_NUM_NR_DLSCH_SEGMENTS
;
//number of segments to be allocated
if
(
N_RB
!=
273
)
{
if
(
nb_rb
!=
273
)
{
a_segments
=
a_segments
*
N_RB
;
a_segments
=
a_segments
*
nb_rb
;
a_segments
=
a_segments
/
273
;
a_segments
=
a_segments
/
273
;
}
}
...
@@ -904,8 +904,8 @@ uint32_t nr_dlsch_decoding_mthread(PHY_VARS_NR_UE *phy_vars_ue,
...
@@ -904,8 +904,8 @@ uint32_t nr_dlsch_decoding_mthread(PHY_VARS_NR_UE *phy_vars_ue,
uint16_t
a_segments
=
MAX_NUM_NR_DLSCH_SEGMENTS
;
//number of segments to be allocated
uint16_t
a_segments
=
MAX_NUM_NR_DLSCH_SEGMENTS
;
//number of segments to be allocated
if
(
N_RB
!=
273
)
{
if
(
nb_rb
!=
273
)
{
a_segments
=
a_segments
*
N_RB
;
a_segments
=
a_segments
*
nb_rb
;
a_segments
=
a_segments
/
273
;
a_segments
=
a_segments
/
273
;
}
}
...
@@ -1478,8 +1478,8 @@ void *nr_dlsch_decoding_process(void *arg)
...
@@ -1478,8 +1478,8 @@ void *nr_dlsch_decoding_process(void *arg)
/*
/*
uint16_t a_segments = MAX_NUM_NR_DLSCH_SEGMENTS; //number of segments to be allocated
uint16_t a_segments = MAX_NUM_NR_DLSCH_SEGMENTS; //number of segments to be allocated
if (
N_RB
!= 273) {
if (
nb_rb
!= 273) {
a_segments = a_segments*
N_RB
;
a_segments = a_segments*
nb_rb
;
a_segments = a_segments/273;
a_segments = a_segments/273;
}
}
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
View file @
0b066b52
...
@@ -94,8 +94,8 @@ NR_UE_ULSCH_t *new_nr_ue_ulsch(unsigned char N_RB_UL,
...
@@ -94,8 +94,8 @@ NR_UE_ULSCH_t *new_nr_ue_ulsch(unsigned char N_RB_UL,
unsigned
char
exit_flag
=
0
,
i
,
r
;
unsigned
char
exit_flag
=
0
,
i
,
r
;
uint16_t
a_segments
=
MAX_NUM_NR_ULSCH_SEGMENTS
;
//number of segments to be allocated
uint16_t
a_segments
=
MAX_NUM_NR_ULSCH_SEGMENTS
;
//number of segments to be allocated
if
(
N_RB
!=
273
)
{
if
(
N_RB
_UL
!=
273
)
{
a_segments
=
a_segments
*
N_RB
;
a_segments
=
a_segments
*
N_RB
_UL
;
a_segments
=
a_segments
/
273
;
a_segments
=
a_segments
/
273
;
}
}
...
...
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