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
Michael Black
OpenXG-RAN
Commits
2251453c
Commit
2251453c
authored
Feb 18, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nr_dlschsim: correct size for N_RB_DL
Fix warning, drop undefined function
parent
65c64564
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
10 deletions
+6
-10
openair1/PHY/NR_TRANSPORT/nr_ulsch.h
openair1/PHY/NR_TRANSPORT/nr_ulsch.h
+1
-1
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h
openair1/PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
+2
-3
openair1/SCHED_NR_UE/defs.h
openair1/SCHED_NR_UE/defs.h
+0
-3
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch.h
View file @
2251453c
...
...
@@ -33,7 +33,7 @@
#include "PHY/defs_gNB.h"
#include "common/utils/threadPool/thread-pool.h"
void
free_gNB_ulsch
(
NR_gNB_ULSCH_t
**
ulsch
,
uint8
_t
N_RB_UL
);
void
free_gNB_ulsch
(
NR_gNB_ULSCH_t
**
ulsch
,
uint16
_t
N_RB_UL
);
NR_gNB_ULSCH_t
*
new_gNB_ulsch
(
uint8_t
max_ldpc_iterations
,
uint16_t
N_RB_UL
);
...
...
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
View file @
2251453c
...
...
@@ -54,7 +54,7 @@
//extern double cpuf;
void
free_gNB_ulsch
(
NR_gNB_ULSCH_t
**
ulschptr
,
uint8
_t
N_RB_UL
)
void
free_gNB_ulsch
(
NR_gNB_ULSCH_t
**
ulschptr
,
uint16
_t
N_RB_UL
)
{
int
i
,
r
;
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
View file @
2251453c
...
...
@@ -79,7 +79,7 @@ void init_dlsch_tpool(uint8_t num_dlsch_threads) {
free
(
params
);
}
void
free_nr_ue_dlsch
(
NR_UE_DLSCH_t
**
dlschptr
,
uint8
_t
N_RB_DL
)
{
void
free_nr_ue_dlsch
(
NR_UE_DLSCH_t
**
dlschptr
,
uint16
_t
N_RB_DL
)
{
int
i
,
r
;
uint16_t
a_segments
=
MAX_NUM_NR_DLSCH_SEGMENTS
;
//number of segments to be allocated
NR_UE_DLSCH_t
*
dlsch
=*
dlschptr
;
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_transport_proto_ue.h
View file @
2251453c
...
...
@@ -50,7 +50,7 @@
\brief This function frees memory allocated for a particular DLSCH at UE
@param dlsch Pointer to DLSCH to be removed
*/
void
free_nr_ue_dlsch
(
NR_UE_DLSCH_t
**
dlsch
,
uint8
_t
N_RB_DL
);
void
free_nr_ue_dlsch
(
NR_UE_DLSCH_t
**
dlsch
,
uint16
_t
N_RB_DL
);
/** \fn new_ue_dlsch(uint8_t Kmimo,uint8_t Mdlharq,uint32_t Nsoft)
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_ulsch_coding.c
View file @
2251453c
...
...
@@ -107,7 +107,6 @@ void free_nr_ue_ulsch(NR_UE_ULSCH_t **ulschptr,unsigned char N_RB_UL)
NR_UE_ULSCH_t
*
new_nr_ue_ulsch
(
uint16_t
N_RB_UL
,
int
number_of_harq_pids
)
{
unsigned
char
exit_flag
=
0
,
i
,
r
;
uint16_t
a_segments
=
MAX_NUM_NR_ULSCH_SEGMENTS
;
//number of segments to be allocated
if
(
N_RB_UL
!=
273
)
{
...
...
@@ -127,7 +126,7 @@ NR_UE_ULSCH_t *new_nr_ue_ulsch(uint16_t N_RB_UL, int number_of_harq_pids)
//for (i=0; i<10; i++)
//ulsch->harq_ids[i] = 0;
for
(
i
=
0
;
i
<
number_of_harq_pids
;
i
++
)
{
for
(
i
nt
i
=
0
;
i
<
number_of_harq_pids
;
i
++
)
{
ulsch
->
harq_processes
[
i
]
=
malloc16
(
sizeof
(
NR_UL_UE_HARQ_t
));
DevAssert
(
ulsch
->
harq_processes
[
i
]);
...
...
@@ -141,7 +140,7 @@ NR_UE_ULSCH_t *new_nr_ue_ulsch(uint16_t N_RB_UL, int number_of_harq_pids)
DevAssert
(
ulsch
->
harq_processes
[
i
]
->
b
);
bzero
(
ulsch
->
harq_processes
[
i
]
->
b
,
ulsch_bytes
);
for
(
r
=
0
;
r
<
a_segments
;
r
++
)
{
for
(
int
r
=
0
;
r
<
a_segments
;
r
++
)
{
// account for filler in first segment and CRCs for multiple segment case
ulsch
->
harq_processes
[
i
]
->
c
[
r
]
=
malloc16
(
8448
);
DevAssert
(
ulsch
->
harq_processes
[
i
]
->
c
[
r
]);
...
...
openair1/SCHED_NR_UE/defs.h
View file @
2251453c
...
...
@@ -295,9 +295,6 @@ uint8_t nr_pdcch_alloc2ul_subframe(NR_DL_FRAME_PARMS *frame_parms,uint8_t n);
uint32_t
nr_pdcch_alloc2ul_frame
(
NR_DL_FRAME_PARMS
*
frame_parms
,
uint32_t
frame
,
uint8_t
n
);
uint16_t
nr_get_Np
(
uint8_t
N_RB_DL
,
uint8_t
nCCE
,
uint8_t
plus1
);
int8_t
nr_find_ue
(
uint16_t
rnti
,
PHY_VARS_eNB
*
phy_vars_eNB
);
/*! \brief UL time alignment procedures for TA application
...
...
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