Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
2285919f
Commit
2285919f
authored
Jun 11, 2020
by
Andrew Burger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finalized Raymond changes
parent
2d5cc886
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
107 additions
and
94 deletions
+107
-94
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+6
-6
openair2/PHY_INTERFACE/phy_stub_UE.h
openair2/PHY_INTERFACE/phy_stub_UE.h
+3
-0
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+98
-88
No files found.
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
2285919f
...
...
@@ -50,6 +50,9 @@ queue_t tx_req_pdu_queue;
queue_t
ul_config_req_queue
;
queue_t
hi_dci0_req_queue
;
int
subframe_sf
=
0
;
int
frame_sfn
=
0
;
void
init_queue
(
queue_t
*
q
)
{
memset
(
q
,
0
,
sizeof
(
*
q
));
pthread_mutex_init
(
&
q
->
mutex
,
NULL
);
...
...
@@ -1152,14 +1155,11 @@ void *ue_standalone_pnf_task(void *context)
continue
;
}
if
(
len
==
2
&&
len
>
0
)
if
(
len
==
sizeof
(
uint16_t
)
)
{
memcpy
((
void
*
)
&
sfn_sf
,
buffer
,
sizeof
(
sfn_sf
));
if
(
sfn_sf
%
300
==
0
)
{
LOG_I
(
MAC
,
"Unpacked sfn_sf sf: %u sfn: %u
\n
"
,
NFAPI_SFNSF2SFN
(
sfn_sf
),
NFAPI_SFNSF2SF
(
sfn_sf
));
}
subframe_sf
=
NFAPI_SFNSF2SF
(
sfn_sf
);
frame_sfn
=
NFAPI_SFNSF2SFN
(
sfn_sf
);
}
else
{
...
...
openair2/PHY_INTERFACE/phy_stub_UE.h
View file @
2285919f
...
...
@@ -156,4 +156,7 @@ extern queue_t hi_dci0_req_queue;
extern
nfapi_ul_config_request_t
*
ul_config_req
;
extern
nfapi_hi_dci0_request_t
*
hi_dci0_req
;
extern
int
subframe_sf
;
extern
int
frame_sfn
;
#endif
/* PHY_STUB_UE_H_ */
targets/RT/USER/lte-ue.c
View file @
2285919f
This diff is collapsed.
Click to expand it.
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