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
canghaiwuhen
OpenXG-RAN
Commits
b829d3c9
Commit
b829d3c9
authored
Jul 31, 2020
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add exit trace and fix a gcc warning
parent
7dc726f8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
executables/main-fs6.c
executables/main-fs6.c
+1
-1
executables/main-ocp.c
executables/main-ocp.c
+2
-0
executables/split_headers.h
executables/split_headers.h
+2
-0
No files found.
executables/main-fs6.c
View file @
b829d3c9
...
...
@@ -401,7 +401,7 @@ void sendFs6Ul(PHY_VARS_eNB *eNB, int UE_id, int harq_pid, int segmentID, int16_
hULUE
(
newUDPheader
)
->
O_ACK
=
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
O_ACK
;
memcpy
(
hULUE
(
newUDPheader
)
->
o_ACK
,
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
o_ACK
,
sizeof
(
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
o_ACK
));
hULUE
(
newUDPheader
)
->
ta
=
lte_est_timing_advance_pusch
(
eNB
,
UE_id
);
hULUE
(
newUDPheader
)
->
ta
=
lte_est_timing_advance_pusch
(
&
eNB
->
frame_parms
,
eNB
->
pusch_vars
[
UE_id
]
->
drs_ch_estimates_time
);
hULUE
(
newUDPheader
)
->
segment
=
segmentID
;
memcpy
(
hULUE
(
newUDPheader
)
->
o
,
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
o
,
sizeof
(
eNB
->
ulsch
[
UE_id
]
->
harq_processes
[
harq_pid
]
->
o
));
...
...
executables/main-ocp.c
View file @
b829d3c9
...
...
@@ -97,6 +97,7 @@ void exit_function(const char *file, const char *function, const int line, const
if
(
s
!=
NULL
)
{
printf
(
"%s:%d %s() Exiting OAI softmodem: %s
\n
"
,
file
,
line
,
function
,
s
);
}
softmodem_printresources
(
0
,(
telnet_printfunc_t
)
printf
);
close_log_mem
();
oai_exit
=
1
;
...
...
@@ -1167,6 +1168,7 @@ int main ( int argc, char **argv ) {
T_Config_Init
();
#endif
configure_linux
();
set_softmodem_sighandler
();
cpuf
=
get_cpu_freq_GHz
();
set_taus_seed
(
0
);
...
...
executables/split_headers.h
View file @
b829d3c9
...
...
@@ -28,6 +28,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <openair1/PHY/defs_eNB.h>
#include <common/utils/telnetsrv/telnetsrv_proccmd.h>
#define CU_PORT "7878"
#define DU_PORT "8787"
...
...
@@ -325,5 +326,6 @@ void fep_full(RU_t *ru, int subframe);
void
feptx_prec
(
RU_t
*
ru
,
int
frame
,
int
subframe
);
void
feptx_ofdm
(
RU_t
*
ru
,
int
frame
,
int
subframe
);
void
oai_subframe_ind
(
uint16_t
sfn
,
uint16_t
sf
);
void
softmodem_printresources
(
int
sig
,
telnet_printfunc_t
pf
);
extern
uint16_t
sf_ahead
;
#endif
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