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
Michael Black
OpenXG-RAN
Commits
c3710ecf
Commit
c3710ecf
authored
Jun 15, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handling channel information if rx'd in slot_ind
parent
52dafe61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+12
-0
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.h
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.h
+7
-0
No files found.
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
c3710ecf
...
...
@@ -417,6 +417,18 @@ void *nrue_standalone_pnf_task(void *context)
int
slot
=
NFAPI_SFNSLOT2SLOT
(
sfn_slot
);
LOG_I
(
NR_PHY
,
"Received from proxy sfn %d slot %d
\n
"
,
sfn
,
slot
);
}
else
if
(
len
==
sizeof
(
nr_phy_channel_params_t
))
{
nr_phy_channel_params_t
ch_info
;
memcpy
(
&
ch_info
,
buffer
,
sizeof
(
nr_phy_channel_params_t
));
current_sfn_slot
=
ch_info
.
sfn_slot
;
if
(
sem_post
(
&
sfn_slot_semaphore
)
!=
0
)
{
LOG_E
(
MAC
,
"sem_post() error
\n
"
);
abort
();
}
LOG_I
(
MAC
,
"Received_SINR = %f
\n
"
,
ch_info
.
sinr
);
}
else
{
nfapi_p7_message_header_t
header
;
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.h
View file @
c3710ecf
...
...
@@ -43,6 +43,13 @@
typedef
struct
NR_UL_TIME_ALIGNMENT
NR_UL_TIME_ALIGNMENT_t
;
typedef
struct
nr_phy_channel_params_t
{
uint16_t
sfn_slot
;
float
sinr
;
// Incomplete, need all channel parameters
}
nr_phy_channel_params_t
;
typedef
struct
{
/// module id
module_id_t
module_id
;
...
...
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