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
promise
OpenXG-RAN
Commits
bbe6db03
Commit
bbe6db03
authored
Jan 25, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed some cppcheck errors
parent
9f52fd4a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
executables/nr-gnb.c
executables/nr-gnb.c
+1
-1
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
+3
-7
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
+1
-1
No files found.
executables/nr-gnb.c
View file @
bbe6db03
...
...
@@ -872,7 +872,7 @@ void init_gNB_proc(int inst) {
gNB
->
threadPool
=
(
tpool_t
*
)
malloc
(
sizeof
(
tpool_t
));
gNB
->
respDecode
=
(
notifiedFIFO_t
*
)
malloc
(
sizeof
(
notifiedFIFO_t
));
int
numCPU
=
sysconf
(
_SC_NPROCESSORS_ONLN
);
uint32_t
num_threads_pusch
;
uint32_t
num_threads_pusch
=
2
;
paramdef_t
PUSCHThreads
[]
=
NUM_THREADS_DESC
;
config_get
(
PUSCHThreads
,
sizeof
(
PUSCHThreads
)
/
sizeof
(
paramdef_t
),
NULL
);
int
threadCnt
=
min
(
numCPU
,
num_threads_pusch
);
...
...
openair1/PHY/LTE_TRANSPORT/dlsch_modulation.c
View file @
bbe6db03
...
...
@@ -2978,7 +2978,7 @@ int allocate_REs_in_RB_MCH_khz_1dot25(int32_t **txdataF,
case
2
:
//QPSK
LOG_D
(
PHY
,
"%d : %d,%d => "
,
tti_offset
,((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
0
],((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
1
]);
LOG_D
(
PHY
,
"%d : %d,%d => "
,
tti_offset
,((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
0
],((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
1
]);
((
int16_t
*
)
&
txdataF
[
0
][
tti_offset
])[
0
]
=
(
x0
[
*
jj
]
==
1
)
?
(
-
gain_lin_QPSK
)
:
gain_lin_QPSK
;
//I //b_i
*
jj
=
*
jj
+
1
;
...
...
@@ -3080,7 +3080,7 @@ int mch_modulation_khz_1dot25(int32_t **txdataF,
uint8_t
skip_dc
=
0
;
uint8_t
mod_order
=
dlsch
->
harq_processes
[
0
]
->
Qm
;
int16_t
qam16_table_a
[
4
],
qam64_table_a
[
8
];
//,qam16_table_b[4],qam64_table_b[8];
int16_t
*
qam_table_s
;
int16_t
*
qam_table_s
=
qam16_table_a
;
nsymb_pmch
=
1
;
nsymb
=
(
frame_parms
->
Ncp
==
NORMAL
)
?
14
:
12
;
...
...
@@ -3123,12 +3123,8 @@ int mch_modulation_khz_1dot25(int32_t **txdataF,
}
if
(
mod_order
==
4
)
qam_table_s
=
qam16_table_a
;
else
if
(
mod_order
==
6
)
if
(
mod_order
==
6
)
qam_table_s
=
qam64_table_a
;
else
qam_table_s
=
NULL
;
//LOG_I(PHY,"Allocated rb %d, subframe_offset %d,amp %d\n",rb,subframe_offset,amp);
allocate_REs_in_RB_MCH_khz_1dot25
(
txdataF
,
...
...
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
View file @
bbe6db03
...
...
@@ -413,7 +413,7 @@ int trx_eth_read_udp(openair0_device *device, openair0_timestamp *timestamp, voi
char
*
temp_rx0
=
((
char
*
)
&
temp_rx
[
1
])
-
APP_HEADER_SIZE_BYTES
;
#endif
#elif defined(__arm__) || defined(__aarch64__)
int
nsamps2
=
(
payload_size
>>
4
)
+
1
int
nsamps2
=
(
payload_size
>>
4
)
+
1
;
int16x8_t
temp_rx
[
nsamps2
];
char
*
temp_rx0
=
((
char
*
)
&
temp_rx
[
1
])
-
APP_HEADER_SIZE_BYTES
;
#else
...
...
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