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
ZhouShuya
OpenXG-RAN
Commits
161663c2
Commit
161663c2
authored
Jul 24, 2016
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixes from Laurent on IF5 interface. 8-bit conversion for Mobipass.
parent
e0f00720
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
openair1/PHY/LTE_TRANSPORT/if5_tools.c
openair1/PHY/LTE_TRANSPORT/if5_tools.c
+6
-7
No files found.
openair1/PHY/LTE_TRANSPORT/if5_tools.c
View file @
161663c2
...
...
@@ -46,8 +46,8 @@
void
send_IF5
(
PHY_VARS_eNB
*
eNB
,
openair0_timestamp
proc_timestamp
,
int
subframe
,
uint8_t
*
seqno
,
uint16_t
packet_type
)
{
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
void
*
txp
[
fp
->
nb_antennas_tx
],
*
rxp
[
fp
->
nb_antennas_rx
];
void
*
tx_buffer
=
NULL
;
int32_t
*
txp
[
fp
->
nb_antennas_tx
],
*
rxp
[
fp
->
nb_antennas_rx
];
int32_t
*
tx_buffer
=
NULL
;
uint16_t
packet_id
=
0
,
i
=
0
;
...
...
@@ -115,8 +115,8 @@ void send_IF5(PHY_VARS_eNB *eNB, openair0_timestamp proc_timestamp, int subframe
data_block
=
data_block_head
;
for
(
i
=
0
;
i
<
db_fulllength
>>
3
;
i
+=
2
)
{
t0
=
_mm_sr
l
i_epi16
(
*
txp128
++
,
4
);
t1
=
_mm_sr
l
i_epi16
(
*
txp128
++
,
4
);
t0
=
_mm_sr
a
i_epi16
(
*
txp128
++
,
4
);
t1
=
_mm_sr
a
i_epi16
(
*
txp128
++
,
4
);
*
data_block
++
=
_mm_packs_epi16
(
t0
,
t1
);
}
...
...
@@ -147,8 +147,8 @@ void send_IF5(PHY_VARS_eNB *eNB, openair0_timestamp proc_timestamp, int subframe
void
recv_IF5
(
PHY_VARS_eNB
*
eNB
,
openair0_timestamp
*
proc_timestamp
,
int
subframe
,
uint16_t
packet_type
)
{
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
void
*
txp
[
fp
->
nb_antennas_tx
],
*
rxp
[
fp
->
nb_antennas_rx
];
void
*
rx_buffer
=
NULL
;
int32_t
*
txp
[
fp
->
nb_antennas_tx
],
*
rxp
[
fp
->
nb_antennas_rx
];
uint16_t
packet_id
=
0
,
i
=
0
;
...
...
@@ -203,6 +203,5 @@ void recv_IF5(PHY_VARS_eNB *eNB, openair0_timestamp *proc_timestamp, int subfram
AssertFatal
(
1
==
0
,
"recv_IF5 - Unknown packet_type %x"
,
packet_type
);
}
free
(
rx_buffer
);
return
;
}
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