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
c97bb963
Commit
c97bb963
authored
Aug 24, 2020
by
Mahesh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error in pnf_p7_slot_ind() resolved
parent
a3156f54
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface.h
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface.h
+1
-1
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
+2
-1
nfapi/open-nFAPI/pnf/src/pnf_p7.c
nfapi/open-nFAPI/pnf/src/pnf_p7.c
+2
-2
No files found.
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface.h
View file @
c97bb963
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#define _NFAPI_NR_INTERFACE_H_
#define _NFAPI_NR_INTERFACE_H_
#include "nfapi_interface.h"
#include "nfapi_interface.h"
#include "
/home/glab/NR_nfapi/openairinterface5g/
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h"
#include "nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h"
#define NFAPI_NR_MAX_NB_CCE_AGGREGATION_LEVELS 5
#define NFAPI_NR_MAX_NB_CCE_AGGREGATION_LEVELS 5
#define NFAPI_NR_MAX_NB_TCI_STATES_PDCCH 64
#define NFAPI_NR_MAX_NB_TCI_STATES_PDCCH 64
...
...
nfapi/open-nFAPI/nfapi/src/nfapi_p5.c
View file @
c97bb963
...
@@ -1655,7 +1655,8 @@ static uint8_t unpack_config_request(uint8_t **ppReadPackedMsg, uint8_t *end, vo
...
@@ -1655,7 +1655,8 @@ static uint8_t unpack_config_request(uint8_t **ppReadPackedMsg, uint8_t *end, vo
nfapi_nr_config_request_scf_t
*
pNfapiMsg
=
(
nfapi_nr_config_request_scf_t
*
)
msg
;
nfapi_nr_config_request_scf_t
*
pNfapiMsg
=
(
nfapi_nr_config_request_scf_t
*
)
msg
;
pNfapiMsg
->
tdd_table
.
max_tdd_periodicity_list
=
(
nfapi_nr_max_tdd_periodicity_t
*
)
malloc
(
20
*
sizeof
(
nfapi_nr_max_tdd_periodicity_t
));
pNfapiMsg
->
tdd_table
.
max_tdd_periodicity_list
=
(
nfapi_nr_max_tdd_periodicity_t
*
)
malloc
(
20
*
sizeof
(
nfapi_nr_max_tdd_periodicity_t
));
pNfapiMsg
->
tdd_table
.
max_tdd_periodicity_list
[
0
].
max_num_of_symbol_per_slot_list
=
(
nfapi_nr_max_num_of_symbol_per_slot_t
*
)
malloc
(
14
*
sizeof
(
nfapi_nr_max_num_of_symbol_per_slot_t
));
for
(
int
i
=
0
;
i
<
40
;
i
++
)
pNfapiMsg
->
tdd_table
.
max_tdd_periodicity_list
[
i
].
max_num_of_symbol_per_slot_list
=
(
nfapi_nr_max_num_of_symbol_per_slot_t
*
)
malloc
(
14
*
sizeof
(
nfapi_nr_max_num_of_symbol_per_slot_t
));
unpack_tlv_t
unpack_fns
[]
=
unpack_tlv_t
unpack_fns
[]
=
...
...
nfapi/open-nFAPI/pnf/src/pnf_p7.c
View file @
c97bb963
...
@@ -897,7 +897,7 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
...
@@ -897,7 +897,7 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
}
}
}
}
if
(
tx_slot_buffer
!=
0
)
if
(
tx_slot_buffer
->
ul_dci_req
!=
0
)
{
{
if
(
pnf_p7
->
_public
.
ul_dci_req_fn
)
if
(
pnf_p7
->
_public
.
ul_dci_req_fn
)
(
pnf_p7
->
_public
.
ul_dci_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
tx_slot_buffer
->
ul_dci_req
);
(
pnf_p7
->
_public
.
ul_dci_req_fn
)(
NULL
,
&
(
pnf_p7
->
_public
),
tx_slot_buffer
->
ul_dci_req
);
...
@@ -1010,7 +1010,7 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
...
@@ -1010,7 +1010,7 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
//deallocate_nfapi_tx_request(subframe_buffer->tx_req, pnf_p7);
//deallocate_nfapi_tx_request(subframe_buffer->tx_req, pnf_p7);
if
(
slot_buffer
->
ul_tti_req
!=
0
)
if
(
slot_buffer
->
ul_tti_req
!=
0
)
{
{
deallocate_nfapi_ul_
config
_request
(
slot_buffer
->
ul_tti_req
,
pnf_p7
);
deallocate_nfapi_ul_
tti
_request
(
slot_buffer
->
ul_tti_req
,
pnf_p7
);
slot_buffer
->
ul_tti_req
=
0
;
slot_buffer
->
ul_tti_req
=
0
;
}
}
...
...
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