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