-
Notifications
You must be signed in to change notification settings - Fork 1
/
common__structures_8cpp_source.html
111 lines (109 loc) · 15.9 KB
/
common__structures_8cpp_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!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>free5GRAN: common_structures.cpp 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</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">free5GRAN
 <span id="projectnumber">V1.0</span>
</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>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('common__structures_8cpp_source.html','');});
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle">
<div class="title">common_structures.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="common__structures_8cpp.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"> * Copyright 2020 Telecom Paris</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"></span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> You may obtain a copy of the License at</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"></span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> limitations under the License.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> */</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="common__structures_8h.html">common_structures.h</a>"</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "../common_variables/common_variables.h"</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">// https://medium.com/@mishra.eric/understanding-nr5g-synchronisation-signal-block-ssb-7a8d56a48e16</span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#aac3f604e35d24c986090200f5b430c63"> 22</a></span> <a class="code" href="structfree5_g_r_a_n_1_1band__.html">free5GRAN::band</a> <a class="code" href="namespacefree5_g_r_a_n.html#aac3f604e35d24c986090200f5b430c63">free5GRAN::BAND_N_1</a> = {1, (int) 15e3, 5279, 5419, 4, <span class="keyword">new</span> <span class="keywordtype">int</span>[8]{2,8,16,22}};</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#aba2114b51f4d83bee1380a843180cec7"> 23</a></span> <a class="code" href="structfree5_g_r_a_n_1_1band__.html">free5GRAN::band</a> <a class="code" href="namespacefree5_g_r_a_n.html#aba2114b51f4d83bee1380a843180cec7">free5GRAN::BAND_N_2</a> = {2, (int) 15e3, 4829, 4969, 4, <span class="keyword">new</span> <span class="keywordtype">int</span>[8]{2,8,16,22}};</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#a7f08c1704ee85e10d1fbf7bd29007e54"> 24</a></span> <a class="code" href="structfree5_g_r_a_n_1_1band__.html">free5GRAN::band</a> <a class="code" href="namespacefree5_g_r_a_n.html#a7f08c1704ee85e10d1fbf7bd29007e54">free5GRAN::BAND_N_3</a> = {3, (int) 15e3, 4517, 4693, 4, <span class="keyword">new</span> <span class="keywordtype">int</span>[8]{2,8,16,22}};</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#abb27f9fab61849b382b939ebb563c686"> 25</a></span> <a class="code" href="structfree5_g_r_a_n_1_1band__.html">free5GRAN::band</a> <a class="code" href="namespacefree5_g_r_a_n.html#abb27f9fab61849b382b939ebb563c686">free5GRAN::BAND_N_7</a> = {7,(int) 15e3, 6554, 6718, 4,<span class="keyword">new</span> <span class="keywordtype">int</span>[8]{2,8,16,22}};</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#ac904432c940ec9ea36add1a5b50e67ec"> 26</a></span> <a class="code" href="structfree5_g_r_a_n_1_1band__.html">free5GRAN::band</a> <a class="code" href="namespacefree5_g_r_a_n.html#ac904432c940ec9ea36add1a5b50e67ec">free5GRAN::BAND_N_8</a> = {8, (int) 15e3, 2318, 2395, 4, <span class="keyword">new</span> <span class="keywordtype">int</span>[8]{2,8,16,22}};</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#a58471e051c8ab54d13a1be37d5119db3"> 27</a></span> <a class="code" href="structfree5_g_r_a_n_1_1band__.html">free5GRAN::band</a> <a class="code" href="namespacefree5_g_r_a_n.html#a58471e051c8ab54d13a1be37d5119db3">free5GRAN::BAND_N_28</a> = {28, (int) 15e3, 1901, 2002, 4, <span class="keyword">new</span> <span class="keywordtype">int</span>[8]{2,8,16,22}};</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#a25c1f09e5a60ef98505da02bf05c1796"> 28</a></span> <a class="code" href="structfree5_g_r_a_n_1_1band__.html">free5GRAN::band</a> <a class="code" href="namespacefree5_g_r_a_n.html#a25c1f09e5a60ef98505da02bf05c1796">free5GRAN::BAND_N_78</a> = {78, (int) 30e3, 7711, 8051, 8, <span class="keyword">new</span> <span class="keywordtype">int</span>[8]{2,8,16,22,30,36,44,50}};</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">// TEST n78</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">//free5GRAN::band free5GRAN::BAND_N_78 = {78, (int) 30e3, 7837, 7839, 8, new int[8]{2,8,16,22,30,36,44,50}};</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#a51f9e982cc652a02a23c6879181c085f"> 34</a></span> <a class="code" href="structfree5_g_r_a_n_1_1bandwidth__info__.html">free5GRAN::bandwidth_info</a> <a class="code" href="namespacefree5_g_r_a_n.html#a51f9e982cc652a02a23c6879181c085f">free5GRAN::BANDWIDTH_15_KHZ</a> = {(int) 15e3};</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="namespacefree5_g_r_a_n.html#afc5ba43fe5efc4bc03e54e39f0a52dd5"> 36</a></span> <a class="code" href="structfree5_g_r_a_n_1_1bandwidth__info__.html">free5GRAN::bandwidth_info</a> <a class="code" href="namespacefree5_g_r_a_n.html#afc5ba43fe5efc4bc03e54e39f0a52dd5">free5GRAN::BANDWIDTH_30_KHZ</a> = {(int) 30e3};</div><div class="ttc" id="namespacefree5_g_r_a_n_html_ac904432c940ec9ea36add1a5b50e67ec"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#ac904432c940ec9ea36add1a5b50e67ec">free5GRAN::BAND_N_8</a></div><div class="ttdeci">band BAND_N_8</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00026">common_structures.cpp:26</a></div></div>
<div class="ttc" id="namespacefree5_g_r_a_n_html_a25c1f09e5a60ef98505da02bf05c1796"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#a25c1f09e5a60ef98505da02bf05c1796">free5GRAN::BAND_N_78</a></div><div class="ttdeci">band BAND_N_78</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00028">common_structures.cpp:28</a></div></div>
<div class="ttc" id="structfree5_g_r_a_n_1_1band___html"><div class="ttname"><a href="structfree5_g_r_a_n_1_1band__.html">free5GRAN::band_</a></div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8h_source.html#l00028">common_structures.h:28</a></div></div>
<div class="ttc" id="structfree5_g_r_a_n_1_1bandwidth__info___html"><div class="ttname"><a href="structfree5_g_r_a_n_1_1bandwidth__info__.html">free5GRAN::bandwidth_info_</a></div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8h_source.html#l00055">common_structures.h:55</a></div></div>
<div class="ttc" id="namespacefree5_g_r_a_n_html_a58471e051c8ab54d13a1be37d5119db3"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#a58471e051c8ab54d13a1be37d5119db3">free5GRAN::BAND_N_28</a></div><div class="ttdeci">band BAND_N_28</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00027">common_structures.cpp:27</a></div></div>
<div class="ttc" id="namespacefree5_g_r_a_n_html_aac3f604e35d24c986090200f5b430c63"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#aac3f604e35d24c986090200f5b430c63">free5GRAN::BAND_N_1</a></div><div class="ttdeci">band BAND_N_1</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00022">common_structures.cpp:22</a></div></div>
<div class="ttc" id="namespacefree5_g_r_a_n_html_abb27f9fab61849b382b939ebb563c686"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#abb27f9fab61849b382b939ebb563c686">free5GRAN::BAND_N_7</a></div><div class="ttdeci">band BAND_N_7</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00025">common_structures.cpp:25</a></div></div>
<div class="ttc" id="namespacefree5_g_r_a_n_html_a51f9e982cc652a02a23c6879181c085f"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#a51f9e982cc652a02a23c6879181c085f">free5GRAN::BANDWIDTH_15_KHZ</a></div><div class="ttdeci">bandwidth_info BANDWIDTH_15_KHZ</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00034">common_structures.cpp:34</a></div></div>
<div class="ttc" id="namespacefree5_g_r_a_n_html_aba2114b51f4d83bee1380a843180cec7"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#aba2114b51f4d83bee1380a843180cec7">free5GRAN::BAND_N_2</a></div><div class="ttdeci">band BAND_N_2</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00023">common_structures.cpp:23</a></div></div>
<div class="ttc" id="common__structures_8h_html"><div class="ttname"><a href="common__structures_8h.html">common_structures.h</a></div></div>
<div class="ttc" id="namespacefree5_g_r_a_n_html_afc5ba43fe5efc4bc03e54e39f0a52dd5"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#afc5ba43fe5efc4bc03e54e39f0a52dd5">free5GRAN::BANDWIDTH_30_KHZ</a></div><div class="ttdeci">bandwidth_info BANDWIDTH_30_KHZ</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00036">common_structures.cpp:36</a></div></div>
<div class="ttc" id="namespacefree5_g_r_a_n_html_a7f08c1704ee85e10d1fbf7bd29007e54"><div class="ttname"><a href="namespacefree5_g_r_a_n.html#a7f08c1704ee85e10d1fbf7bd29007e54">free5GRAN::BAND_N_3</a></div><div class="ttdeci">band BAND_N_3</div><div class="ttdef"><b>Definition:</b> <a href="common__structures_8cpp_source.html#l00024">common_structures.cpp:24</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_c7be52960f9fa135e79775c2552c107e.html">free5GRAN_github</a></li><li class="navelem"><a class="el" href="dir_91cd949f10c5081a46d3e51cd7e5ed76.html">lib</a></li><li class="navelem"><a class="el" href="dir_22e4d951c0356846260b2df8eef1f92d.html">variables</a></li><li class="navelem"><a class="el" href="dir_e232bba1603491257c582d5d187b1ea9.html">common_structures</a></li><li class="navelem"><a class="el" href="common__structures_8cpp.html">common_structures.cpp</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>