Update to odulow per maintenance bronze
[o-du/phy.git] / fhi_lib / app / usecase / cat_b / mu1_100mhz / 108 / config_file_o_du.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 #TDD    1       64T64R  100     8       4       MAX     16QAM 0.5       33%     90      33%     90      8.5     2.3                     DU
20
21 # This is simple configuration file. Use '#' sign for comments
22 instanceId=0 # 0,1,2,... in case more than 1 application started on the same system
23 appMode=0 # O-DU(0) | O-RU(1)
24 xranMode=1 # Category A  (0) (precoder in O-DU) | Category B (1) (precoder in O-RU)
25 ccNum=1 # Number of Componnent Carriers (CC) per ETH port with XRAN protocol (default:1 max: 4)
26 antNum=8 # Number of Antennas per CC (default: 4) or number of Digital streams for Category B 
27 antNumUL=4 # Cat B: UL Number of Antennas per CC (default: 8) or number of UL Digital streams for Category B 
28 antElmTRx=64 #number of Antenna Elements for Cat B default 32T32R
29
30 #UEs
31 muMimoUEs=8 #number of UEs serviced by MU-MIMO system. Number of independent beams within the same Freq/Time resources    
32 DlLayersPerUe=1 #number of RX anntennas on DL UE side
33 UlLayersPerUe=1 #number of TX anntennas on UL UE side
34
35
36 ##Numerology
37 mu=1 #30Khz Sub Carrier Spacing
38
39 ttiPeriod=500 # in us TTI period (30Khz default 500us)
40
41 nDLAbsFrePointA=3568160 #nAbsFrePointA - Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
42 nULAbsFrePointA=3568160 #nAbsFrePointA - Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
43 nDLBandwidth=100 #Carrier bandwidth for in MHz. Value: 5->400
44 nULBandwidth=100 #Carrier bandwidth for in MHz. Value: 5->400
45 nDLFftSize=4096
46 nULFftSize=4096
47
48 nFrameDuplexType=1 # 0 - FDD 1 - TDD
49 nTddPeriod=10 #[0-9] DDDSUUDDDD, for S it's 6:4:4
50 sSlotConfig0=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
51 sSlotConfig1=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
52 sSlotConfig2=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
53 sSlotConfig3=0,0,0,0,0,0,2,2,2,2,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
54 sSlotConfig4=1,1,1,1,1,1,1,1,1,1,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
55 sSlotConfig5=1,1,1,1,1,1,1,1,1,1,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
56 sSlotConfig6=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
57 sSlotConfig7=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
58 sSlotConfig8=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
59 sSlotConfig9=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
60
61 MTUSize=9600 #maximum transmission unit (MTU) is the size of the largest protocol data unit (PDU) that can be communicated in a single 
62  #xRAN network layer transaction. supported 1500 bytes and 9600 bytes (Jumbo Frame)
63 Gps_Alpha=0     #alpha and beta value as in section 9.7.2 of ORAN spec
64 Gps_Beta=0
65
66 ioCore=5           # core id 
67 ioWorker=0x2000000 # mask [0- no workers]
68
69 # Eth 0
70 duMac0=00:11:22:33:44:66 # asigned MAC of O-DU VF
71 ruMac0=00:11:22:33:44:55 # O-RU VF for O-RU app
72 duMac1=00:11:22:33:44:66 # asigned MAC of O-DU VF
73 ruMac1=00:11:22:33:44:55 # O-RU VF for O-RU app
74
75 # Eth 1
76 duMac2=00:11:22:33:44:77 # asigned MAC of O-DU VF
77 ruMac2=00:11:22:33:44:44 # O-RU VF for O-RU app
78 duMac3=00:11:22:33:44:77 # asigned MAC of O-DU VF
79 ruMac3=00:11:22:33:44:44 # O-RU VF for O-RU app
80
81 numSlots=10 #number of slots per IQ files
82 antC0=./usecase/cat_b/mu1_100mhz/ant_0.bin   #CC0
83 antC1=./usecase/cat_b/mu1_100mhz/ant_1.bin   #CC0
84 antC2=./usecase/cat_b/mu1_100mhz/ant_2.bin   #CC0
85 antC3=./usecase/cat_b/mu1_100mhz/ant_3.bin   #CC0
86 antC4=./usecase/cat_b/mu1_100mhz/ant_4.bin   #CC1
87 antC5=./usecase/cat_b/mu1_100mhz/ant_5.bin   #CC1
88 antC6=./usecase/cat_b/mu1_100mhz/ant_6.bin   #CC1
89 antC7=./usecase/cat_b/mu1_100mhz/ant_7.bin   #CC1
90 antC8=./usecase/cat_b/mu1_100mhz/ant_0.bin   #CC2
91 antC9=./usecase/cat_b/mu1_100mhz/ant_1.bin   #CC2
92 antC10=./usecase/cat_b/mu1_100mhz/ant_2.bin #CC2
93 antC11=./usecase/cat_b/mu1_100mhz/ant_3.bin #CC2
94 antC12=./usecase/cat_b/mu1_100mhz/ant_4.bin #CC3
95 antC13=./usecase/cat_b/mu1_100mhz/ant_5.bin #CC3
96 antC14=./usecase/cat_b/mu1_100mhz/ant_6.bin #CC3
97 antC15=./usecase/cat_b/mu1_100mhz/ant_7.bin #CC3
98
99 #DL beamforming weights used based on channel to UE [e.g Wzf = H^H(H*H^H)-1 wher H is MxK matrix, M - number of TX elements and K- number of UEs (the same as Layers)]
100 DlBfwUe0=./usecase/cat_b/mu1_100mhz/dl_bfw_ue_0.bin   #UE0 weights for TRX antennas [antElmTRx x numRBs x slot points]
101 DlBfwUe1=./usecase/cat_b/mu1_100mhz/dl_bfw_ue_1.bin   #UE1 weights for TRX antennas [antElmTRx x numRBs x slot points]
102 DlBfwUe2=./usecase/cat_b/mu1_100mhz/dl_bfw_ue_2.bin   #UE2 weights for TRX antennas [antElmTRx x numRBs x slot points]
103 DlBfwUe3=./usecase/cat_b/mu1_100mhz/dl_bfw_ue_3.bin   #UE3 weights for TRX antennas [antElmTRx x numRBs x slot points]
104 DlBfwUe4=./usecase/cat_b/mu1_100mhz/dl_bfw_ue_4.bin   #UE4 weights for TRX antennas [antElmTRx x numRBs x slot points]
105 DlBfwUe5=./usecase/cat_b/mu1_100mhz/dl_bfw_ue_5.bin   #UE5 weights for TRX antennas [antElmTRx x numRBs x slot points]
106 DlBfwUe6=./usecase/cat_b/mu1_100mhz/dl_bfw_ue_6.bin   #UE6 weights for TRX antennas [antElmTRx x numRBs x slot points]
107 DlBfwUe7=./usecase/cat_b/mu1_100mhz/dl_bfw_ue_7.bin   #UE7 weights for TRX antennas [antElmTRx x numRBs x slot points]
108
109 #UL beamforming weights used based on channel to UE [e.g Wzf = H^H(H*H^H)-1 wher H is MxK matrix, M - number of RX elements and K- number of UEs (the same as Layers)]
110 UlBfwUe0=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_0.bin   #UE0 weights for TRX antennas [antElmTRx x numRBs x slot points]
111 UlBfwUe1=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_1.bin   #UE1 weights for TRX antennas [antElmTRx x numRBs x slot points]
112 UlBfwUe2=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_2.bin   #UE2 weights for TRX antennas [antElmTRx x numRBs x slot points]
113 UlBfwUe3=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_3.bin   #UE3 weights for TRX antennas [antElmTRx x numRBs x slot points]
114 UlBfwUe4=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_4.bin   #UE4 weights for TRX antennas [antElmTRx x numRBs x slot points]
115 UlBfwUe5=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_5.bin   #UE5 weights for TRX antennas [antElmTRx x numRBs x slot points]
116 UlBfwUe6=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_6.bin   #UE6 weights for TRX antennas [antElmTRx x numRBs x slot points]
117 UlBfwUe7=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_7.bin   #UE7 weights for TRX antennas [antElmTRx x numRBs x slot points]
118 UlBfwUe8=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_0.bin   #UE0 weights for TRX antennas [antElmTRx x numRBs x slot points]
119 UlBfwUe9=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_1.bin   #UE1 weights for TRX antennas [antElmTRx x numRBs x slot points]
120 UlBfwUe10=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_2.bin   #UE2 weights for TRX antennas [antElmTRx x numRBs x slot points]
121 UlBfwUe11=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_3.bin   #UE3 weights for TRX antennas [antElmTRx x numRBs x slot points]
122 UlBfwUe12=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_4.bin   #UE4 weights for TRX antennas [antElmTRx x numRBs x slot points]
123 UlBfwUe13=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_5.bin   #UE5 weights for TRX antennas [antElmTRx x numRBs x slot points]
124 UlBfwUe14=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_6.bin   #UE6 weights for TRX antennas [antElmTRx x numRBs x slot points]
125 UlBfwUe15=./usecase/cat_b/mu1_100mhz/ul_bfw_ue_7.bin   #UE7 weights for TRX antennas [antElmTRx x numRBs x slot points]
126
127 rachEanble=0 # Enable (1)| disable (0) PRACH configuration
128 prachConfigIndex=189
129
130 srsEanble=1 # Enable (1)| disable (0) SRS 
131 srsSym=8192 # (1<<13) symbol used for SRS (def: sym 13)
132
133
134 ###########################################################
135 ##Section Settings
136 DynamicSectionEna=1 # 1 - enable dynamic section allocation 0 - static sections all RBs are used 
137
138 nPrbElemDl=3
139 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
140 # weight base beams 
141 PrbElemDl0=0,30,0,14,0,1,1,9,1
142 PrbElemDl1=30,30,0,14,1,1,1,9,1
143 PrbElemDl2=60,30,0,14,2,1,1,9,1
144
145 nPrbElemUl=3
146 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
147 # weight base beams 
148 PrbElemUl0=0,30,0,14,0,1,1,9,1
149 PrbElemUl1=30,30,0,14,1,1,1,9,1
150 PrbElemUl2=60,30,0,14,2,1,1,9,1
151
152 ###########################################################
153
154 ## control of IQ byte order
155 iqswap=0 #do swap of IQ before send buffer to eth
156 nebyteorderswap=1 #do swap of byte order for each I and Q from CPU byte order to network byte order
157 compression=1 # (1) compression enabled (0) compression disabled
158
159 ##Debug
160 debugStop=1 #stop app on 1pps boundary (gps_second % 30)
161 debugStopCount=0 #if this value is >0 then stop app after x transmission packets, otherwise app will stop at 1pps boundary
162 bbdevMode=-1 #bbdev mode, -1 = not use bbdev, 0: use software mode, 1: use hardware mode
163
164 CPenable=1 #(1) C-Plane is enabled| (0) C-Plane is disabled
165
166 ##O-RU Settings
167 totalBFWeights=32 # Total number of Beamforming Weights on RU
168
169 Tadv_cp_dl=25 # in us
170               # C-Plane messages must arrive at the RU some amount of time in advance (Tcp_adv_dl) of the corresponding U-Plane messages
171 #Reception Window C-plane DL
172 T2a_min_cp_dl=285 # 285.42us
173 T2a_max_cp_dl=429 # 428.12us
174
175 #Reception Window C-plane UL
176 T2a_min_cp_ul=285 # 285.42us
177 T2a_max_cp_ul=429 # 428.12us
178
179 #Reception Window U-plane
180 T2a_min_up=71  # 71.35in us
181 T2a_max_up=428 # 428.12us
182
183 #Transmission Window
184 Ta3_min=20 # in us 
185 Ta3_max=32 # in us 
186
187 ###########################################################
188 ##O-DU Settings
189 #C-plane
190 #Transmission Window Fast C-plane DL
191 T1a_min_cp_dl=285
192 T1a_max_cp_dl=429
193
194 ##Transmission Window Fast C-plane UL
195 T1a_min_cp_ul=285
196 T1a_max_cp_ul=300
197
198 #U-plane
199 ##Transmission Window
200 T1a_min_up=96  #71 + 25 us
201 T1a_max_up=196 #71 + 25 us
202
203 #Reception Window
204 Ta4_min=0  # in us 
205 Ta4_max=75 # in us 
206 ###########################################################
207