Update to odulow per maintenance bronze
[o-du/phy.git] / fhi_lib / app / usecase / mu1_100mhz / 101 / 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 # This is simple configuration file. Use '#' sign for comments
20 instanceId=1 # 0,1,2,... in case more than 1 application started on the same system
21 appMode=1 # O-DU(0) | O-RU(1)
22 xranMode=0 # Category A  (0) (precoder in O-DU) | Category B (1) (precoder in RU)
23 ccNum=1 # Number of Componnent Carriers (CC) per ETH port with XRAN protocol (default:1 max: 12)
24 antNum=4 # Number of Antennas per CC (default: 4) or number of Digital streams for Category B 
25
26 ##Numerology
27 mu=1 #30Khz Sub Carrier Spacing
28
29 ttiPeriod=500 # in us TTI period (30Khz default 500us)
30
31 nDLAbsFrePointA=3568160 #nAbsFrePointA - Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
32 nULAbsFrePointA=3568160 #nAbsFrePointA - Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
33 nDLBandwidth=100 #Carrier bandwidth for in MHz. Value: 5->400
34 nULBandwidth=100 #Carrier bandwidth for in MHz. Value: 5->400
35 nDLFftSize=4096
36 nULFftSize=4096
37
38 nFrameDuplexType=1 # 0 - FDD 1 - TDD
39 nTddPeriod=10 #[0-9] DDDSUUDDDD, for S it's 6:4:4
40 sSlotConfig0=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
41 sSlotConfig1=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
42 sSlotConfig2=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
43 sSlotConfig3=0,0,0,0,0,0,2,2,2,2,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
44 sSlotConfig4=1,1,1,1,1,1,1,1,1,1,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
45 sSlotConfig5=1,1,1,1,1,1,1,1,1,1,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
46 sSlotConfig6=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
47 sSlotConfig7=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
48 sSlotConfig8=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
49 sSlotConfig9=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
50
51 MTUSize=9600 #maximum transmission unit (MTU) is the size of the largest protocol data unit (PDU) that can be communicated in a single 
52  #xRAN network layer transaction. supported 1500 bytes and 9600 bytes (Jumbo Frame)
53 Gps_Alpha=0     #alpha and beta value as in section 9.7.2 of ORAN spec
54 Gps_Beta=0
55
56 ioCore=10
57 # Eth 0
58 duMac0=00:11:22:33:44:66 # asigned MAC of O-DU VF
59 ruMac0=00:11:22:33:44:55 # O-RU VF for O-RU app
60 duMac1=00:11:22:33:44:66 # asigned MAC of O-DU VF
61 ruMac1=00:11:22:33:44:55 # O-RU VF for O-RU app
62
63 #Eth 1
64 duMac2=00:11:22:33:44:77 # asigned MAC of O-DU VF
65 ruMac2=00:11:22:33:44:44 # O-RU VF for O-RU app
66 duMac3=00:11:22:33:44:77 # asigned MAC of O-DU VF
67 ruMac3=00:11:22:33:44:44 # O-RU VF for O-RU app
68
69 numSlots=40 #number of slots per IQ files
70 antC0=./usecase/mu1_100mhz/ant_0.bin   #CC0
71 antC1=./usecase/mu1_100mhz/ant_1.bin   #CC0
72 antC2=./usecase/mu1_100mhz/ant_2.bin   #CC0
73 antC3=./usecase/mu1_100mhz/ant_3.bin   #CC0
74 antC4=./usecase/mu1_100mhz/ant_4.bin   #CC1
75 antC5=./usecase/mu1_100mhz/ant_5.bin   #CC1
76 antC6=./usecase/mu1_100mhz/ant_6.bin   #CC1
77 antC7=./usecase/mu1_100mhz/ant_7.bin   #CC1
78 antC8=./usecase/mu1_100mhz/ant_8.bin   #CC2
79 antC9=./usecase/mu1_100mhz/ant_9.bin   #CC2
80 antC10=./usecase/mu1_100mhz/ant_10.bin #CC2
81 antC11=./usecase/mu1_100mhz/ant_11.bin #CC2
82 antC12=./usecase/mu1_100mhz/ant_12.bin #CC3
83 antC13=./usecase/mu1_100mhz/ant_13.bin #CC3
84 antC14=./usecase/mu1_100mhz/ant_14.bin #CC3
85 antC15=./usecase/mu1_100mhz/ant_15.bin #CC3
86
87 antPrachC0=./usecase/mu1_100mhz/ant_0.bin   #CC0
88 antPrachC1=./usecase/mu1_100mhz/ant_1.bin   #CC0
89 antPrachC2=./usecase/mu1_100mhz/ant_2.bin   #CC0
90 antPrachC3=./usecase/mu1_100mhz/ant_3.bin   #CC0
91 antPrachC4=./usecase/mu1_100mhz/ant_4.bin   #CC1
92 antPrachC5=./usecase/mu1_100mhz/ant_5.bin   #CC1
93 antPrachC6=./usecase/mu1_100mhz/ant_6.bin   #CC1
94 antPrachC7=./usecase/mu1_100mhz/ant_7.bin   #CC1
95 antPrachC8=./usecase/mu1_100mhz/ant_8.bin   #CC2
96 antPrachC9=./usecase/mu1_100mhz/ant_9.bin   #CC2
97 antPrachC10=./usecase/mu1_100mhz/ant_10.bin #CC2
98 antPrachC11=./usecase/mu1_100mhz/ant_11.bin #CC2
99 antPrachC12=./usecase/mu1_100mhz/ant_12.bin #CC3
100 antPrachC13=./usecase/mu1_100mhz/ant_13.bin #CC3
101 antPrachC14=./usecase/mu1_100mhz/ant_14.bin #CC3
102 antPrachC15=./usecase/mu1_100mhz/ant_15.bin #CC3
103
104 rachEanble=1 # Enable (1)| disable (0) PRACH configuration
105 prachConfigIndex=147 # PRACH config index as per TS36.211 - Table 5.7.1-2 : PRACH Configuration Index
106
107 ###########################################################
108 ##Section Settings
109 DynamicSectionEna=1 # 1 - enable dynamic section allocation 0 - static sections all RBs are used 
110
111 nPrbElemDl=2
112 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
113 # weight base beams 
114 PrbElemDl0=0,137,0,14,0,0,0,16,0
115 PrbElemDl1=137,136,0,14,0,0,0,16,0
116 PrbElemDl2=72,36,0,14,3,1,0,16,1
117 PrbElemDl3=108,36,0,14,4,1,0,16,1
118 PrbElemDl4=144,36,0,14,5,1,0,16,1
119 PrbElemDl5=180,36,0,14,6,1,0,16,1
120 PrbElemDl6=216,36,0,14,7,1,0,16,1
121 PrbElemDl7=252,21,0,14,8,1,0,16,1
122
123
124 nPrbElemUl=2
125 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
126 # weight base beams 
127 PrbElemUl0=0,137,0,14,0,0,0,16,0
128 PrbElemUl1=137,136,0,14,0,0,0,16,0
129 PrbElemUl2=72,36,0,14,3,1,0,16,1
130 PrbElemUl3=108,36,0,14,4,1,0,16,1
131 PrbElemUl4=144,36,0,14,5,1,0,16,1
132 PrbElemUl5=180,36,0,14,6,1,0,16,1
133 PrbElemUl6=216,36,0,14,7,1,0,16,1
134 PrbElemUl7=252,21,0,14,8,1,0,16,1
135
136 ###########################################################
137
138 ## control of IQ byte order
139 iqswap=0 #do swap of IQ before send buffer to eth
140 nebyteorderswap=1 #do swap of byte order for each I and Q from CPU byte order to network byte order
141
142 ##Debug
143 debugStop=1 #stop app on 1pps boundary (gps_second % 30)
144 debugStopCount=0 #if this value is >0 then stop app after x transmission packets, otherwise app will stop at 1pps boundary
145 bbdevMode=-1 #bbdev mode, -1 = not use bbdev, 0: use software mode, 1: use hardware mode
146
147 CPenable=1 #(1) C-Plane is enabled| (0) C-Plane is disabled
148
149 ##O-RU Settings
150 Tadv_cp_dl=125 # in us
151               # C-Plane messages must arrive at the RU some amount of time in advance (Tcp_adv_dl) of the corresponding U-Plane messages
152 #Reception Window C-plane DL
153 T2a_min_cp_dl=419 # 285.42us
154 T2a_max_cp_dl=470 # 428.12us
155
156 #Reception Window C-plane UL
157 T2a_min_cp_ul=125 # 285.42us
158 T2a_max_cp_ul=336 # 428.12us
159
160 #Reception Window U-plane
161 T2a_min_up=134  # 71.35in us
162 T2a_max_up=345 # 428.12us
163
164 #Transmission Window
165 Ta3_min=50 # in us 
166 Ta3_max=171 # in us 
167
168 ###########################################################
169 ##O-DU Settings
170 #C-plane
171 #Transmission Window Fast C-plane DL
172 T1a_min_cp_dl=419
173 T1a_max_cp_dl=470
174
175 ##Transmission Window Fast C-plane UL
176 T1a_min_cp_ul=285
177 T1a_max_cp_ul=336
178
179 #U-plane
180 ##Transmission Window
181 T1a_min_up=294  #71 + 25 us
182 T1a_max_up=345 #71 + 25 us
183
184 #Reception Window
185 Ta4_min=50  # in us 
186 Ta4_max=331 # in us 
187 ###########################################################
188