+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>o-du/phy: xran_frame_struct.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">o-du/phy
+ </div>
+ <div id="projectbrief">Intel O-RAN/X-RAN Generated Doxygen Documentation</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+</script>
+<div id="main-nav"></div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+</div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_a4c74d6baed87eba72f3b201b7b4b8f2.html">fhi_lib</a></li><li class="navelem"><a class="el" href="dir_5cc0cc0264b57168b75ca56bde6cc403.html">lib</a></li><li class="navelem"><a class="el" href="dir_9fc50806095da30fbd4a2dbe2e456ff5.html">src</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">xran_frame_struct.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="xran__frame__struct_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">*</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (c) 2019 Intel.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">*</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">* Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">* you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">* You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">*</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">* http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">*</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">* Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">* distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">* See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">* limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">*</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">*******************************************************************************/</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#ifndef _XRAN_FRAME_STRUCT_</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#define _XRAN_FRAME_STRUCT_</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="xran__fh__o__du_8h.html">xran_fh_o_du.h</a>"</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> uint32_t <a class="code" href="xran__frame__struct_8h.html#a8e8598556da3e49fa48cb646c24162fa">xran_fs_get_tti_interval</a>(uint8_t nMu);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> uint32_t <a class="code" href="xran__frame__struct_8h.html#a358977362c5bc0e3adc9f897994c0d09">xran_fs_get_scs</a>(uint8_t nMu);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">//-------------------------------------------------------------------------------------------</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"></span><span class="comment">//-------------------------------------------------------------------------------------------</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> uint16_t <a class="code" href="xran__frame__struct_8h.html#adef530f5f3ebc94606c692d8784ddaf2">xran_fs_get_num_rbs</a>(uint32_t nNumerology, uint32_t nBandwidth, uint32_t nAbsFrePointA);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">//-------------------------------------------------------------------------------------------</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment"></span><span class="comment">//-------------------------------------------------------------------------------------------</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> uint32_t <a class="code" href="xran__frame__struct_8h.html#acc4fa9a039885a36bec7d1f6b68de1b0">xran_fs_cal_nrarfcn</a>(uint32_t nCenterFreq);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> int32_t <a class="code" href="xran__frame__struct_8h.html#a2dae6c563c553fcc13a9cd3c87b9f37b">xran_fs_slot_limit</a>(int32_t nSlotIdx);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="keywordtype">void</span> <a class="code" href="xran__frame__struct_8h.html#a74a51cc251882612b53feb4895bcab61">xran_fs_clear_slot_type</a>(uint32_t nCcId);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> int32_t <a class="code" href="xran__frame__struct_8h.html#a93baa96226b7790c8db4942f304269fc">xran_fs_set_slot_type</a>(uint32_t nCcId, uint32_t nFrameDuplexType, uint32_t nTddPeriod, <span class="keyword">struct</span> <a class="code" href="structxran__slot__config.html">xran_slot_config</a>* psSlotConfig);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> int32_t <a class="code" href="xran__frame__struct_8h.html#a9cc99d80a722f6afd2aaf6c6bd2e8887">xran_fs_get_slot_type</a>(int32_t nCcId, int32_t nSlotIdx, int32_t nType);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> uint32_t <a class="code" href="xran__frame__struct_8h.html#a2fd9b68ce2fa4734a021203b320e4e04">xran_fs_slot_limit_init</a>(int32_t tti_interval_us);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> uint32_t <a class="code" href="xran__frame__struct_8h.html#a7f5a87395d3930f222e58976960c99e2">xran_fs_get_max_slot</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> uint32_t <a class="code" href="xran__frame__struct_8h.html#a00aa0f7cc00a6ca9cde2bec43eb1c9f9">xran_fs_get_max_slot_SFN</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> int32_t <a class="code" href="xran__frame__struct_8h.html#a3ad2b8ea8fe3559ce6d0195ed25dca11">xran_fs_get_symbol_type</a>(int32_t nCellIdx, int32_t nSlotdx, int32_t nSymbIdx);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> }</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="preprocessor">#endif </span><span class="comment">/* _XRAN_FRAME_STRUCT_ */</span><span class="preprocessor"></span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="ttc" id="xran__frame__struct_8h_html_a7f5a87395d3930f222e58976960c99e2"><div class="ttname"><a href="xran__frame__struct_8h.html#a7f5a87395d3930f222e58976960c99e2">xran_fs_get_max_slot</a></div><div class="ttdeci">uint32_t xran_fs_get_max_slot(void)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00316">xran_frame_struct.c:316</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a74a51cc251882612b53feb4895bcab61"><div class="ttname"><a href="xran__frame__struct_8h.html#a74a51cc251882612b53feb4895bcab61">xran_fs_clear_slot_type</a></div><div class="ttdeci">void xran_fs_clear_slot_type(uint32_t nCcId)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00339">xran_frame_struct.c:339</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a93baa96226b7790c8db4942f304269fc"><div class="ttname"><a href="xran__frame__struct_8h.html#a93baa96226b7790c8db4942f304269fc">xran_fs_set_slot_type</a></div><div class="ttdeci">int32_t xran_fs_set_slot_type(uint32_t nCcId, uint32_t nFrameDuplexType, uint32_t nTddPeriod, struct xran_slot_config *psSlotConfig)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00346">xran_frame_struct.c:346</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a8e8598556da3e49fa48cb646c24162fa"><div class="ttname"><a href="xran__frame__struct_8h.html#a8e8598556da3e49fa48cb646c24162fa">xran_fs_get_tti_interval</a></div><div class="ttdeci">uint32_t xran_fs_get_tti_interval(uint8_t nMu)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00108">xran_frame_struct.c:108</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a2fd9b68ce2fa4734a021203b320e4e04"><div class="ttname"><a href="xran__frame__struct_8h.html#a2fd9b68ce2fa4734a021203b320e4e04">xran_fs_slot_limit_init</a></div><div class="ttdeci">uint32_t xran_fs_slot_limit_init(int32_t tti_interval_us)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00309">xran_frame_struct.c:309</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a00aa0f7cc00a6ca9cde2bec43eb1c9f9"><div class="ttname"><a href="xran__frame__struct_8h.html#a00aa0f7cc00a6ca9cde2bec43eb1c9f9">xran_fs_get_max_slot_SFN</a></div><div class="ttdeci">uint32_t xran_fs_get_max_slot_SFN(void)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00321">xran_frame_struct.c:321</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_acc4fa9a039885a36bec7d1f6b68de1b0"><div class="ttname"><a href="xran__frame__struct_8h.html#acc4fa9a039885a36bec7d1f6b68de1b0">xran_fs_cal_nrarfcn</a></div><div class="ttdeci">uint32_t xran_fs_cal_nrarfcn(uint32_t nCenterFreq)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00274">xran_frame_struct.c:274</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a9cc99d80a722f6afd2aaf6c6bd2e8887"><div class="ttname"><a href="xran__frame__struct_8h.html#a9cc99d80a722f6afd2aaf6c6bd2e8887">xran_fs_get_slot_type</a></div><div class="ttdeci">int32_t xran_fs_get_slot_type(int32_t nCcId, int32_t nSlotIdx, int32_t nType)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00477">xran_frame_struct.c:477</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a2dae6c563c553fcc13a9cd3c87b9f37b"><div class="ttname"><a href="xran__frame__struct_8h.html#a2dae6c563c553fcc13a9cd3c87b9f37b">xran_fs_slot_limit</a></div><div class="ttdeci">int32_t xran_fs_slot_limit(int32_t nSlotIdx)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00326">xran_frame_struct.c:326</a></div></div>
+<div class="ttc" id="xran__fh__o__du_8h_html"><div class="ttname"><a href="xran__fh__o__du_8h.html">xran_fh_o_du.h</a></div><div class="ttdoc">This file provides public interface to xRAN Front Haul layer implementation as defined in the ORAN-WG...</div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_adef530f5f3ebc94606c692d8784ddaf2"><div class="ttname"><a href="xran__frame__struct_8h.html#adef530f5f3ebc94606c692d8784ddaf2">xran_fs_get_num_rbs</a></div><div class="ttdeci">uint16_t xran_fs_get_num_rbs(uint32_t nNumerology, uint32_t nBandwidth, uint32_t nAbsFrePointA)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00149">xran_frame_struct.c:149</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a3ad2b8ea8fe3559ce6d0195ed25dca11"><div class="ttname"><a href="xran__frame__struct_8h.html#a3ad2b8ea8fe3559ce6d0195ed25dca11">xran_fs_get_symbol_type</a></div><div class="ttdeci">int32_t xran_fs_get_symbol_type(int32_t nCellIdx, int32_t nSlotdx, int32_t nSymbIdx)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00508">xran_frame_struct.c:508</a></div></div>
+<div class="ttc" id="structxran__slot__config_html"><div class="ttname"><a href="structxran__slot__config.html">xran_slot_config</a></div><div class="ttdef"><b>Definition:</b> <a href="xran__fh__o__du_8h_source.html#l00453">xran_fh_o_du.h:453</a></div></div>
+<div class="ttc" id="xran__frame__struct_8h_html_a358977362c5bc0e3adc9f897994c0d09"><div class="ttname"><a href="xran__frame__struct_8h.html#a358977362c5bc0e3adc9f897994c0d09">xran_fs_get_scs</a></div><div class="ttdeci">uint32_t xran_fs_get_scs(uint8_t nMu)</div><div class="ttdef"><b>Definition:</b> <a href="xran__frame__struct_8c_source.html#l00121">xran_frame_struct.c:121</a></div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by  <a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.13
+</small></address>
+</body>
+</html>