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
alex037yang
OpenXG-RAN
Commits
048f07f6
Commit
048f07f6
authored
Mar 24, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation warning removal
parent
3ce5f507
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
openair1/PHY/LTE_TRANSPORT/if5_tools.c
openair1/PHY/LTE_TRANSPORT/if5_tools.c
+8
-2
No files found.
openair1/PHY/LTE_TRANSPORT/if5_tools.c
View file @
048f07f6
...
...
@@ -56,7 +56,9 @@ void send_IF5(PHY_VARS_eNB *eNB, openair0_timestamp proc_timestamp, int subframe
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
int32_t
*
txp
[
fp
->
nb_antennas_tx
],
*
rxp
[
fp
->
nb_antennas_rx
];
int32_t
*
tx_buffer
=
NULL
;
#ifdef DEBUG_DL_MOBIPASS
int8_t
dummy_buffer
[
fp
->
samples_per_tti
*
2
];
#endif
void
*
alaw_buffer
=
eNB
->
ifbuffer
.
tx
[
subframe
&
1
];
uint16_t
*
data_block
=
NULL
;
uint16_t
*
j
=
NULL
;
...
...
@@ -262,8 +264,10 @@ void recv_IF5(PHY_VARS_eNB *eNB, openair0_timestamp *proc_timestamp, int subfram
int32_t
*
txp
[
fp
->
nb_antennas_tx
],
*
rxp
[
fp
->
nb_antennas_rx
];
uint16_t
packet_id
=
0
,
i
=
0
,
element_id
=
0
;
int8_t
dummy_buffer_rx
[
fp
->
samples_per_tti
*
2
];
#ifdef DEBUG_UL_MOBIPASS
//int8_t dummy_buffer_rx[fp->samples_per_tti*2];
uint8_t
rxe
;
#endif
int32_t
spp_eth
=
(
int32_t
)
eNB
->
ifdevice
.
openair0_cfg
->
samples_per_packet
;
int32_t
spsf
=
(
int32_t
)
eNB
->
ifdevice
.
openair0_cfg
->
samples_per_frame
/
10
;
...
...
@@ -390,14 +394,16 @@ void recv_IF5(PHY_VARS_eNB *eNB, openair0_timestamp *proc_timestamp, int subfram
uint16_t
db_fulllength
=
PAYLOAD_MOBIPASS_NUM_SAMPLES
;
openair0_timestamp
timestamp_mobipass
[
fp
->
samples_per_tti
/
db_fulllength
];
#ifdef DEBUG_UL_MOBIPASS
int
lower_offset
=
0
;
int
upper_offset
=
70000
;
#endif
int
subframe_skip
=
0
;
int
reset_flag
=
0
;
int32_t
*
rx_buffer
=
NULL
;
__m128i
*
data_block
=
NULL
,
*
data_block_head
=
NULL
;
__m128i
*
rxp128
;
__m128i
r0
,
r1
;
__m128i
r0
;
//rx_buffer = memalign(16, MAC_HEADER_SIZE_BYTES + sizeof_IF5_mobipass_header_t + db_fulllength*sizeof(int16_t));
rx_buffer
=
malloc
(
MAC_HEADER_SIZE_BYTES
+
sizeof_IF5_mobipass_header_t
+
db_fulllength
*
sizeof
(
int16_t
));
...
...
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