X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fapi_5g%2Fsource%2Fapi%2Ffapi2phy%2Fp5%2Fnr5g_fapi_fapi2phy_p5_pvt_proc.h;h=61db225d2d6a1c8d37a159ac2cc07920fd1b66d0;hb=892daba4c616407f16506415d5a69549519ef11d;hp=d9c00a57dcfc11a26be1079aaf00850f8a9d5490;hpb=9d66fca5c45c8b3e0d6eab6d51a90c8e9d2614dc;p=o-du%2Fphy.git diff --git a/fapi_5g/source/api/fapi2phy/p5/nr5g_fapi_fapi2phy_p5_pvt_proc.h b/fapi_5g/source/api/fapi2phy/p5/nr5g_fapi_fapi2phy_p5_pvt_proc.h index d9c00a5..61db225 100644 --- a/fapi_5g/source/api/fapi2phy/p5/nr5g_fapi_fapi2phy_p5_pvt_proc.h +++ b/fapi_5g/source/api/fapi2phy/p5/nr5g_fapi_fapi2phy_p5_pvt_proc.h @@ -1,6 +1,6 @@ /****************************************************************************** * -* Copyright (c) 2019 Intel. +* Copyright (c) 2021 Intel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,8 @@ #ifndef _NR5G_FAPI_FAP2PHY_P5_PVT_PROC_H_ #define _NR5G_FAPI_FAP2PHY_P5_PVT_PROC_H_ +#include "nr5g_mac_phy_api.h" + //x is 32 bit variable, y is length in bytes #define GETVLFRM32B(x, y) ((x) & ((0xFFFFFFFF) >> (32 - (y << 3)))) @@ -34,6 +36,9 @@ uint8_t nr5g_fapi_config_req_to_phy_translation( fapi_config_req_t * p_fapi_req, PCONFIGREQUESTStruct p_ia_config_req); +uint8_t nr5g_fapi_config_req_fill_dependent_fields( + PCONFIGREQUESTStruct p_ia_config_req); + uint8_t nr5g_fapi_calc_phy_tdd_period( uint8_t fapi_tdd_period, uint8_t n_subc_common);