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
a3f9ee4d
Commit
a3f9ee4d
authored
Nov 30, 2022
by
Vaibhav Shrivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OAI UE Compilation Fix
parent
195baf2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+32
-0
No files found.
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
a3f9ee4d
...
@@ -46,6 +46,7 @@ void configure_nfapi_pnf(char *vnf_ip_addr,
...
@@ -46,6 +46,7 @@ void configure_nfapi_pnf(char *vnf_ip_addr,
int
pnf_p7_port
,
int
pnf_p7_port
,
int
vnf_p7_port
);
int
vnf_p7_port
);
extern
RAN_CONTEXT_t
RC
;
UL_IND_t
*
UL_INFO
=
NULL
;
UL_IND_t
*
UL_INFO
=
NULL
;
queue_t
dl_config_req_tx_req_queue
;
queue_t
dl_config_req_tx_req_queue
;
...
@@ -2215,3 +2216,34 @@ static bool should_drop_transport_block(int sf, uint16_t rnti)
...
@@ -2215,3 +2216,34 @@ static bool should_drop_transport_block(int sf, uint16_t rnti)
}
}
return
false
;
return
false
;
}
}
//------------------------------------------------------------------------------
int
find_UE_id
(
module_id_t
mod_idP
,
rnti_t
rntiP
)
//------------------------------------------------------------------------------
{
int
UE_id
;
UE_info_t
*
UE_info
=
&
RC
.
mac
[
mod_idP
]
->
UE_info
;
if
(
!
UE_info
)
return
-
1
;
for
(
UE_id
=
0
;
UE_id
<
MAX_MOBILES_PER_ENB
;
UE_id
++
)
{
int
CC_id
=
UE_PCCID
(
mod_idP
,
UE_id
);
if
(
UE_info
->
active
[
CC_id
][
UE_id
]
==
TRUE
)
{
if
(
CC_id
>=
0
&&
CC_id
<
NFAPI_CC_MAX
&&
UE_info
->
UE_template
[
CC_id
][
UE_id
].
rnti
==
rntiP
)
{
return
UE_id
;
}
}
}
return
-
1
;
}
//------------------------------------------------------------------------------
int
UE_PCCID
(
module_id_t
mod_idP
,
int
ue_idP
)
//------------------------------------------------------------------------------
{
return
(
RC
.
mac
[
mod_idP
]
->
UE_info
.
pCC_id
[
ue_idP
]);
}
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