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
0a961da6
Commit
0a961da6
authored
Aug 10, 2021
by
Mahesh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
documentation typo, build error, pack/unpack bug fix
parent
a5c38ee6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
10 deletions
+20
-10
doc/NR_NFAPI_archi.md
doc/NR_NFAPI_archi.md
+1
-1
nfapi/oai_integration/nfapi_pnf.c
nfapi/oai_integration/nfapi_pnf.c
+3
-0
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
+2
-2
openair1/SCHED/nfapi_lte_dummy.c
openair1/SCHED/nfapi_lte_dummy.c
+4
-0
openair1/SCHED/nfapi_nr_dummy.c
openair1/SCHED/nfapi_nr_dummy.c
+4
-0
openair1/SCHED_NR/fapi_nr_l1.c
openair1/SCHED_NR/fapi_nr_l1.c
+0
-1
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
+6
-6
No files found.
doc/NR_NFAPI_archi.md
View file @
0a961da6
...
...
@@ -112,7 +112,7 @@ While receiving the DL P7 message, we check whether the message was received wit
graph TB
pselect[PNF socket pselect] -- timed out : end of slot --> slot_inc[Increment sfn/slot];
pselect[PNF socket pselect] -- DL p7 xyz msg recvd --> msg_recvd[Read message pnf_nr_nfapi_p7_read_dispatch_message] --> header_unpack[Unpack Header] -- switch cases on header --> unpack_msg[Unpack Message pnf_handle_nr_xyz] --> fill_pnf_p7[Fill pnf_p7 global structure pnf_handle_nr_xyz] --Data from pnf_p7 struct copied to fapi structures using pnf_phy_***_req. Called every slot from
oai
_slot_ind-->pselect;
pselect[PNF socket pselect] -- DL p7 xyz msg recvd --> msg_recvd[Read message pnf_nr_nfapi_p7_read_dispatch_message] --> header_unpack[Unpack Header] -- switch cases on header --> unpack_msg[Unpack Message pnf_handle_nr_xyz] --> fill_pnf_p7[Fill pnf_p7 global structure pnf_handle_nr_xyz] --Data from pnf_p7 struct copied to fapi structures using pnf_phy_***_req. Called every slot from
handle_nr
_slot_ind-->pselect;
slot_inc -- next slot --> pselect
```
...
...
nfapi/oai_integration/nfapi_pnf.c
View file @
0a961da6
...
...
@@ -92,6 +92,9 @@ extern void handle_nr_nfapi_pdsch_pdu(PHY_VARS_gNB *gNB,int frame,int slot,
uint8_t
*
sdu
);
extern
void
handle_nr_nfapi_ssb_pdu
(
PHY_VARS_gNB
*
gNB
,
int
frame
,
int
slot
,
nfapi_nr_dl_tti_request_pdu_t
*
dl_tti_pdu
);
extern
void
handle_nfapi_nr_csirs_pdu
(
PHY_VARS_gNB
*
gNB
,
int
frame
,
int
slot
,
nfapi_nr_dl_tti_csi_rs_pdu
*
csirs_pdu
);
extern
void
nr_fill_ulsch
(
PHY_VARS_gNB
*
gNB
,
int
frame
,
int
slot
,
...
...
nfapi/open-nFAPI/nfapi/src/nfapi_p7.c
View file @
0a961da6
...
...
@@ -708,7 +708,7 @@ static uint8_t pack_dl_tti_request_body_value(void* tlv, uint8_t **ppWritePacked
{
nfapi_nr_dl_tti_request_pdu_t
*
value
=
(
nfapi_nr_dl_tti_request_pdu_t
*
)
tlv
;
if
(
!
(
push
16
(
value
->
PDUSize
,
ppWritePackedMsg
,
end
)
&&
if
(
!
(
push
32
(
value
->
PDUSize
,
ppWritePackedMsg
,
end
)
&&
push16
(
value
->
PDUType
,
ppWritePackedMsg
,
end
)
))
return
0
;
...
...
@@ -4607,7 +4607,7 @@ static uint8_t unpack_dl_tti_request_body_value(uint8_t **ppReadPackedMsg, uint8
{
nfapi_nr_dl_tti_request_pdu_t
*
value
=
(
nfapi_nr_dl_tti_request_pdu_t
*
)
msg
;
if
(
!
(
pull
16
(
ppReadPackedMsg
,
&
value
->
PDUSize
,
end
)
&&
if
(
!
(
pull
32
(
ppReadPackedMsg
,
&
value
->
PDUSize
,
end
)
&&
pull16
(
ppReadPackedMsg
,
&
value
->
PDUType
,
end
)
))
return
0
;
...
...
openair1/SCHED/nfapi_lte_dummy.c
View file @
0a961da6
...
...
@@ -17,6 +17,10 @@ void handle_nr_nfapi_pdsch_pdu(PHY_VARS_gNB *gNB,int frame,int slot,
nfapi_nr_dl_tti_pdsch_pdu
*
pdsch_pdu
,
uint8_t
*
sdu
){
}
void
handle_nfapi_nr_csirs_pdu
(
PHY_VARS_gNB
*
gNB
,
int
frame
,
int
slot
,
nfapi_nr_dl_tti_csi_rs_pdu
*
csirs_pdu
){
}
int
l1_north_init_gNB
(
void
){
return
0
;}
uint8_t
slot_ahead
=
6
;
...
...
openair1/SCHED/nfapi_nr_dummy.c
View file @
0a961da6
...
...
@@ -17,6 +17,10 @@ void handle_nr_nfapi_pdsch_pdu(PHY_VARS_gNB *gNB,int frame,int slot,
nfapi_nr_dl_tti_pdsch_pdu
*
pdsch_pdu
,
uint8_t
*
sdu
){
}
void
handle_nfapi_nr_csirs_pdu
(
PHY_VARS_gNB
*
gNB
,
int
frame
,
int
slot
,
nfapi_nr_dl_tti_csi_rs_pdu
*
csirs_pdu
){
}
int
l1_north_init_gNB
(
void
){
return
0
;}
uint8_t
slot_ahead
=
6
;
...
...
openair1/SCHED_NR/fapi_nr_l1.c
View file @
0a961da6
...
...
@@ -229,7 +229,6 @@ void nr_schedule_response(NR_Sched_Rsp_t *Sched_INFO){
AssertFatal
(
TX_req
->
pdu_list
[
pduIndex
].
num_TLV
==
1
,
"TX_req->pdu_list[%d].num_TLV %d != 1
\n
"
,
pduIndex
,
TX_req
->
pdu_list
[
pduIndex
].
num_TLV
);
uint8_t
*
sdu
=
(
uint8_t
*
)
TX_req
->
pdu_list
[
pduIndex
].
TLVs
[
0
].
value
.
direct
;
if
(
NFAPI_MODE
!=
NFAPI_MODE_VNF
)
handle_nr_nfapi_pdsch_pdu
(
gNB
,
frame
,
slot
,
&
dl_tti_pdu
->
pdsch_pdu
,
sdu
);
break
;
}
...
...
openair2/NR_PHY_INTERFACE/NR_IF_Module.c
View file @
0a961da6
...
...
@@ -48,12 +48,12 @@ extern int oai_nfapi_crc_indication(nfapi_crc_indication_t *crc_ind);
extern
int
oai_nfapi_cqi_indication
(
nfapi_cqi_indication_t
*
cqi_ind
);
extern
int
oai_nfapi_sr_indication
(
nfapi_sr_indication_t
*
ind
);
extern
int
oai_nfapi_rx_ind
(
nfapi_rx_indication_t
*
ind
);
int
oai_nfapi_nr_slot_indication
(
nfapi_nr_slot_indication_scf_t
*
ind
);
int
oai_nfapi_nr_rx_data_indication
(
nfapi_nr_rx_data_indication_t
*
ind
);
int
oai_nfapi_nr_crc_indication
(
nfapi_nr_crc_indication_t
*
ind
);
int
oai_nfapi_nr_srs_indication
(
nfapi_nr_srs_indication_t
*
ind
);
int
oai_nfapi_nr_uci_indication
(
nfapi_nr_uci_indication_t
*
ind
);
int
oai_nfapi_nr_rach_indication
(
nfapi_nr_rach_indication_t
*
ind
);
extern
int
oai_nfapi_nr_slot_indication
(
nfapi_nr_slot_indication_scf_t
*
ind
);
extern
int
oai_nfapi_nr_rx_data_indication
(
nfapi_nr_rx_data_indication_t
*
ind
);
extern
int
oai_nfapi_nr_crc_indication
(
nfapi_nr_crc_indication_t
*
ind
);
extern
int
oai_nfapi_nr_srs_indication
(
nfapi_nr_srs_indication_t
*
ind
);
extern
int
oai_nfapi_nr_uci_indication
(
nfapi_nr_uci_indication_t
*
ind
);
extern
int
oai_nfapi_nr_rach_indication
(
nfapi_nr_rach_indication_t
*
ind
);
extern
uint8_t
nfapi_mode
;
extern
uint16_t
sf_ahead
;
extern
uint16_t
sl_ahead
;
...
...
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