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
ZhouShuya
OpenXG-RAN
Commits
e01d0bcc
Commit
e01d0bcc
authored
Jun 19, 2018
by
Calvin HSU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix nfapi struct and nameing rule
parent
5ed0599c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
409 additions
and
0 deletions
+409
-0
nfapi/open-nFAPI/nfapi/public_inc/BAK/nr_ue_fapi_interface.h.bak
...pen-nFAPI/nfapi/public_inc/BAK/nr_ue_fapi_interface.h.bak
+0
-0
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_ue_interface.h
nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_ue_interface.h
+409
-0
No files found.
nfapi/open-nFAPI/nfapi/public_inc/
NR_UE
/nr_ue_fapi_interface.h.bak
→
nfapi/open-nFAPI/nfapi/public_inc/
BAK
/nr_ue_fapi_interface.h.bak
View file @
e01d0bcc
File moved
nfapi/open-nFAPI/nfapi/public_inc/
NR_UE/nr_ue_fapi
_interface.h
→
nfapi/open-nFAPI/nfapi/public_inc/
nfapi_nr_ue
_interface.h
View file @
e01d0bcc
...
...
@@ -15,72 +15,72 @@
*/
#ifndef _NFAPI_INTERFACE_NR_EXTENSION_H_
#define _NFAPI_INTERFACE_NR_EXTENSION_H_
#define _NFAPI_INTERFACE_H_
#ifndef _NFAPI_
NR_
INTERFACE_NR_EXTENSION_H_
#define _NFAPI_
NR_
INTERFACE_NR_EXTENSION_H_
#define _NFAPI_
NR_
INTERFACE_H_
#include "stddef.h"
// Constants - update based on implementation
#define N
R_NFAPI
_MAX_PHY_RF_INSTANCES 2
#define N
R_NFAPI
_PNF_PARAM_GENERAL_LOCATION_LENGTH 16
#define N
R_NFAPI
_PNF_PARAM_GENERAL_OUI_LENGTH 3
#define N
R_NFAPI
_MAX_NUM_RF_BANDS 16
#define N
FAPI_NR
_MAX_PHY_RF_INSTANCES 2
#define N
FAPI_NR
_PNF_PARAM_GENERAL_LOCATION_LENGTH 16
#define N
FAPI_NR
_PNF_PARAM_GENERAL_OUI_LENGTH 3
#define N
FAPI_NR
_MAX_NUM_RF_BANDS 16
// The following definition control the size of arrays used in the interface.
// These may be changed if desired. They are used in the encoder to make sure
// that the user has not specified a 'count' larger than the max array, and also
// used by the decoder when decode an array. If the 'count' received is larger
// than the array it is to be stored in the decode fails.
#define N
R_NFAPI
_MAX_NUM_ANTENNAS 8
#define N
R_NFAPI
_MAX_NUM_SUBBANDS 13
#define N
R_NFAPI
_MAX_BF_VECTORS 8
#define N
R_NFAPI
_MAX_CC 1
#define N
R_NFAPI
_MAX_NUM_PHYSICAL_ANTENNAS 8
#define N
R_NFAPI
_MAX_RSSI 8
#define N
R_NFAPI
_MAX_PSC_LIST 32
#define N
R_NFAPI
_MAX_PCI_LIST 32
#define N
R_NFAPI
_MAX_CARRIER_LIST 32
#define N
R_NFAPI
_MAX_ARFCN_LIST 128
#define N
R_NFAPI
_MAX_LTE_CELLS_FOUND 8
#define N
R_NFAPI
_MAX_UTRAN_CELLS_FOUND 8
#define N
R_NFAPI
_MAX_GSM_CELLS_FOUND 8
#define N
R_NFAPI
_MAX_NB_IOT_CELLS_FOUND 8
#define N
R_NFAPI
_MAX_SI_PERIODICITY 8
#define N
R_NFAPI
_MAX_SI_INDEX 8
#define N
R_NFAPI
_MAX_MIB_LENGTH 32
#define N
R_NFAPI
_MAX_SIB_LENGTH 256
#define N
R_NFAPI
_MAX_SI_LENGTH 256
#define N
R_NFAPI
_MAX_OPAQUE_DATA 64
#define N
R_NFAPI
_MAX_NUM_SCHEDULED_UES 8 // Used in the TPM structure
#define N
R_NFAPI
_MAX_PNF_PHY 5
#define N
R_NFAPI
_MAX_PNF_PHY_RF_CONFIG 5
#define N
R_NFAPI
_MAX_PNF_RF 5
#define N
R_NFAPI
_MAX_NMM_FREQUENCY_BANDS 32
#define N
R_NFAPI
_MAX_RECEIVED_INTERFERENCE_POWER_RESULTS 100
#define N
R_NFAPI
_MAX_UL_DL_CONFIGURATIONS 5
#define N
R_NFAPI
_MAX_CSI_RS_RESOURCE_CONFIG 4
#define N
R_NFAPI
_MAX_ANTENNA_PORT_COUNT 8
#define N
R_NFAPI
_MAX_EPDCCH_PRB 8
#define N
R_NFAPI
_MAX_TX_PHYSICAL_ANTENNA_PORTS 8
#define N
R_NFAPI
_MAX_NUMBER_ACK_NACK_TDD 8
#define N
R_NFAPI
_MAX_RO_DL 8
#define N
R_NFAPI
_HEADER_LENGTH 8
#define N
R_NFAPI
_P7_HEADER_LENGTH 16
#define N
R_NFAPI
_VENDOR_EXTENSION_MIN_TAG_VALUE 0xF000
#define N
R_NFAPI
_VENDOR_EXTENSION_MAX_TAG_VALUE 0xFFFF
#define N
R_NFAPI
_VERSION_3_0_11 0x000
#define N
R_NFAPI
_VERSION_3_0_12 0x001
#define N
R_NFAPI
_HALF_FRAME_INDEX_FIRST_HALF 0
#define N
R_NFAPI
_HALF_FRAME_INDEX_SECOND_HALF 1
#define N
FAPI_NR
_MAX_NUM_ANTENNAS 8
#define N
FAPI_NR
_MAX_NUM_SUBBANDS 13
#define N
FAPI_NR
_MAX_BF_VECTORS 8
#define N
FAPI_NR
_MAX_CC 1
#define N
FAPI_NR
_MAX_NUM_PHYSICAL_ANTENNAS 8
#define N
FAPI_NR
_MAX_RSSI 8
#define N
FAPI_NR
_MAX_PSC_LIST 32
#define N
FAPI_NR
_MAX_PCI_LIST 32
#define N
FAPI_NR
_MAX_CARRIER_LIST 32
#define N
FAPI_NR
_MAX_ARFCN_LIST 128
#define N
FAPI_NR
_MAX_LTE_CELLS_FOUND 8
#define N
FAPI_NR
_MAX_UTRAN_CELLS_FOUND 8
#define N
FAPI_NR
_MAX_GSM_CELLS_FOUND 8
#define N
FAPI_NR
_MAX_NB_IOT_CELLS_FOUND 8
#define N
FAPI_NR
_MAX_SI_PERIODICITY 8
#define N
FAPI_NR
_MAX_SI_INDEX 8
#define N
FAPI_NR
_MAX_MIB_LENGTH 32
#define N
FAPI_NR
_MAX_SIB_LENGTH 256
#define N
FAPI_NR
_MAX_SI_LENGTH 256
#define N
FAPI_NR
_MAX_OPAQUE_DATA 64
#define N
FAPI_NR
_MAX_NUM_SCHEDULED_UES 8 // Used in the TPM structure
#define N
FAPI_NR
_MAX_PNF_PHY 5
#define N
FAPI_NR
_MAX_PNF_PHY_RF_CONFIG 5
#define N
FAPI_NR
_MAX_PNF_RF 5
#define N
FAPI_NR
_MAX_NMM_FREQUENCY_BANDS 32
#define N
FAPI_NR
_MAX_RECEIVED_INTERFERENCE_POWER_RESULTS 100
#define N
FAPI_NR
_MAX_UL_DL_CONFIGURATIONS 5
#define N
FAPI_NR
_MAX_CSI_RS_RESOURCE_CONFIG 4
#define N
FAPI_NR
_MAX_ANTENNA_PORT_COUNT 8
#define N
FAPI_NR
_MAX_EPDCCH_PRB 8
#define N
FAPI_NR
_MAX_TX_PHYSICAL_ANTENNA_PORTS 8
#define N
FAPI_NR
_MAX_NUMBER_ACK_NACK_TDD 8
#define N
FAPI_NR
_MAX_RO_DL 8
#define N
FAPI_NR
_HEADER_LENGTH 8
#define N
FAPI_NR
_P7_HEADER_LENGTH 16
#define N
FAPI_NR
_VENDOR_EXTENSION_MIN_TAG_VALUE 0xF000
#define N
FAPI_NR
_VENDOR_EXTENSION_MAX_TAG_VALUE 0xFFFF
#define N
FAPI_NR
_VERSION_3_0_11 0x000
#define N
FAPI_NR
_VERSION_3_0_12 0x001
#define N
FAPI_NR
_HALF_FRAME_INDEX_FIRST_HALF 0
#define N
FAPI_NR
_HALF_FRAME_INDEX_SECOND_HALF 1
// The IANA agreed port definition of the P5 SCTP VNF enpoint
// http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=7701
#define N
R_NFAPI
_P5_SCTP_PORT 7701
#define N
FAPI_NR
_P5_SCTP_PORT 7701
typedef
unsigned
int
uint32_t
;
typedef
unsigned
short
uint16_t
;
...
...
@@ -94,7 +94,7 @@ typedef struct {
uint16_t
message_id
;
uint16_t
message_length
;
uint16_t
spare
;
}
n
r_nfapi
_p4_p5_message_header_t
;
}
n
fapi_nr
_p4_p5_message_header_t
;
typedef
struct
{
uint16_t
phy_id
;
...
...
@@ -103,20 +103,20 @@ typedef struct {
uint16_t
m_segment_sequence
;
/* This consists of 3 fields - namely, M, Segement & Sequence number*/
uint32_t
checksum
;
uint32_t
transmit_timestamp
;
}
n
r_nfapi
_p7_message_header_t
;
}
n
fapi_nr
_p7_message_header_t
;
typedef
struct
{
uint16_t
tag
;
uint16_t
length
;
}
n
r_nfapi
_tl_t
;
#define N
R_NFAPI
_TAG_LENGTH_PACKED_LEN 4
}
n
fapi_nr
_tl_t
;
#define N
FAPI_NR
_TAG_LENGTH_PACKED_LEN 4
typedef
struct
{
n
r_nfapi
_tl_t
tl
;
n
fapi_nr
_tl_t
tl
;
// common C-RNTI
uint8_t
dci_format
;
uint8_t
frequency_domain_resouce_assignment
;
// 38.214 chapter 5.1.2.2
...
...
@@ -129,10 +129,8 @@ typedef struct {
uint8_t
harq_process
;
uint8_t
tpc_command
;
// format 0_0 C-RNTI
uint8_t
ul_sul_ind
;
// format 0_1 C-RNTI
uint8_t
carrier_indicator
;
uint8_t
bwp_indndicator
;
uint8_t
vrb_to_prb_mapping
;
...
...
@@ -146,82 +144,37 @@ typedef struct {
uint8_t
cbg_transmission_information
;
uint8_t
ptrs_dmrs_association
;
// format 0_1 CS-RNTI
// format 0_1 SP-CSI-RNTI
}
nr_nfapi_dci0_pdu_rel15_t
;
#define NR_NFAPI_HI_DCI0_REQUEST_DCI_PDU_REL8_TAG 0x2020
typedef
struct
{
nr_nfapi_tl_t
tl
;
// common C-RNTI, TC-RNTI and RA-RNTI
uint8_t
dci_format
;
uint8_t
frequency_domain_resouce_assignment
;
uint8_t
time_domain_resource_assignment
;
uint8_t
vrb_to_prb_mapping
;
uint8_t
mcs
;
uint8_t
new_data_indication
;
uint8_t
redundancy_version
;
uint8_t
harq_process
;
uint8_t
downlink_assignment_index
;
uint8_t
tpc_command
;
uint8_t
pucch_resource_indicator
;
uint8_t
pdsch_to_harq_feedback_timing_indicator
;
// format 1_0 P-RNTI
uint8_t
short_messages_indicator
;
// format 1_0 SI-RNTI
// format 1_0 CS-RNTI
// format 1_1 C-RNTI
uint8_t
carrier_indicator
;
uint8_t
bwp_indndicator
;
uint8_t
prb_bundling_size_indicator
;
// 38.214 chapter 5.1.2.3
uint8_t
rate_matching_indicator
;
uint8_t
zp_csi_rs_trigger
;
uint8_t
antenna_ports
;
uint8_t
transmission_configuration_indication
;
uint8_t
srs_request
;
uint8_t
cbg_transmission_information
;
uint8_t
cbg_flushing_out_information
;
// format 1_1 CS-RNTI
}
nr_nfapi_dci1_pdu_rel15_t
;
#define NR_NFAPI_DCI1_REQUEST_DCI_PDU_REL8_TAG 0x2020
typedef
struct
{
nr_nfapi_tl_t
tl
;
// common
uint8_t
dci_format
;
// format 2_0 SFI-RNTI (SFI)
uint8_t
slot_format_count
;
uint8_t
*
slot_format_indicators
;
// 38.213 chapter 11.1.1
// format 2_1 INT-RNTI (INT)
uint8_t
preemption_indication_count
;
uint8_t
*
preemption_indications
;
// 38.213 chapter 11.2
// format 2_2 TPC-PUSCH-RNTI and TPC-PUCCH-RNTI (TPC for PUSCH, PUCCH)
uint8_t
tpc_command_count
;
uint8_t
*
tpc_command_numbers
;
// format 2_3 TPC-SRS-RNTI (TPC for SRS)
uint8_t
block_number_count
;
uint8_t
*
block_numbers
;
// 38.212 chapter 7.3.1.3.4
uint8_t
srs_request
;
// 38.212 table 7.3.1.1.2-5
uint8_t
tpc_command
;
uint8_t
dci2_3_
tpc_command
;
}
nr_nfapi_dci2_pdu_rel15_t
;
}
nfapi_nr_dci_pdu_rel15_t
;
#define NFAPI_NR_HI_DCI0_REQUEST_DCI_PDU_REL8_TAG 0x2020
typedef
struct
{
n
r_nfapi
_tl_t
tl
;
n
fapi_nr
_tl_t
tl
;
uint8_t
uci_format
;
uint8_t
uci_channel
;
uint8_t
harq_ack_bits
;
...
...
@@ -230,7 +183,7 @@ typedef struct {
uint32_t
csi
;
uint8_t
sr_bits
;
uint32_t
sr
;
}
n
r_nfapi
_uci_pdu_rel15_t
;
}
n
fapi_nr
_uci_pdu_rel15_t
;
...
...
@@ -249,48 +202,44 @@ typedef struct {
uint16_t
rnti
;
uint8_t
dci_type
;
uint8_t
dci_size
;
union
{
nr_nfapi_dci0_pdu_rel15_t
dci0
;
nr_nfapi_dci1_pdu_rel15_t
dci1
;
nr_nfapi_dci2_pdu_rel15_t
dci2
;
}
;
}
nr_nfapi_dci_indication_pdu_t
;
nfapi_nr_dci_pdu_rel15_t
dci
;
}
nfapi_nr_dci_indication_pdu_t
;
typedef
struct
{
n
r_nfapi
_tl_t
tl
;
n
fapi_nr
_tl_t
tl
;
uint16_t
number_of_dcis
;
n
r_nfapi
_dci_indication_pdu_t
*
dci_list
;
}
n
r_nfapi
_dci_indication_body_t
;
n
fapi_nr
_dci_indication_pdu_t
*
dci_list
;
}
n
fapi_nr
_dci_indication_body_t
;
///
typedef
struct
{
n
r_nfapi
_p7_message_header_t
header
;
n
fapi_nr
_p7_message_header_t
header
;
uint16_t
sfn_sf_slot
;
n
r_nfapi
_dci_indication_body_t
dci_indication_body
;
}
n
r_nfapi
_dci_indication_t
;
n
fapi_nr
_dci_indication_body_t
dci_indication_body
;
}
n
fapi_nr
_dci_indication_t
;
#define N
R_NFAPI
_TX_MAX_PDU 100
#define N
FAPI_NR
_TX_MAX_PDU 100
typedef
struct
{
n
r_nfapi
_tl_t
tl
;
n
fapi_nr
_tl_t
tl
;
uint8_t
*
data
;
}
n
r_nfapi
_rx_request_body_t
;
#define N
R_NFAPI
_TX_REQUEST_BODY_TAG 0x2022
}
n
fapi_nr
_rx_request_body_t
;
#define N
FAPI_NR
_TX_REQUEST_BODY_TAG 0x2022
///
typedef
struct
{
n
r_nfapi
_p7_message_header_t
header
;
n
fapi_nr
_p7_message_header_t
header
;
uint16_t
sfn_sf_slot
;
n
r_nfapi
_rx_request_body_t
rx_request_body
;
}
n
r_nfapi
_rx_indication_t
;
n
fapi_nr
_rx_request_body_t
rx_request_body
;
}
n
fapi_nr
_rx_indication_t
;
typedef
struct
{
n
r_nfapi
_tl_t
tl
;
n
fapi_nr
_tl_t
tl
;
uint8_t
ul_cqi
;
uint16_t
timing_advance
;
}
n
r_nfapi
_tx_indication_t
;
}
n
fapi_nr
_tx_indication_t
;
#define N
R_NFAPI
_TX_MAX_SEGMENTS 32
#define N
FAPI_NR
_TX_MAX_SEGMENTS 32
typedef
struct
{
uint16_t
pdu_length
;
uint16_t
pdu_index
;
...
...
@@ -298,25 +247,25 @@ typedef struct {
struct
{
uint32_t
segment_length
;
uint8_t
*
segment_data
;
}
segments
[
N
R_NFAPI
_TX_MAX_SEGMENTS
];
}
segments
[
N
FAPI_NR
_TX_MAX_SEGMENTS
];
}
n
r_nfapi
_tx_indication_pdu_t
;
}
n
fapi_nr
_tx_indication_pdu_t
;
#define N
R_NFAPI
_RX_IND_MAX_PDU 100
#define N
FAPI_NR
_RX_IND_MAX_PDU 100
typedef
struct
{
n
r_nfapi
_tl_t
tl
;
n
r_nfapi
_tx_indication_t
tx_indication
;
n
fapi_nr
_tl_t
tl
;
n
fapi_nr
_tx_indication_t
tx_indication
;
uint16_t
number_of_pdus
;
n
r_nfapi
_tx_indication_pdu_t
*
tx_pdu_list
;
}
n
r_nfapi
_tx_indication_body_t
;
#define N
R_NFAPI
_RX_INDICATION_BODY_TAG 0x2023
n
fapi_nr
_tx_indication_pdu_t
*
tx_pdu_list
;
}
n
fapi_nr
_tx_indication_body_t
;
#define N
FAPI_NR
_RX_INDICATION_BODY_TAG 0x2023
///
typedef
struct
{
n
r_nfapi
_p7_message_header_t
header
;
n
fapi_nr
_p7_message_header_t
header
;
uint16_t
sfn_sf_slot
;
n
r_nfapi
_tx_indication_body_t
tx_indication_body
;
}
n
r_nfapi
_tx_request_t
;
n
fapi_nr
_tx_indication_body_t
tx_indication_body
;
}
n
fapi_nr
_tx_request_t
;
...
...
@@ -324,35 +273,35 @@ typedef struct {
uint8_t
pdu_type
;
uint8_t
pdu_size
;
union
{
/*n
r_nfapi
_ul_config_ulsch_pdu ulsch_pdu;
n
r_nfapi
_ul_config_ulsch_cqi_ri_pdu ulsch_cqi_ri_pdu;
n
r_nfapi
_ul_config_ulsch_harq_pdu ulsch_harq_pdu;
n
r_nfapi
_ul_config_ulsch_cqi_harq_ri_pdu ulsch_cqi_harq_ri_pdu;
n
r_nfapi
_ul_config_uci_cqi_pdu uci_cqi_pdu;
n
r_nfapi
_ul_config_uci_sr_pdu uci_sr_pdu;
n
r_nfapi
_ul_config_uci_harq_pdu uci_harq_pdu;
n
r_nfapi
_ul_config_uci_sr_harq_pdu uci_sr_harq_pdu;
n
r_nfapi
_ul_config_uci_cqi_harq_pdu uci_cqi_harq_pdu;
n
r_nfapi
_ul_config_uci_cqi_sr_pdu uci_cqi_sr_pdu;
n
r_nfapi
_ul_config_uci_cqi_sr_harq_pdu uci_cqi_sr_harq_pdu;
n
r_nfapi
_ul_config_srs_pdu srs_pdu;
n
r_nfapi
_ul_config_harq_buffer_pdu harq_buffer_pdu;
n
r_nfapi
_ul_config_ulsch_uci_csi_pdu ulsch_uci_csi_pdu;
n
r_nfapi
_ul_config_ulsch_uci_harq_pdu ulsch_uci_harq_pdu;
n
r_nfapi
_ul_config_ulsch_csi_uci_harq_pdu ulsch_csi_uci_harq_pdu;*/
/*n
fapi_nr
_ul_config_ulsch_pdu ulsch_pdu;
n
fapi_nr
_ul_config_ulsch_cqi_ri_pdu ulsch_cqi_ri_pdu;
n
fapi_nr
_ul_config_ulsch_harq_pdu ulsch_harq_pdu;
n
fapi_nr
_ul_config_ulsch_cqi_harq_ri_pdu ulsch_cqi_harq_ri_pdu;
n
fapi_nr
_ul_config_uci_cqi_pdu uci_cqi_pdu;
n
fapi_nr
_ul_config_uci_sr_pdu uci_sr_pdu;
n
fapi_nr
_ul_config_uci_harq_pdu uci_harq_pdu;
n
fapi_nr
_ul_config_uci_sr_harq_pdu uci_sr_harq_pdu;
n
fapi_nr
_ul_config_uci_cqi_harq_pdu uci_cqi_harq_pdu;
n
fapi_nr
_ul_config_uci_cqi_sr_pdu uci_cqi_sr_pdu;
n
fapi_nr
_ul_config_uci_cqi_sr_harq_pdu uci_cqi_sr_harq_pdu;
n
fapi_nr
_ul_config_srs_pdu srs_pdu;
n
fapi_nr
_ul_config_harq_buffer_pdu harq_buffer_pdu;
n
fapi_nr
_ul_config_ulsch_uci_csi_pdu ulsch_uci_csi_pdu;
n
fapi_nr
_ul_config_ulsch_uci_harq_pdu ulsch_uci_harq_pdu;
n
fapi_nr
_ul_config_ulsch_csi_uci_harq_pdu ulsch_csi_uci_harq_pdu;*/
};
}
n
r_nfapi
_ul_config_request_pdu_t
;
}
n
fapi_nr
_ul_config_request_pdu_t
;
typedef
struct
{
n
r_nfapi
_tl_t
tl
;
n
r_nfapi
_ul_config_request_pdu_t
ul_config_pdu_list
;
}
n
r_nfapi
_ul_config_request_body_t
;
n
fapi_nr
_tl_t
tl
;
n
fapi_nr
_ul_config_request_pdu_t
ul_config_pdu_list
;
}
n
fapi_nr
_ul_config_request_body_t
;
///
typedef
struct
{
n
r_nfapi
_p7_message_header_t
header
;
n
fapi_nr
_p7_message_header_t
header
;
uint16_t
sfn_sf_slot
;
n
r_nfapi
_ul_config_request_body_t
ul_config_request_body
;
}
n
r_nfapi
_ul_config_request_t
;
n
fapi_nr
_ul_config_request_body_t
ul_config_request_body
;
}
n
fapi_nr
_ul_config_request_t
;
typedef
struct
{
uint32_t
frequency_domain_resource
;
...
...
@@ -365,55 +314,42 @@ typedef struct {
uint8_t
tci_state_pdcch
;
uint8_t
tci_present_in_dci
;
uint16_t
pdcch_dmrs_scrambling_id
;
}
nr_nfapi
_coreset_t
;
}
nfapi_nr
_coreset_t
;
typedef
struct
{
uint8_t
monitoring_slot_peridicity
;
uint8_t
monitoring_slot_offset
;
uint16_t
monitoring_symbols_within_slot
;
uint8_t
aggregation_level
;
uint8_t
number_of_candidates
;
uint8_t
search_space_type
;
union
{
struct
{
uint8_t
dci_0_0_and_1_0
;
uint8_t
dci_2_0_aggregation_level
;
uint8_t
dci_2_0_number_of_candidates
;
uint8_t
dci_2_1
;
// empty now
uint8_t
dci_2_2
;
// empty now
uint8_t
dci_2_3_monitorying_periodicity
;
uint8_t
dci_2_3_number_of_candidates
;
}
css
;
struct
{
uint8_t
dci_formats
;
}
uss
;
};
uint8_t
number_of_candidates
[
5
];
// aggregation level 1, 2, 4, 8, 16
uint8_t
dci_2_0_number_of_candidates
[
5
];
// aggregation level 1, 2, 4, 8, 16
uint8_t
dci_2_3_monitorying_periodicity
;
uint8_t
dci_2_3_number_of_candidates
;
}
nr_nfapi
_search_space_t
;
}
nfapi_nr
_search_space_t
;
typedef
struct
{
n
r_nfapi
_search_space_t
search_space_sib1
;
n
r_nfapi
_search_space_t
search_space_others_sib
;
n
r_nfapi
_search_space_t
search_space_paging
;
n
r_nfapi
_coreset_t
coreset_ra
;
n
r_nfapi
_search_space_t
search_space_ra
;
}
n
r_nfapi
_pdcch_config_common_t
;
n
fapi_nr
_search_space_t
search_space_sib1
;
n
fapi_nr
_search_space_t
search_space_others_sib
;
n
fapi_nr
_search_space_t
search_space_paging
;
n
fapi_nr
_coreset_t
coreset_ra
;
n
fapi_nr
_search_space_t
search_space_ra
;
}
n
fapi_nr
_pdcch_config_common_t
;
typedef
struct
{
uint8_t
k0
;
uint8_t
mapping_type
;
uint8_t
start_symbol
;
uint8_t
length_symbol
;
}
n
r_nfapi
_pdsch_config_common_t
;
}
n
fapi_nr
_pdsch_config_common_t
;
typedef
struct
{
}
n
r_nfapi
_rach_config_common_t
;
}
n
fapi_nr
_rach_config_common_t
;
typedef
struct
{
}
n
r_nfapi
_pusch_config_common_t
;
}
n
fapi_nr
_pusch_config_common_t
;
typedef
struct
{
uint8_t
scs_common
;
...
...
@@ -422,39 +358,39 @@ typedef struct {
uint8_t
pdcch_config_sib1
;
uint8_t
cell_barred
;
uint8_t
intra_frquency_reselection
;
}
n
r_nfapi
_pbch_config_t
;
}
n
fapi_nr
_pbch_config_t
;
typedef
struct
{
n
r_nfapi
_tl_t
tl
;
n
fapi_nr
_tl_t
tl
;
n
r_nfapi
_pbch_config_t
pbch_config_common
;
//MIB
n
fapi_nr
_pbch_config_t
pbch_config_common
;
//MIB
n
r_nfapi
_pdcch_config_common_t
pdcch_config_common
;
n
r_nfapi
_pdsch_config_common_t
pdsch_config_common
;
n
fapi_nr
_pdcch_config_common_t
pdcch_config_common
;
n
fapi_nr
_pdsch_config_common_t
pdsch_config_common
;
n
r_nfapi
_rach_config_common_t
rach_config_common
;
n
r_nfapi
_pusch_config_common_t
pusch_config_common
;
n
fapi_nr
_rach_config_common_t
rach_config_common
;
n
fapi_nr
_pusch_config_common_t
pusch_config_common
;
}
n
r_nfapi
_dl_config_dci_dl_pdu
;
}
n
fapi_nr
_dl_config_dci_dl_pdu
;
typedef
struct
{
uint8_t
pdu_type
;
uint8_t
pdu_size
;
union
{
/*n
r_nfapi
_dl_config_dlsch_pdu dlsch_pdu;
n
r_nfapi
_dl_config_prs_pdu prs_pdu;
n
r_nfapi
_dl_config_csi_rs_pdu csi_rs_pdu;*/
/*n
fapi_nr
_dl_config_dlsch_pdu dlsch_pdu;
n
fapi_nr
_dl_config_prs_pdu prs_pdu;
n
fapi_nr
_dl_config_csi_rs_pdu csi_rs_pdu;*/
};
}
n
r_nfapi
_dl_config_request_pdu_t
;
}
n
fapi_nr
_dl_config_request_pdu_t
;
///
typedef
struct
{
n
r_nfapi
_p7_message_header_t
header
;
n
fapi_nr
_p7_message_header_t
header
;
uint16_t
sfn_sf_slot
;
n
r_nfapi
_dl_config_request_pdu_t
dl_config_request_body
;
}
n
r_nfapi
_dl_config_request_t
;
n
fapi_nr
_dl_config_request_pdu_t
dl_config_request_body
;
}
n
fapi_nr
_dl_config_request_t
;
//
...
...
@@ -462,12 +398,12 @@ typedef struct {
//
typedef
struct
{
n
r_nfapi
_p4_p5_message_header_t
header
;
n
fapi_nr
_p4_p5_message_header_t
header
;
uint8_t
num_tlv
;
n
r_nfapi
_dl_config_dci_dl_pdu
dci_dl_pdu
;
n
fapi_nr
_dl_config_dci_dl_pdu
dci_dl_pdu
;
}
n
r_nfapi
_config_request_t
;
}
n
fapi_nr
_config_request_t
;
#endif
/* _NFAPI_INTERFACE_H_ */
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