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
lizhongxiao
OpenXG-RAN
Commits
4d59e74c
Commit
4d59e74c
authored
Jan 04, 2024
by
Luhan Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add log
parent
15daf2eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
executables/ric-interface.c
executables/ric-interface.c
+2
-2
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-1
openair1/PHY/NR_TRANSPORT/srs_rx.c
openair1/PHY/NR_TRANSPORT/srs_rx.c
+2
-1
No files found.
executables/ric-interface.c
View file @
4d59e74c
...
...
@@ -126,7 +126,7 @@ void *ric_interface_task(void *args_p)
sem_wait
(
&
ric_send_sem
);
#endif
memcpy
(
ric_send_buf_tmp
,
ric_send_buf
,
ric_send_len
);
printf
(
"got ric_send_sem ric_send_buf_tmp addr %p ric_send_buf %p
\n
"
,
ric_send_buf_tmp
,
ric_send_buf
);
//
printf ("got ric_send_sem ric_send_buf_tmp addr %p ric_send_buf %p\n", ric_send_buf_tmp, ric_send_buf);
#ifdef CAP_DATA_LOCAL
{
...
...
@@ -147,7 +147,7 @@ void *ric_interface_task(void *args_p)
}
outputdata
=
c
-
'0'
;
if
(
outputdata
==
0
)
printf
(
"~~~~~~~~outputdata is %d, log_cnt %d"
,
outputdata
,
log_cnt
);
printf
(
"~~~~~~~~outputdata is %d, log_cnt %d
\n
"
,
outputdata
,
log_cnt
);
fclose
(
input_fd
);
}
}
...
...
openair1/PHY/INIT/nr_init.c
View file @
4d59e74c
...
...
@@ -485,7 +485,7 @@ int phy_init_nr_gNB(PHY_VARS_gNB *gNB)
AssertFatal
(
Ptx
>
0
&&
Ptx
<
9
,
"Ptx %d is not supported
\n
"
,
Ptx
);
AssertFatal
(
Prx
>
0
&&
Prx
<
9
,
"Prx %d is not supported
\n
"
,
Prx
);
LOG_I
(
PHY
,
"[gNB %d] %s() About to wait for gNB to be configured
\n
"
,
gNB
->
Mod_id
,
__FUNCTION__
);
LOG_I
(
PHY
,
"[gNB %d] %s() About to wait for gNB to be configured
, Ptx %d, Prx %d
\n
"
,
gNB
->
Mod_id
,
__FUNCTION__
,
Ptx
,
Prx
);
while
(
gNB
->
configured
==
0
)
usleep
(
10000
);
...
...
openair1/PHY/NR_TRANSPORT/srs_rx.c
View file @
4d59e74c
...
...
@@ -265,7 +265,8 @@ int nr_cap_srs_signal(PHY_VARS_gNB *gNB,
ric_send_buf
=
ns_srs_cap
->
dmrsData
;
ric_send_len
=
273
*
12
*
ant_num
*
N_symb_SRS
*
4
;
//for test
sem_post
(
&
ric_send_sem
);
LOG_I
(
PHY
,
"sem_post(&ric_send_sem) frame %d %d, buf%p, size %d, port %d, ant %d config %d
\n\n\n
"
,
ric_send_buf
,
ric_send_len
,
ns_srs_cap
->
num_ant_ports
,
ant_num
,
ns_srs_cap
->
config_index
);
LOG_I
(
PHY
,
"sem_post(&ric_send_sem) frame %d %d, buf%p, size %d, port %d, ant %d config %d
\n\n\n
"
,
frame
,
slot
,
ric_send_buf
,
ric_send_len
,
ns_srs_cap
->
num_ant_ports
,
ant_num
,
ns_srs_cap
->
config_index
);
g_dmrs_cnt
++
;
#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