O-RAN E Maintenance Release contribution for ODULOW
[o-du/phy.git] / fhi_lib / lib / src / xran_frame_struct.h
index abc7f71..7ed0a3a 100644 (file)
@@ -1,6 +1,6 @@
 /******************************************************************************
 *
-*   Copyright (c) 2019 Intel.
+*   Copyright (c) 2020 Intel.
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
@@ -67,14 +67,14 @@ uint16_t xran_fs_get_num_rbs(uint32_t nNumerology, uint32_t nBandwidth, uint32_t
 **/
 //-------------------------------------------------------------------------------------------
 uint32_t xran_fs_cal_nrarfcn(uint32_t nCenterFreq);
-int32_t xran_fs_slot_limit(int32_t nSlotIdx);
-void xran_fs_clear_slot_type(uint32_t nCcId);
-int32_t xran_fs_set_slot_type(uint32_t nCcId, uint32_t nFrameDuplexType, uint32_t nTddPeriod, struct xran_slot_config* psSlotConfig);
-int32_t xran_fs_get_slot_type(int32_t nCcId, int32_t nSlotIdx, int32_t nType);
-uint32_t xran_fs_slot_limit_init(int32_t tti_interval_us);
-uint32_t xran_fs_get_max_slot(void);
-uint32_t xran_fs_get_max_slot_SFN(void);
-int32_t xran_fs_get_symbol_type(int32_t nCellIdx, int32_t nSlotdx,  int32_t nSymbIdx);
+int32_t xran_fs_slot_limit(uint32_t PortId, int32_t nSlotIdx);
+void xran_fs_clear_slot_type(uint32_t PortId, uint32_t nCcId);
+int32_t xran_fs_set_slot_type(uint32_t PortId, uint32_t nCcId, uint32_t nFrameDuplexType, uint32_t nTddPeriod, struct xran_slot_config* psSlotConfig);
+int32_t xran_fs_get_slot_type(uint32_t PortId, int32_t nCcId, int32_t nSlotIdx, int32_t nType);
+uint32_t xran_fs_slot_limit_init(uint32_t PortId, int32_t tti_interval_us);
+uint32_t xran_fs_get_max_slot(uint32_t PortId);
+uint32_t xran_fs_get_max_slot_SFN(uint32_t PortId);
+int32_t xran_fs_get_symbol_type(uint32_t PortId, int32_t nCellIdx, int32_t nSlotdx,  int32_t nSymbIdx);
 
 #ifdef __cplusplus
 }