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