Update to odulow per maintenance bronze
[o-du/phy.git] / fhi_lib / app / usecase / cat_b / mu1_100mhz / 1 / config_file_o_ru.dat
1 #******************************************************************************
2 #
3 #   Copyright (c) 2019 Intel.
4 #
5 #   Licensed under the Apache License, Version 2.0 (the "License");
6 #   you may not use this file except in compliance with the License.
7 #   You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #   Unless required by applicable law or agreed to in writing, software
12 #   distributed under the License is distributed on an "AS IS" BASIS,
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #   See the License for the specific language governing permissions and
15 #   limitations under the License.
16 #
17 #******************************************************************************/
18
19
20 # This is simple configuration file. Use '#' sign for comments
21 instanceId=1 # 0,1,2,... in case more than 1 application started on the same system
22 appMode=1 # O-DU(0) | O-RU(1)
23 xranMode=1 # Category A  (0) (precoder in O-DU) | Category B (1) (precoder in O-RU)
24 ccNum=1 # Number of Componnent Carriers (CC) per ETH port with XRAN protocol (default:1 max: 4)
25 antNum=8 # Number of Antennas per CC (default: 4) or number of Digital streams for Category B 
26 antNumUL=4 # Cat B: UL Number of Antennas per CC (default: 8) or number of UL Digital streams for Category B 
27 antElmTRx=32 #number of Antenna Elements for Cat B default 32T32R
28
29 #UEs
30 muMimoUEs=8 #number of UEs serviced by MU-MIMO system. Number of independent beams within the same Freq/Time resources    
31 DlLayersPerUe=1 #number of RX anntennas on DL UE side
32 UlLayersPerUe=1 #number of TX anntennas on UL UE side
33
34
35 ##Numerology
36 mu=1 #30Khz Sub Carrier Spacing
37
38 ttiPeriod=500 # in us TTI period (30Khz default 500us)
39
40 nDLAbsFrePointA=3568160 #nAbsFrePointA - Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
41 nULAbsFrePointA=3568160 #nAbsFrePointA - Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
42 nDLBandwidth=100 #Carrier bandwidth for in MHz. Value: 5->400
43 nULBandwidth=100 #Carrier bandwidth for in MHz. Value: 5->400
44 nDLFftSize=4096
45 nULFftSize=4096
46
47 nFrameDuplexType=1 # 0 - FDD 1 - TDD
48 nTddPeriod=10 #[0-9] DDDSUUDDDD, for S it's 6:4:4
49 sSlotConfig0=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
50 sSlotConfig1=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
51 sSlotConfig2=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
52 sSlotConfig3=0,0,0,0,0,0,2,2,2,2,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
53 sSlotConfig4=1,1,1,1,1,1,1,1,1,1,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
54 sSlotConfig5=1,1,1,1,1,1,1,1,1,1,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
55 sSlotConfig6=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
56 sSlotConfig7=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
57 sSlotConfig8=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
58 sSlotConfig9=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
59
60 MTUSize=9600 #maximum transmission unit (MTU) is the size of the largest protocol data unit (PDU) that can be communicated in a single 
61  #xRAN network layer transaction. supported 1500 bytes and 9600 bytes (Jumbo Frame)
62 Gps_Alpha=0     #alpha and beta value as in section 9.7.2 of ORAN spec
63 Gps_Beta=0
64
65 ioCore=15
66 # Eth 0
67 duMac0=00:11:22:33:44:66 # asigned MAC of O-DU VF
68 ruMac0=00:11:22:33:44:55 # O-RU VF for O-RU app
69 duMac1=00:11:22:33:44:66 # asigned MAC of O-DU VF
70 ruMac1=00:11:22:33:44:55 # O-RU VF for O-RU app
71
72 # Eth 1
73 duMac2=00:11:22:33:44:77 # asigned MAC of O-DU VF
74 ruMac2=00:11:22:33:44:44 # O-RU VF for O-RU app
75 duMac3=00:11:22:33:44:77 # asigned MAC of O-DU VF
76 ruMac3=00:11:22:33:44:44 # O-RU VF for O-RU app
77
78 numSlots=10 #number of slots per IQ files
79 antC0=./usecase/cat_b/mu1_100mhz/ant_0.bin   #CC0
80 antC1=./usecase/cat_b/mu1_100mhz/ant_1.bin   #CC0
81 antC2=./usecase/cat_b/mu1_100mhz/ant_2.bin   #CC0
82 antC3=./usecase/cat_b/mu1_100mhz/ant_3.bin   #CC0
83 antC4=./usecase/cat_b/mu1_100mhz/ant_4.bin   #CC1
84 antC5=./usecase/cat_b/mu1_100mhz/ant_5.bin   #CC1
85 antC6=./usecase/cat_b/mu1_100mhz/ant_6.bin   #CC1
86 antC7=./usecase/cat_b/mu1_100mhz/ant_7.bin   #CC1
87 antC8=./usecase/cat_b/mu1_100mhz/ant_0.bin   #CC2
88 antC9=./usecase/cat_b/mu1_100mhz/ant_1.bin   #CC2
89 antC10=./usecase/cat_b/mu1_100mhz/ant_2.bin #CC2
90 antC11=./usecase/cat_b/mu1_100mhz/ant_3.bin #CC2
91 antC12=./usecase/cat_b/mu1_100mhz/ant_4.bin #CC3
92 antC13=./usecase/cat_b/mu1_100mhz/ant_5.bin #CC3
93 antC14=./usecase/cat_b/mu1_100mhz/ant_6.bin #CC3
94 antC15=./usecase/cat_b/mu1_100mhz/ant_7.bin #CC3
95
96 antPrachC0=./usecase/cat_b/mu1_100mhz/ant_0.bin   #CC0
97 antPrachC1=./usecase/cat_b/mu1_100mhz/ant_1.bin   #CC0
98 antPrachC2=./usecase/cat_b/mu1_100mhz/ant_2.bin   #CC0
99 antPrachC3=./usecase/cat_b/mu1_100mhz/ant_3.bin   #CC0
100 antPrachC4=./usecase/cat_b/mu1_100mhz/ant_4.bin   #CC1
101 antPrachC5=./usecase/cat_b/mu1_100mhz/ant_5.bin   #CC1
102 antPrachC6=./usecase/cat_b/mu1_100mhz/ant_6.bin   #CC1
103 antPrachC7=./usecase/cat_b/mu1_100mhz/ant_7.bin   #CC1
104 antPrachC8=./usecase/cat_b/mu1_100mhz/ant_0.bin   #CC2
105 antPrachC9=./usecase/cat_b/mu1_100mhz/ant_1.bin   #CC2
106 antPrachC10=./usecase/cat_b/mu1_100mhz/ant_2.bin  #CC2
107 antPrachC11=./usecase/cat_b/mu1_100mhz/ant_3.bin  #CC2
108 antPrachC12=./usecase/cat_b/mu1_100mhz/ant_4.bin  #CC3
109 antPrachC13=./usecase/cat_b/mu1_100mhz/ant_5.bin  #CC3
110 antPrachC14=./usecase/cat_b/mu1_100mhz/ant_6.bin  #CC3
111 antPrachC15=./usecase/cat_b/mu1_100mhz/ant_7.bin  #CC3
112
113 rachEanble=0 # Enable (1)| disable (0) PRACH configuration
114 prachConfigIndex=189
115
116 srsEanble=1 # Enable (1)| disable (0) SRS 
117 srsSym=8192 # (1<<13) symbol used for SRS (def: sym 13)
118
119 antSrsC0=./usecase/cat_b/mu1_100mhz/ant_0.bin   
120 antSrsC1=./usecase/cat_b/mu1_100mhz/ant_1.bin   
121 antSrsC2=./usecase/cat_b/mu1_100mhz/ant_2.bin   
122 antSrsC3=./usecase/cat_b/mu1_100mhz/ant_3.bin   
123 antSrsC4=./usecase/cat_b/mu1_100mhz/ant_4.bin   
124 antSrsC5=./usecase/cat_b/mu1_100mhz/ant_5.bin   
125 antSrsC6=./usecase/cat_b/mu1_100mhz/ant_6.bin   
126 antSrsC7=./usecase/cat_b/mu1_100mhz/ant_7.bin   
127 antSrsC8=./usecase/cat_b/mu1_100mhz/ant_0.bin   
128 antSrsC9=./usecase/cat_b/mu1_100mhz/ant_1.bin   
129 antSrsC10=./usecase/cat_b/mu1_100mhz/ant_2.bin 
130 antSrsC11=./usecase/cat_b/mu1_100mhz/ant_3.bin 
131 antSrsC12=./usecase/cat_b/mu1_100mhz/ant_4.bin 
132 antSrsC13=./usecase/cat_b/mu1_100mhz/ant_5.bin 
133 antSrsC14=./usecase/cat_b/mu1_100mhz/ant_6.bin 
134 antSrsC15=./usecase/cat_b/mu1_100mhz/ant_7.bin 
135 antSrsC16=./usecase/cat_b/mu1_100mhz/ant_0.bin   
136 antSrsC17=./usecase/cat_b/mu1_100mhz/ant_1.bin   
137 antSrsC18=./usecase/cat_b/mu1_100mhz/ant_2.bin   
138 antSrsC19=./usecase/cat_b/mu1_100mhz/ant_3.bin   
139 antSrsC20=./usecase/cat_b/mu1_100mhz/ant_4.bin   
140 antSrsC21=./usecase/cat_b/mu1_100mhz/ant_5.bin   
141 antSrsC22=./usecase/cat_b/mu1_100mhz/ant_6.bin   
142 antSrsC23=./usecase/cat_b/mu1_100mhz/ant_7.bin   
143 antSrsC24=./usecase/cat_b/mu1_100mhz/ant_0.bin   
144 antSrsC25=./usecase/cat_b/mu1_100mhz/ant_1.bin   
145 antSrsC26=./usecase/cat_b/mu1_100mhz/ant_2.bin 
146 antSrsC27=./usecase/cat_b/mu1_100mhz/ant_3.bin 
147 antSrsC28=./usecase/cat_b/mu1_100mhz/ant_4.bin 
148 antSrsC29=./usecase/cat_b/mu1_100mhz/ant_5.bin 
149 antSrsC30=./usecase/cat_b/mu1_100mhz/ant_6.bin 
150 antSrsC31=./usecase/cat_b/mu1_100mhz/ant_7.bin 
151
152 ###########################################################
153 ##Section Settings
154 DynamicSectionEna=1 # 1 - enable dynamic section allocation 0 - static sections all RBs are used 
155
156 nPrbElemDl=8
157 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
158 # weight base beams 
159 PrbElemDl0=0,36,0,14,1,1,1,9,1
160 PrbElemDl1=36,36,0,14,2,1,1,9,1
161 PrbElemDl2=72,36,0,14,3,1,1,9,1
162 PrbElemDl3=108,36,0,14,4,1,1,9,1
163 PrbElemDl4=144,36,0,14,5,1,1,9,1
164 PrbElemDl5=180,36,0,14,6,1,1,9,1
165 PrbElemDl6=216,36,0,14,7,1,1,9,1
166 PrbElemDl7=252,21,0,14,8,1,1,9,1
167
168 nPrbElemUl=8
169 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
170 # weight base beams 
171 PrbElemUl0=0,36,0,14,1,1,1,9,1
172 PrbElemUl1=36,36,0,14,2,1,1,9,1
173 PrbElemUl2=72,36,0,14,3,1,1,9,1
174 PrbElemUl3=108,36,0,14,4,1,1,9,1
175 PrbElemUl4=144,36,0,14,5,1,1,9,1
176 PrbElemUl5=180,36,0,14,6,1,1,9,1
177 PrbElemUl6=216,36,0,14,7,1,1,9,1
178 PrbElemUl7=252,21,0,14,8,1,1,9,1
179
180 ###########################################################
181
182 ## control of IQ byte order
183 iqswap=0 #do swap of IQ before send buffer to eth
184 nebyteorderswap=1 #do swap of byte order for each I and Q from CPU byte order to network byte order
185 compression=1 # (1) compression enabled (0) compression disabled
186
187 ##Debug
188 debugStop=1 #stop app on 1pps boundary (gps_second % 30)
189 debugStopCount=0 #if this value is >0 then stop app after x transmission packets, otherwise app will stop at 1pps boundary
190 bbdevMode=-1 #bbdev mode, -1 = not use bbdev, 0: use software mode, 1: use hardware mode
191
192 CPenable=0 #(1) C-Plane is enabled| (0) C-Plane is disabled
193
194 ##O-RU Settings
195 totalBFWeights=32 # Total number of Beamforming Weights on RU
196
197 Tadv_cp_dl=25 # in us
198               # C-Plane messages must arrive at the RU some amount of time in advance (Tcp_adv_dl) of the corresponding U-Plane messages
199 #Reception Window C-plane DL
200 T2a_min_cp_dl=285 # 285.42us
201 T2a_max_cp_dl=429 # 428.12us
202
203 #Reception Window C-plane UL
204 T2a_min_cp_ul=285 # 285.42us
205 T2a_max_cp_ul=429 # 428.12us
206
207 #Reception Window U-plane
208 T2a_min_up=71  # 71.35in us
209 T2a_max_up=428 # 428.12us
210
211 #Transmission Window
212 Ta3_min=20 # in us 
213 Ta3_max=32 # in us 
214
215 ###########################################################
216 ##O-DU Settings
217 #C-plane
218 #Transmission Window Fast C-plane DL
219 T1a_min_cp_dl=285
220 T1a_max_cp_dl=429
221
222 ##Transmission Window Fast C-plane UL
223 T1a_min_cp_ul=285
224 T1a_max_cp_ul=300
225
226 #U-plane
227 ##Transmission Window
228 T1a_min_up=96  #71 + 25 us
229 T1a_max_up=196 #71 + 25 us
230
231 #Reception Window
232 Ta4_min=0  # in us 
233 Ta4_max=75 # in us 
234 ###########################################################
235