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
27366f6f
Commit
27366f6f
authored
Sep 14, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removal of warnings
parent
6f90f6b0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
10 deletions
+14
-10
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.c
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.c
+6
-7
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.h
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.h
+4
-0
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_lut/lut_cn2bnProcBuf_BG1_Z112_R13.h
...nrLDPC_decoder/nrLDPC_lut/lut_cn2bnProcBuf_BG1_Z112_R13.h
+1
-1
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_mPass.h
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_mPass.h
+1
-2
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-0
openair1/PHY/INIT/nr_init_ue.c
openair1/PHY/INIT/nr_init_ue.c
+1
-0
No files found.
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.c
View file @
27366f6f
...
...
@@ -78,17 +78,16 @@ void memcpy_finder(uint32_t* p_lut_cn2bn,uint32_t **p_lut2,uint32_t *size_lut2,i
}
}
void
nrLDPC_prep_bn2cnProcBuf
(
uint32_t
*
lut_cn2bnProcBuf
,
void
nrLDPC_prep_bn2cnProcBuf
(
const
uint32_t
*
lut_cn2bnProcBuf
,
uint32_t
**
lut_cn2bnProcBuf2
,
uint32_t
*
lut2_size
,
uint8_t
*
lut_numCnInCnGroups
,
uint32_t
*
lut_startAddrCnGroups
,
const
uint8_t
*
lut_numCnInCnGroups
,
const
uint32_t
*
lut_startAddrCnGroups
,
uint16_t
Z
)
{
uint32_t
*
p_lut_cn2bn
,
*
p_lut2
;
uint32_t
*
p_lut_cn2bn
;
uint32_t
bitOffsetInGroup
;
uint32_t
i
;
uint32_t
j
;
uint32_t
M
;
...
...
@@ -100,7 +99,7 @@ void nrLDPC_prep_bn2cnProcBuf(uint32_t* lut_cn2bnProcBuf,
// =====================================================================
// CN group with 3 BNs
p_lut_cn2bn
=
&
lut_cn2bnProcBuf
[
0
];
p_lut_cn2bn
=
(
uint32_t
*
)
&
lut_cn2bnProcBuf
[
0
];
M
=
lut_numCnInCnGroups
[
0
]
*
Z
;
bitOffsetInGroup
=
lut_numCnInCnGroups_BG1_R13
[
0
]
*
NR_LDPC_ZMAX
;
...
...
@@ -220,7 +219,7 @@ void nrLDPC_prep_bn2cnProcBuf(uint32_t* lut_cn2bnProcBuf,
}
void
nrLDPC_prep
()
{
void
nrLDPC_prep
(
void
)
{
nrLDPC_prep_bn2cnProcBuf
(
lut_cn2bnProcBuf_BG1_Z320_R13
,
&
lut_cn2bnProcBuf2_BG1_Z320_R13
,
&
lut_cn2bnProcBuf2_BG1_Z320_R13_size
,
...
...
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder.h
View file @
27366f6f
...
...
@@ -34,6 +34,8 @@
#include "nrLDPC_types.h"
#include "nrLDPC_init_mem.h"
void
nrLDPC_prep
(
void
);
/**
\brief LDPC decoder
\param p_decParams LDPC decoder parameters
...
...
@@ -41,6 +43,8 @@
\param p_llrOut Output vector
\param p_profiler LDPC profiler statistics
*/
int32_t
nrLDPC_decoder
(
t_nrLDPC_dec_params
*
p_decParams
,
int8_t
*
p_llr
,
int8_t
*
p_llrOut
,
t_nrLDPC_procBuf
*
p_procBuf
,
t_nrLDPC_time_stats
*
p_profiler
);
#endif
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_lut/lut_cn2bnProcBuf_BG1_Z112_R13.h
View file @
27366f6f
int32_t
*
lut_cn2bnProcBuf2_BG1_Z112_R13
=
NULL
;
u
int32_t
*
lut_cn2bnProcBuf2_BG1_Z112_R13
=
NULL
;
uint32_t
lut_cn2bnProcBuf2_BG1_Z112_R13_size
=
0
;
...
...
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_mPass.h
View file @
27366f6f
...
...
@@ -602,7 +602,6 @@ static inline void nrLDPC_bn2cnProcBuf_BG1(t_nrLDPC_lut* p_lut, t_nrLDPC_procBuf
int8_t
*
p_cnProcBuf
;
uint32_t
*
p_lut_cn2bn
;
uint32_t
bitOffsetInGroup
;
uint32_t
i
;
uint32_t
j
;
uint32_t
M
;
...
...
@@ -612,7 +611,7 @@ static inline void nrLDPC_bn2cnProcBuf_BG1(t_nrLDPC_lut* p_lut, t_nrLDPC_procBuf
// =====================================================================
// CN group with 3 BNs
p_lut_cn2bn
=
&
lut_cn2bnProcBuf
[
0
];
p_lut_cn2bn
=
(
uint32_t
*
)
&
lut_cn2bnProcBuf
[
0
];
M
=
lut_numCnInCnGroups
[
0
]
*
Z
;
bitOffsetInGroup
=
lut_numCnInCnGroups_BG1_R13
[
0
]
*
NR_LDPC_ZMAX
;
...
...
openair1/PHY/INIT/nr_init.c
View file @
27366f6f
...
...
@@ -97,6 +97,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB,
while
(
gNB
->
configured
==
0
)
usleep
(
10000
);
init_dfts
();
nrLDPC_prep
();
/*
LOG_I(PHY,"[gNB %"PRIu8"] Initializing DL_FRAME_PARMS : N_RB_DL %"PRIu8", PHICH Resource %d, PHICH Duration %d nb_antennas_tx:%u nb_antennas_rx:%u PRACH[rootSequenceIndex:%u prach_Config_enabled:%u configIndex:%u highSpeed:%u zeroCorrelationZoneConfig:%u freqOffset:%u]\n",
gNB->Mod_id,
...
...
openair1/PHY/INIT/nr_init_ue.c
View file @
27366f6f
...
...
@@ -1014,6 +1014,7 @@ void phy_init_nr_top(PHY_VARS_NR_UE *ue)
crcTableInit
();
init_dfts
();
nrLDPC_prep
();
init_context_synchro_nr
(
frame_parms
);
...
...
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