Update to odulow per maintenance bronze
[o-du/phy.git] / fhi_lib / app / usecase / mu1_100mhz / 102 / 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 # This is simple configuration file. Use '#' sign for comments
20 instanceId=0 # 0,1,2,... in case more than 1 application started on the same system
21 appMode=0 # O-DU(0) | 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=5
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 rachEanble=1 # Enable (1)| disable (0) PRACH configuration
88 prachConfigIndex=147 # PRACH config index as per TS36.211 - Table 5.7.1-2 : PRACH Configuration Index
89
90 ###########################################################
91 ##Section Settings
92 DynamicSectionEna=1 # 1 - enable dynamic section allocation 0 - static sections all RBs are used 
93
94 nPrbElemDl=2
95 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
96 # weight base beams 
97 PrbElemDl0=0,137,0,14,1,1,0,16,0
98 PrbElemDl1=137,136,0,14,2,1,0,16,0
99 PrbElemDl2=72,36,0,14,3,1,0,16,1
100 PrbElemDl3=108,36,0,14,4,1,0,16,1
101 PrbElemDl4=144,36,0,14,5,1,0,16,1
102 PrbElemDl5=180,36,0,14,6,1,0,16,1
103 PrbElemDl6=216,36,0,14,7,1,0,16,1
104 PrbElemDl7=252,21,0,14,8,1,0,16,1
105
106
107 nPrbElemUl=2
108 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
109 # weight base beams 
110 PrbElemUl0=0,137,0,14,1,1,0,16,0
111 PrbElemUl1=137,136,0,14,2,1,0,16,0
112 PrbElemUl2=72,36,0,14,3,1,0,16,1
113 PrbElemUl3=108,36,0,14,4,1,0,16,1
114 PrbElemUl4=144,36,0,14,5,1,0,16,1
115 PrbElemUl5=180,36,0,14,6,1,0,16,1
116 PrbElemUl6=216,36,0,14,7,1,0,16,1
117 PrbElemUl7=252,21,0,14,8,1,0,16,1
118
119 ###########################################################
120
121 ## control of IQ byte order
122 iqswap=0 #do swap of IQ before send buffer to eth
123 nebyteorderswap=1 #do swap of byte order for each I and Q from CPU byte order to network byte order
124
125 ##Debug
126 debugStop=1 #stop app on 1pps boundary (gps_second % 30)
127 debugStopCount=0 #if this value is >0 then stop app after x transmission packets, otherwise app will stop at 1pps boundary
128 bbdevMode=-1 #bbdev mode, -1 = not use bbdev, 0: use software mode, 1: use hardware mode
129
130 CPenable=1 #(1) C-Plane is enabled| (0) C-Plane is disabled
131
132 ##O-RU Settings
133 totalBFWeights=32 # Total number of Beamforming Weights on RU
134
135 Tadv_cp_dl=125 # in us
136               # C-Plane messages must arrive at the RU some amount of time in advance (Tcp_adv_dl) of the corresponding U-Plane messages
137 #Reception Window C-plane DL
138 T2a_min_cp_dl=419 # 285.42us
139 T2a_max_cp_dl=470 # 428.12us
140
141 #Reception Window C-plane UL
142 T2a_min_cp_ul=125 # 285.42us
143 T2a_max_cp_ul=336 # 428.12us
144
145 #Reception Window U-plane
146 T2a_min_up=134  # 71.35in us
147 T2a_max_up=345 # 428.12us
148
149 #Transmission Window
150 Ta3_min=50 # in us 
151 Ta3_max=171 # in us 
152
153 ###########################################################
154 ##O-DU Settings
155 #C-plane
156 #Transmission Window Fast C-plane DL
157 T1a_min_cp_dl=419
158 T1a_max_cp_dl=470
159
160 ##Transmission Window Fast C-plane UL
161 T1a_min_cp_ul=285
162 T1a_max_cp_ul=336
163
164 #U-plane
165 ##Transmission Window
166 T1a_min_up=294  #71 + 25 us
167 T1a_max_up=345 #71 + 25 us
168
169 #Reception Window
170 Ta4_min=50  # in us 
171 Ta4_max=331 # in us 
172 ###########################################################
173