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
OpenXG
OpenXG UE
Commits
1cd7bd7c
Commit
1cd7bd7c
authored
Jun 15, 2020
by
Andrew Burger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaned up behemoth
parent
b220e476
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
196 additions
and
308 deletions
+196
-308
nfapi/open-nFAPI/nfapi/public_inc/nfapi_interface.h
nfapi/open-nFAPI/nfapi/public_inc/nfapi_interface.h
+4
-4
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+5
-6
openair2/PHY_INTERFACE/phy_stub_UE.h
openair2/PHY_INTERFACE/phy_stub_UE.h
+1
-2
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+186
-296
No files found.
nfapi/open-nFAPI/nfapi/public_inc/nfapi_interface.h
View file @
1cd7bd7c
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
1cd7bd7c
...
@@ -50,8 +50,7 @@ queue_t tx_req_pdu_queue;
...
@@ -50,8 +50,7 @@ queue_t tx_req_pdu_queue;
queue_t
ul_config_req_queue
;
queue_t
ul_config_req_queue
;
queue_t
hi_dci0_req_queue
;
queue_t
hi_dci0_req_queue
;
int
subframe_sf
=
0
;
int
current_sfn_sf
;
int
frame_sfn
=
0
;
static
int
ue_sock_descriptor
=
-
1
;
static
int
ue_sock_descriptor
=
-
1
;
...
@@ -244,7 +243,7 @@ void fill_rach_indication_UE_MAC(int Mod_id,
...
@@ -244,7 +243,7 @@ void fill_rach_indication_UE_MAC(int Mod_id,
// Andrew - send proxy specific socket instead of oai_nfapi_rach_ind Send the whole UL_INFO struct
// Andrew - send proxy specific socket instead of oai_nfapi_rach_ind Send the whole UL_INFO struct
// as soon as numberof preambles
// as soon as numberof preambles
if
(
NFAPI_MODE
==
NFAPI_MODE_STANDALONE_PNF
)
{
if
(
NFAPI_MODE
==
NFAPI_MODE_STANDALONE_PNF
)
{
send_standalone_rach
(
&
UL_INFO
->
rach_ind
);
send_standalone_rach
(
&
UL_INFO
->
rach_ind
);
// dont
}
else
{
}
else
{
oai_nfapi_rach_ind
(
&
UL_INFO
->
rach_ind
);
oai_nfapi_rach_ind
(
&
UL_INFO
->
rach_ind
);
}
}
...
@@ -1115,7 +1114,7 @@ void ue_init_standalone_socket(const char *addr, int port)
...
@@ -1115,7 +1114,7 @@ void ue_init_standalone_socket(const char *addr, int port)
void
*
ue_standalone_pnf_task
(
void
*
context
)
void
*
ue_standalone_pnf_task
(
void
*
context
)
{
{
uint16_t
sfn_sf
=
0
;
char
buffer
[
1024
];
char
buffer
[
1024
];
int
sd
=
ue_sock_descriptor
;
int
sd
=
ue_sock_descriptor
;
...
@@ -1131,9 +1130,9 @@ void *ue_standalone_pnf_task(void *context)
...
@@ -1131,9 +1130,9 @@ void *ue_standalone_pnf_task(void *context)
if
(
len
==
sizeof
(
uint16_t
))
if
(
len
==
sizeof
(
uint16_t
))
{
{
uint16_t
sfn_sf
=
0
;
memcpy
((
void
*
)
&
sfn_sf
,
buffer
,
sizeof
(
sfn_sf
));
memcpy
((
void
*
)
&
sfn_sf
,
buffer
,
sizeof
(
sfn_sf
));
subframe_sf
=
NFAPI_SFNSF2SF
(
sfn_sf
);
current_sfn_sf
=
sfn_sf
;
frame_sfn
=
NFAPI_SFNSF2SFN
(
sfn_sf
);
}
}
else
else
{
{
...
...
openair2/PHY_INTERFACE/phy_stub_UE.h
View file @
1cd7bd7c
...
@@ -146,7 +146,6 @@ extern queue_t hi_dci0_req_queue;
...
@@ -146,7 +146,6 @@ extern queue_t hi_dci0_req_queue;
extern
nfapi_ul_config_request_t
*
ul_config_req
;
extern
nfapi_ul_config_request_t
*
ul_config_req
;
extern
nfapi_hi_dci0_request_t
*
hi_dci0_req
;
extern
nfapi_hi_dci0_request_t
*
hi_dci0_req
;
extern
int
subframe_sf
;
extern
int
current_sfn_sf
;
extern
int
frame_sfn
;
#endif
/* PHY_STUB_UE_H_ */
#endif
/* PHY_STUB_UE_H_ */
targets/RT/USER/lte-ue.c
View file @
1cd7bd7c
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