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
spbro
OpenXG-RAN
Commits
8888a6bd
Commit
8888a6bd
authored
Sep 27, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove aerial_phy_harq_indication(): this is a 4G callback
parent
24c8e6c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
43 deletions
+1
-43
nfapi/oai_integration/aerial/fapi_vnf_p5.c
nfapi/oai_integration/aerial/fapi_vnf_p5.c
+1
-1
nfapi/oai_integration/aerial/fapi_vnf_p7.c
nfapi/oai_integration/aerial/fapi_vnf_p7.c
+0
-41
nfapi/oai_integration/aerial/fapi_vnf_p7.h
nfapi/oai_integration/aerial/fapi_vnf_p7.h
+0
-1
No files found.
nfapi/oai_integration/aerial/fapi_vnf_p5.c
View file @
8888a6bd
...
...
@@ -55,7 +55,7 @@ void *aerial_vnf_nr_p7_config_init(void *ptr)
p7_vnf
->
config
->
port
=
p7_vnf
->
local_port
;
p7_vnf
->
config
->
sync_indication
=
NULL
;
p7_vnf
->
config
->
slot_indication
=
NULL
;
p7_vnf
->
config
->
harq_indication
=
&
aerial_phy_harq_indication
;
p7_vnf
->
config
->
harq_indication
=
NULL
;
p7_vnf
->
config
->
nr_crc_indication
=
&
aerial_phy_nr_crc_indication
;
p7_vnf
->
config
->
nr_rx_data_indication
=
&
aerial_phy_nr_rx_data_indication
;
p7_vnf
->
config
->
nr_rach_indication
=
&
aerial_phy_nr_rach_indication
;
...
...
nfapi/oai_integration/aerial/fapi_vnf_p7.c
View file @
8888a6bd
...
...
@@ -136,47 +136,6 @@ extern pthread_cond_t nfapi_sync_cond;
extern
pthread_mutex_t
nfapi_sync_mutex
;
extern
int
nfapi_sync_var
;
int
aerial_phy_harq_indication
(
struct
nfapi_vnf_p7_config
*
config
,
nfapi_harq_indication_t
*
ind
)
{
struct
PHY_VARS_eNB_s
*
eNB
=
RC
.
eNB
[
0
][
0
];
LOG_D
(
MAC
,
"%s() NFAPI SFN/SF:%d number_of_harqs:%u
\n
"
,
__FUNCTION__
,
NFAPI_SFNSF2DEC
(
ind
->
sfn_sf
),
ind
->
harq_indication_body
.
number_of_harqs
);
AssertFatal
(
pthread_mutex_lock
(
&
eNB
->
UL_INFO_mutex
)
==
0
,
"Mutex lock failed"
);
if
(
NFAPI_MODE
==
NFAPI_MODE_VNF
)
{
int8_t
index
=
NFAPI_SFNSF2SF
(
ind
->
sfn_sf
);
UL_RCC_INFO
.
harq_ind
[
index
]
=
*
ind
;
assert
(
ind
->
harq_indication_body
.
number_of_harqs
<=
NFAPI_HARQ_IND_MAX_PDU
);
if
(
ind
->
harq_indication_body
.
number_of_harqs
>
0
)
{
UL_RCC_INFO
.
harq_ind
[
index
].
harq_indication_body
.
harq_pdu_list
=
malloc
(
sizeof
(
nfapi_harq_indication_pdu_t
)
*
NFAPI_HARQ_IND_MAX_PDU
);
}
for
(
int
i
=
0
;
i
<
ind
->
harq_indication_body
.
number_of_harqs
;
i
++
)
{
memcpy
(
&
UL_RCC_INFO
.
harq_ind
[
index
].
harq_indication_body
.
harq_pdu_list
[
i
],
&
ind
->
harq_indication_body
.
harq_pdu_list
[
i
],
sizeof
(
nfapi_harq_indication_pdu_t
));
}
}
else
{
eNB
->
UL_INFO
.
harq_ind
=
*
ind
;
eNB
->
UL_INFO
.
harq_ind
.
harq_indication_body
.
harq_pdu_list
=
eNB
->
harq_pdu_list
;
assert
(
ind
->
harq_indication_body
.
number_of_harqs
<=
NFAPI_HARQ_IND_MAX_PDU
);
for
(
int
i
=
0
;
i
<
ind
->
harq_indication_body
.
number_of_harqs
;
i
++
)
{
memcpy
(
&
eNB
->
UL_INFO
.
harq_ind
.
harq_indication_body
.
harq_pdu_list
[
i
],
&
ind
->
harq_indication_body
.
harq_pdu_list
[
i
],
sizeof
(
eNB
->
UL_INFO
.
harq_ind
.
harq_indication_body
.
harq_pdu_list
[
i
]));
}
}
AssertFatal
(
pthread_mutex_unlock
(
&
eNB
->
UL_INFO_mutex
)
==
0
,
"Mutex unlock failed"
);
// vnf_p7_info* p7_vnf = (vnf_p7_info*)(config->user_data);
// mac_harq_ind(p7_vnf->mac, ind);
return
1
;
}
int
aerial_phy_nr_crc_indication
(
nfapi_nr_crc_indication_t
*
ind
)
{
if
(
NFAPI_MODE
==
NFAPI_MODE_AERIAL
)
{
...
...
nfapi/oai_integration/aerial/fapi_vnf_p7.h
View file @
8888a6bd
...
...
@@ -180,7 +180,6 @@ typedef struct {
}
vnf_info
;
int
aerial_phy_harq_indication
(
struct
nfapi_vnf_p7_config
*
config
,
nfapi_harq_indication_t
*
ind
);
int
aerial_phy_nr_crc_indication
(
nfapi_nr_crc_indication_t
*
ind
);
int
aerial_phy_nr_rx_data_indication
(
nfapi_nr_rx_data_indication_t
*
ind
);
int
aerial_phy_nr_rach_indication
(
nfapi_nr_rach_indication_t
*
ind
);
...
...
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