blob: 68c7422f1a6560d5c60fd47fee9d081dccaa42e4 [file] [log] [blame]
Hyunsun Mooned19c092019-07-10 15:24:45 -06001{{/*
2Copyright 2019-present Open Networking Foundation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/}}
16
17---
18apiVersion: v1
19kind: ConfigMap
20metadata:
21 name: {{ .Values.conf.enb.name }}
22data:
23 nfapi.conf: |
24 Active_eNBs = ("eNB-OAISIM-LTEBox");
25 Asn1_verbosity = "none";
26
27 eNBs = (
28 {
29 ////////// Identification parameters:
30 eNB_ID = 0xe00;
31 cell_type = "CELL_MACRO_ENB";
32 eNB_name = "eNB-OAISIM-LTEBox";
33
34 ////////// Tracking area code, 0x0000 and 0xfffe are reserved values:
35 tracking_area_code = 1;
36 plmn_list = (
37 {
38 mcc = {{ .Values.conf.plmn.mcc }};
39 mnc = {{ .Values.conf.plmn.mnc }};
40 mnc_length = {{ .Values.conf.plmn.mnc_length }};
41 }
42 );
43 tr_s_preference = "local_mac"
44
45 ////////// Physical parameters:
46 component_carriers = (
47 {
48 node_function = "3GPP_eNODEB";
49 node_timing = "synch_to_ext_device";
50 node_synch_ref = 0;
51 frame_type = "FDD";
52 tdd_config = 3;
53 tdd_config_s = 0;
54 prefix_type = "NORMAL";
55 eutra_band = 7;
56 downlink_frequency = 2685000000L;
57 uplink_frequency_offset = -120000000;
58 Nid_cell = 0;
59 N_RB_DL = 50;
60 Nid_cell_mbsfn = 0;
61 nb_antenna_ports = 1;
62 nb_antennas_tx = 1;
63 nb_antennas_rx = 1;
64 tx_gain = 90;
65 rx_gain = 125;
66 pbch_repetition = "FALSE";
67 prach_root = 0;
68 prach_config_index = 0;
69 prach_high_speed = "DISABLE";
70 prach_zero_correlation = 1;
71 prach_freq_offset = 2;
72 pucch_delta_shift = 1;
73 pucch_nRB_CQI = 0;
74 pucch_nCS_AN = 0;
75 pucch_n1_AN = 0;
76 pdsch_referenceSignalPower = -27;
77 pdsch_p_b = 0;
78 pusch_n_SB = 1;
79 pusch_enable64QAM = "DISABLE";
80 pusch_hoppingMode = "interSubFrame";
81 pusch_hoppingOffset = 0;
82 pusch_groupHoppingEnabled = "ENABLE";
83 pusch_groupAssignment = 0;
84 pusch_sequenceHoppingEnabled = "DISABLE";
85 pusch_nDMRS1 = 1;
86 phich_duration = "NORMAL";
87 phich_resource = "ONESIXTH";
88 srs_enable = "DISABLE";
89
90 pusch_p0_Nominal = -96;
91 pusch_alpha = "AL1";
92 pucch_p0_Nominal = -104;
93 msg3_delta_Preamble = 6;
94 pucch_deltaF_Format1 = "deltaF2";
95 pucch_deltaF_Format1b = "deltaF3";
96 pucch_deltaF_Format2 = "deltaF0";
97 pucch_deltaF_Format2a = "deltaF0";
98 pucch_deltaF_Format2b = "deltaF0";
99
100 rach_numberOfRA_Preambles = 64;
101 rach_preamblesGroupAConfig = "DISABLE";
102 rach_powerRampingStep = 4;
103 rach_preambleInitialReceivedTargetPower = -108;
104 rach_preambleTransMax = 10;
105 rach_raResponseWindowSize = 10;
106 rach_macContentionResolutionTimer = 48;
107 rach_maxHARQ_Msg3Tx = 4;
108
109 pcch_default_PagingCycle = 128;
110 pcch_nB = "oneT";
111 bcch_modificationPeriodCoeff = 2;
112 ue_TimersAndConstants_t300 = 1000;
113 ue_TimersAndConstants_t301 = 1000;
114 ue_TimersAndConstants_t310 = 1000;
115 ue_TimersAndConstants_t311 = 10000;
116 ue_TimersAndConstants_n310 = 20;
117 ue_TimersAndConstants_n311 = 1;
118 ue_TransmissionMode = 1;
119
120 //Parameters for SIB18
121 rxPool_sc_CP_Len = "normal";
122 rxPool_sc_Period = "sf40";
123 rxPool_data_CP_Len = "normal";
124 rxPool_ResourceConfig_prb_Num = 20;
125 rxPool_ResourceConfig_prb_Start = 5;
126 rxPool_ResourceConfig_prb_End = 44;
127 rxPool_ResourceConfig_offsetIndicator_present = "prSmall";
128 rxPool_ResourceConfig_offsetIndicator_choice = 0;
129 rxPool_ResourceConfig_subframeBitmap_present = "prBs40";
130 rxPool_ResourceConfig_subframeBitmap_choice_bs_buf = "00000000000000000000";
131 rxPool_ResourceConfig_subframeBitmap_choice_bs_size = 5;
132 rxPool_ResourceConfig_subframeBitmap_choice_bs_bits_unused = 0;
133
134 // Parameters for SIB19
135 discRxPool_cp_Len = "normal"
136 discRxPool_discPeriod = "rf32"
137 discRxPool_numRetx = 1;
138 discRxPool_numRepetition = 2;
139 discRxPool_ResourceConfig_prb_Num = 5;
140 discRxPool_ResourceConfig_prb_Start = 3;
141 discRxPool_ResourceConfig_prb_End = 21;
142 discRxPool_ResourceConfig_offsetIndicator_present = "prSmall";
143 discRxPool_ResourceConfig_offsetIndicator_choice = 0;
144 discRxPool_ResourceConfig_subframeBitmap_present = "prBs40";
145 discRxPool_ResourceConfig_subframeBitmap_choice_bs_buf = "f0ffffffff";
146 discRxPool_ResourceConfig_subframeBitmap_choice_bs_size = 5;
147 discRxPool_ResourceConfig_subframeBitmap_choice_bs_bits_unused = 0;
148 }
149 );
150
151 srb1_parameters :
152 {
153 # timer_poll_retransmit = (ms) [5, 10, 15, 20,... 250, 300, 350, ... 500]
154 timer_poll_retransmit = 80;
155
156 # timer_reordering = (ms) [0,5, ... 100, 110, 120, ... ,200]
157 timer_reordering = 35;
158
159 # timer_reordering = (ms) [0,5, ... 250, 300, 350, ... ,500]
160 timer_status_prohibit = 0;
161
162 # poll_pdu = [4, 8, 16, 32 , 64, 128, 256, infinity(>10000)]
163 poll_pdu = 4;
164
165 # poll_byte = (kB) [25,50,75,100,125,250,375,500,750,1000,1250,1500,2000,3000,infinity(>10000)]
166 poll_byte = 99999;
167
168 # max_retx_threshold = [1, 2, 3, 4 , 6, 8, 16, 32]
169 max_retx_threshold = 4;
170 }
171
172 # ------- SCTP definitions
173 SCTP :
174 {
175 # Number of streams to use in input/output
176 SCTP_INSTREAMS = 2;
177 SCTP_OUTSTREAMS = 2;
178 };
179
180 ////////// MME parameters:
181 mme_ip_address = (
182 {
183 ipv4 = {{ .Values.conf.enb.mme.address | quote }};
184 ipv6 = "192:168:30::17";
185 active = "yes";
186 preference = "ipv4";
187 }
188 );
189
190 NETWORK_INTERFACES :
191 {
192 ENB_INTERFACE_NAME_FOR_S1_MME = {{ .Values.conf.enb.networks.s1_mme.interface | quote }};
193 ENB_IPV4_ADDRESS_FOR_S1_MME = S1_MME_IP_ADDRESS;
194 ENB_INTERFACE_NAME_FOR_S1U = {{ .Values.conf.enb.networks.s1u.interface | quote }};
195 ENB_IPV4_ADDRESS_FOR_S1U = S1U_IP_ADDRESS;
196 ENB_PORT_FOR_S1U = {{ .Values.conf.enb.networks.s1u.port }}; # Spec 2152
197 ENB_IPV4_ADDRESS_FOR_X2C = X2C_IP_ADDRESS;
198 ENB_PORT_FOR_X2C = 36422; # Spec 36422
199 };
200 }
201 );
202
203 MACRLCs = (
204 {
205 num_cc = 1;
206 local_s_if_name = "lo:";
207 remote_s_address = "127.0.0.1";
208 local_s_address = "127.0.0.2";
209 local_s_portc = 50001;
210 remote_s_portc = 50000;
211 local_s_portd = 50011;
212 remote_s_portd = 50010;
213 tr_s_preference = "nfapi";
214 tr_n_preference = "local_RRC";
215 }
216 );
217
218 THREAD_STRUCT = (
219 {
220 #three config for level of parallelism "PARALLEL_SINGLE_THREAD", "PARALLEL_RU_L1_SPLIT", or "PARALLEL_RU_L1_TRX_SPLIT"
221 parallel_config = "PARALLEL_RU_L1_TRX_SPLIT";
222 #two option for worker "WORKER_DISABLE" or "WORKER_ENABLE"
223 worker_config = "WORKER_ENABLE";
224 }
225 );
226
227 log_config =
228 {
229 global_log_level ="info";
230 global_log_verbosity ="medium";
231 hw_log_level ="info";
232 hw_log_verbosity ="medium";
233 phy_log_level ="info";
234 phy_log_verbosity ="medium";
235 mac_log_level ="info";
236 mac_log_verbosity ="high";
237 rlc_log_level ="info";
238 rlc_log_verbosity ="medium";
239 pdcp_log_level ="info";
240 pdcp_log_verbosity ="medium";
241 rrc_log_level ="info";
242 rrc_log_verbosity ="medium";
243 };
244 enb-init.sh: |
245{{ tuple "bin/_enb-init.sh.tpl" . | include "oaisim.template" | indent 4 }}
246 enb-run.sh: |
247{{ tuple "bin/_enb-run.sh.tpl" . | include "oaisim.template" | indent 4 }}