Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
a8fb38f4
Commit
a8fb38f4
authored
Sep 02, 2016
by
Sandeep Kumar
Browse files
fix prach packet in if4p5 UDP
parent
e10b7e81
Changes
1
Show whitespace changes
Inline
Side-by-side
targets/ARCH/ETHERNET/USERSPACE/LIB/eth_udp.c
View file @
a8fb38f4
...
...
@@ -209,6 +209,8 @@ int trx_eth_write_udp_IF4p5(openair0_device *device, openair0_timestamp timestam
packet_size
=
UDP_IF4p5_PDLFFT_SIZE_BYTES
(
nblocks
);
}
else
if
(
flags
==
IF4p5_PULFFT
)
{
packet_size
=
UDP_IF4p5_PULFFT_SIZE_BYTES
(
nblocks
);
}
else
if
(
flags
==
IF4p5_PRACH
)
{
packet_size
=
UDP_IF4p5_PRACH_SIZE_BYTES
;
}
else
{
printf
(
"trx_eth_write_udp_IF4p5: unknown flags %d
\n
"
,
flags
);
return
(
-
1
);
...
...
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