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
71b8b853
Commit
71b8b853
authored
Sep 23, 2022
by
Manu Agrawal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5G L1 changes for Enquire Timing
parent
5f34c157
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
executables/nr-gnb.c
executables/nr-gnb.c
+0
-18
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+18
-0
No files found.
executables/nr-gnb.c
View file @
71b8b853
...
@@ -245,24 +245,6 @@ void rx_func(void *param) {
...
@@ -245,24 +245,6 @@ void rx_func(void *param) {
pthread_mutex_unlock
(
&
gNB
->
UL_INFO_mutex
);
pthread_mutex_unlock
(
&
gNB
->
UL_INFO_mutex
);
stop_meas
(
&
gNB
->
ul_indication_stats
);
stop_meas
(
&
gNB
->
ul_indication_stats
);
if
(
RC
.
ss
.
mode
>=
SS_SOFTMODEM
)
{
MessageDef
*
message_p
=
itti_alloc_new_message
(
TASK_SYS_GNB
,
INSTANCE_DEFAULT
,
SS_NRUPD_TIM_INFO
);
if
(
message_p
)
{
SS_NRUPD_TIM_INFO
(
message_p
).
slot
=
gNB
->
UL_INFO
.
slot
;
SS_NRUPD_TIM_INFO
(
message_p
).
sfn
=
gNB
->
UL_INFO
.
frame
;
int
send_res
=
itti_send_msg_to_task
(
TASK_SYS_GNB
,
INSTANCE_DEFAULT
,
message_p
);
if
(
send_res
<
0
)
{
printf
(
"Error in itti_send_msg_to_task"
);
// LOG_E( PHY, "[SS] Error in L1_Thread itti_send_msg_to_task"); /** TODO: Need separate logging for SS */
}
LOG_D
(
PHY
,
"[SS] SS_NRUPD_TIM_INFO from L1_Thread to SYS task itti_send_msg_to_task sfn %d slot %d"
,
gNB
->
UL_INFO
.
slot
,
gNB
->
UL_INFO
.
frame
);
/** TODO: Need separate logging for SS */
}
}
if
(
tx_slot_type
==
NR_DOWNLINK_SLOT
||
tx_slot_type
==
NR_MIXED_SLOT
)
{
if
(
tx_slot_type
==
NR_DOWNLINK_SLOT
||
tx_slot_type
==
NR_MIXED_SLOT
)
{
notifiedFIFO_elt_t
*
res
;
notifiedFIFO_elt_t
*
res
;
...
...
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
71b8b853
...
@@ -389,6 +389,24 @@ void NR_UL_indication(NR_UL_IND_t *UL_info) {
...
@@ -389,6 +389,24 @@ void NR_UL_indication(NR_UL_IND_t *UL_info) {
gnb_rx_ind_queue
.
num_items
,
gnb_rx_ind_queue
.
num_items
,
gnb_crc_ind_queue
.
num_items
);
gnb_crc_ind_queue
.
num_items
);
if
(
RC
.
ss
.
mode
>=
SS_SOFTMODEM
)
{
MessageDef
*
message_p
=
itti_alloc_new_message
(
TASK_SYS_GNB
,
INSTANCE_DEFAULT
,
SS_NRUPD_TIM_INFO
);
if
(
message_p
)
{
SS_NRUPD_TIM_INFO
(
message_p
).
slot
=
UL_info
->
slot
;
SS_NRUPD_TIM_INFO
(
message_p
).
sfn
=
UL_info
->
frame
;
int
send_res
=
itti_send_msg_to_task
(
TASK_SYS_GNB
,
INSTANCE_DEFAULT
,
message_p
);
if
(
send_res
<
0
)
{
LOG_E
(
NR_PHY
,
"[SS] Error in L1_Thread itti_send_msg_to_task"
);
}
LOG_D
(
NR_PHY
,
"[SS] SS_NRUPD_TIM_INFO from L1_Thread to SYS task itti_send_msg_to_task sfn %d slot %d"
,
UL_info
->
frame
,
UL_info
->
slot
);
}
}
nfapi_nr_rach_indication_t
*
rach_ind
=
NULL
;
nfapi_nr_rach_indication_t
*
rach_ind
=
NULL
;
nfapi_nr_uci_indication_t
*
uci_ind
=
NULL
;
nfapi_nr_uci_indication_t
*
uci_ind
=
NULL
;
nfapi_nr_rx_data_indication_t
*
rx_ind
=
NULL
;
nfapi_nr_rx_data_indication_t
*
rx_ind
=
NULL
;
...
...
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