From 40783ea351fd601a1d4a3d45b92cc857e53a783e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BAben=20Soares=20Silva?= Date: Tue, 11 Jun 2024 11:09:57 +0100 Subject: [PATCH] Fix START.response Message ID, from Table 3-5 of SCF222.10.04. Apply clang-format to enumeration. --- .../nfapi/public_inc/nfapi_nr_interface_scf.h | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h b/nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h index d3452a4212..1a240dca22 100644 --- a/nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h +++ b/nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface_scf.h @@ -43,36 +43,36 @@ typedef struct { //PHY API message types typedef enum { - NFAPI_NR_PHY_MSG_TYPE_PARAM_REQUEST= 0x00, - NFAPI_NR_PHY_MSG_TYPE_PARAM_RESPONSE= 0x01, - NFAPI_NR_PHY_MSG_TYPE_CONFIG_REQUEST= 0x02, - NFAPI_NR_PHY_MSG_TYPE_CONFIG_RESPONSE=0X03, - NFAPI_NR_PHY_MSG_TYPE_START_REQUEST= 0X04, - NFAPI_NR_PHY_MSG_TYPE_STOP_REQUEST= 0X05, - NFAPI_NR_PHY_MSG_TYPE_STOP_INDICATION=0X06, - NFAPI_NR_PHY_MSG_TYPE_ERROR_INDICATION=0X07, - NFAPI_NR_PHY_MSG_TYPE_START_RESPONSE=0X010D, - NFAPI_NR_PHY_MSG_TYPE_STOP_RESPONSE=0X010F, - //RESERVED 0X08 ~ 0X7F - NFAPI_NR_PHY_MSG_TYPE_DL_TTI_REQUEST= 0X80, - NFAPI_NR_PHY_MSG_TYPE_UL_TTI_REQUEST= 0X81, - NFAPI_NR_PHY_MSG_TYPE_SLOT_INDICATION=0X82, - NFAPI_NR_PHY_MSG_TYPE_UL_DCI_REQUEST= 0X83, - NFAPI_NR_PHY_MSG_TYPE_TX_DATA_REQUEST=0X84, // CHANGED TO 0X84 - NFAPI_NR_PHY_MSG_TYPE_RX_DATA_INDICATION=0X85, - NFAPI_NR_PHY_MSG_TYPE_CRC_INDICATION= 0X86, - NFAPI_NR_PHY_MSG_TYPE_UCI_INDICATION= 0X87, - NFAPI_NR_PHY_MSG_TYPE_SRS_INDICATION= 0X88, - NFAPI_NR_PHY_MSG_TYPE_RACH_INDICATION= 0X89, - //RESERVED 0X8a ~ 0xff + NFAPI_NR_PHY_MSG_TYPE_PARAM_REQUEST = 0x00, + NFAPI_NR_PHY_MSG_TYPE_PARAM_RESPONSE = 0x01, + NFAPI_NR_PHY_MSG_TYPE_CONFIG_REQUEST = 0x02, + NFAPI_NR_PHY_MSG_TYPE_CONFIG_RESPONSE = 0X03, + NFAPI_NR_PHY_MSG_TYPE_START_REQUEST = 0X04, + NFAPI_NR_PHY_MSG_TYPE_STOP_REQUEST = 0X05, + NFAPI_NR_PHY_MSG_TYPE_STOP_INDICATION = 0X06, + NFAPI_NR_PHY_MSG_TYPE_ERROR_INDICATION = 0X07, + NFAPI_NR_PHY_MSG_TYPE_START_RESPONSE = 0X0108, // SCF 222.10.04 Section 3.2 Start.Response - 0x108, as of nFAPIv2 + NFAPI_NR_PHY_MSG_TYPE_STOP_RESPONSE = 0X010F, + // RESERVED 0X08 ~ 0X7F + NFAPI_NR_PHY_MSG_TYPE_DL_TTI_REQUEST = 0X80, + NFAPI_NR_PHY_MSG_TYPE_UL_TTI_REQUEST = 0X81, + NFAPI_NR_PHY_MSG_TYPE_SLOT_INDICATION = 0X82, + NFAPI_NR_PHY_MSG_TYPE_UL_DCI_REQUEST = 0X83, + NFAPI_NR_PHY_MSG_TYPE_TX_DATA_REQUEST = 0X84, // CHANGED TO 0X84 + NFAPI_NR_PHY_MSG_TYPE_RX_DATA_INDICATION = 0X85, + NFAPI_NR_PHY_MSG_TYPE_CRC_INDICATION = 0X86, + NFAPI_NR_PHY_MSG_TYPE_UCI_INDICATION = 0X87, + NFAPI_NR_PHY_MSG_TYPE_SRS_INDICATION = 0X88, + NFAPI_NR_PHY_MSG_TYPE_RACH_INDICATION = 0X89, + // RESERVED 0X8a ~ 0xff NFAPI_NR_PHY_MSG_TYPE_PNF_PARAM_REQUEST = 0x0100, NFAPI_NR_PHY_MSG_TYPE_PNF_PARAM_RESPONSE = 0x0101, - NFAPI_NR_PHY_MSG_TYPE_PNF_CONFIG_REQUEST= 0x0102, - NFAPI_NR_PHY_MSG_TYPE_PNF_CONFIG_RESPONSE= 0x0103, - NFAPI_NR_PHY_MSG_TYPE_PNF_START_REQUEST= 0x0104, - NFAPI_NR_PHY_MSG_TYPE_PNF_START_RESPONSE= 0x0105, - NFAPI_NR_PHY_MSG_TYPE_PNF_STOP_REQUEST= 0x0106, - NFAPI_NR_PHY_MSG_TYPE_PNF_STOP_RESPONSE= 0x0107, + NFAPI_NR_PHY_MSG_TYPE_PNF_CONFIG_REQUEST = 0x0102, + NFAPI_NR_PHY_MSG_TYPE_PNF_CONFIG_RESPONSE = 0x0103, + NFAPI_NR_PHY_MSG_TYPE_PNF_START_REQUEST = 0x0104, + NFAPI_NR_PHY_MSG_TYPE_PNF_START_RESPONSE = 0x0105, + NFAPI_NR_PHY_MSG_TYPE_PNF_STOP_REQUEST = 0x0106, + NFAPI_NR_PHY_MSG_TYPE_PNF_STOP_RESPONSE = 0x0107, NFAPI_NR_PHY_MSG_TYPE_UL_NODE_SYNC = 0x0180, NFAPI_NR_PHY_MSG_TYPE_DL_NODE_SYNC,