Update to odulow per maintenance bronze
[o-du/phy.git] / fhi_lib / app / usecase / lte_b / mu0_10mhz / 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 xranRanTech=1 # 5G NR (0) | LTE (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: 12)
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=32 #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 ##Numerology
35 mu=0 #15Khz Sub Carrier Spacing
36 ttiPeriod=1000 # in us TTI period (15Khz default 1000us)
37 nDLAbsFrePointA=2645460 #nAbsFrePointA - Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
38 nULAbsFrePointA=2525460 #nAbsFrePointA - Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000
39 nDLBandwidth=10 #Carrier bandwidth for in MHz. Value: 5->400
40 nULBandwidth=10 #Carrier bandwidth for in MHz. Value: 5->400
41 nDLFftSize=1024
42 nULFftSize=1024
43
44 nFrameDuplexType=0 # 0 - FDD 1 - TDD
45 nTddPeriod=0 #TDD priod e.g. DDDS 4
46 nTddPeriod=10 #[0-9] DDDSUUDDDD, for S it's 6:4:4
47 sSlotConfig0=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
48 sSlotConfig1=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
49 sSlotConfig2=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
50 sSlotConfig3=0,0,0,0,0,0,2,2,2,2,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
51 sSlotConfig4=1,1,1,1,1,1,1,1,1,1,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
52 sSlotConfig5=1,1,1,1,1,1,1,1,1,1,1,1,1,1 # (0) - DL (1) - UL (2) - GUARD
53 sSlotConfig6=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
54 sSlotConfig7=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
55 sSlotConfig8=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
56 sSlotConfig9=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
57
58 MTUSize=9600 #maximum transmission unit (MTU) is the size of the largest protocol data unit (PDU) that can be communicated in a single 
59  #xRAN network layer transaction. supported 1500 bytes and 9600 bytes (Jumbo Frame)
60 Gps_Alpha=0     #alpha and beta value as in section 9.7.2 of ORAN spec
61 Gps_Beta=0
62
63 ioCore=10
64 ioWorker=0x40000000 # mask [0- no workers]
65 ioSleep=1
66
67 # Eth 0
68 duMac0=00:11:22:33:44:66 # asigned MAC of O-DU VF
69 ruMac0=00:11:22:33:44:55 # O-RU VF for O-RU app
70 duMac1=00:11:22:33:44:66 # asigned MAC of O-DU VF
71 ruMac1=00:11:22:33:44:55 # O-RU VF for O-RU app
72
73 #Eth 1
74 duMac2=00:11:22:33:44:77 # asigned MAC of O-DU VF
75 ruMac2=00:11:22:33:44:44 # O-RU VF for O-RU app
76 duMac3=00:11:22:33:44:77 # asigned MAC of O-DU VF
77 ruMac3=00:11:22:33:44:44 # O-RU VF for O-RU app
78
79
80 numSlots=10 #number of slots per IQ files
81 antC0=./usecase/lte_b/mu0_10mhz/ant_0.bin   #CC0
82 antC1=./usecase/lte_b/mu0_10mhz/ant_1.bin   #CC0
83 antC2=./usecase/lte_b/mu0_10mhz/ant_2.bin   #CC0
84 antC3=./usecase/lte_b/mu0_10mhz/ant_3.bin   #CC0
85 antC4=./usecase/lte_b/mu0_10mhz/ant_4.bin   #CC1
86 antC5=./usecase/lte_b/mu0_10mhz/ant_5.bin   #CC1
87 antC6=./usecase/lte_b/mu0_10mhz/ant_6.bin   #CC1
88 antC7=./usecase/lte_b/mu0_10mhz/ant_7.bin   #CC1
89 antC8=./usecase/lte_b/mu0_10mhz/ant_8.bin   #CC2
90 antC9=./usecase/lte_b/mu0_10mhz/ant_9.bin   #CC2
91 antC10=./usecase/lte_b/mu0_10mhz/ant_10.bin #CC2
92 antC11=./usecase/lte_b/mu0_10mhz/ant_11.bin #CC2
93 antC12=./usecase/lte_b/mu0_10mhz/ant_12.bin #CC3
94 antC13=./usecase/lte_b/mu0_10mhz/ant_13.bin #CC3
95 antC14=./usecase/lte_b/mu0_10mhz/ant_14.bin #CC3
96 antC15=./usecase/lte_b/mu0_10mhz/ant_15.bin #CC3
97
98 ## RACH TODO: update for PRACH
99 rachEanble=0 # Enable (1)| disable (0) PRACH configuration
100
101 antPrachC0=./usecase/lte_a/mu0_10mhz/ant_0.bin
102 antPrachC1=./usecase/lte_a/mu0_10mhz/ant_1.bin
103 antPrachC2=./usecase/lte_a/mu0_10mhz/ant_2.bin
104 antPrachC3=./usecase/lte_a/mu0_10mhz/ant_3.bin
105 #rachCfgIdx=14 # PRACH config index as per TS36.211 - Table 5.7.1-2 : PRACH Configuration Index
106 prachConfigIndex=189
107
108 srsEanble=0 # Enable (1)| disable (0) SRS 
109 srsSym=8192 # (1<<13) symbol used for SRS (def: sym 13)
110
111 ###########################################################
112 ##Section Settings
113 DynamicSectionEna=1 # 1 - enable dynamic section allocation 0 - static sections all RBs are used 
114
115 nPrbElemDl=2
116 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
117 # weight base beams 
118 PrbElemDl0=0,25,0,14,1,1,1,9,1
119 PrbElemDl1=25,25,0,14,2,1,1,9,1
120 nPrbElemUl=2
121 #nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
122 # weight base beams 
123 PrbElemUl0=0,25,0,14,1,1,1,9,1
124 PrbElemUl1=25,25,0,14,2,1,1,9,1
125 ###########################################################
126
127 ## control of IQ byte order
128 iqswap=0 #do swap of IQ before send buffer to eth
129 nebyteorderswap=1 #do swap of byte order for each I and Q from CPU byte order to network byte order
130 compression=1 # (1) compression enabled (0) compression disabled
131
132 ##Debug
133 debugStop=1 #stop app on 1pps boundary (gps_second % 30)
134 debugStopCount=0 #if this value is >0 then stop app after x transmission packets, otherwise app will stop at 1pps boundary
135 bbdevMode=-1 #bbdev mode, -1 = not use bbdev, 0: use software mode, 1: use hardware mode
136
137 CPenable=1 #(1) C-Plane is enabled| (0) C-Plane is disabled
138
139 ##RU Settings
140 totalBFWeights=32 # Total number of Beamforming Weights on RU
141
142 #CID settings
143 DU_Port_ID_bitwidth=2
144 BandSector_ID_bitwidth=3
145 CC_ID_bitwidth=3
146 RU_Port_ID_bitwidth=8
147
148 # LTE-FDD-FR1-CAT-A-NoBF / LTE-FDD-FR1-CAT-A-DBF 
149 # O-RAN.WG4.IOT.0-v02.00
150 # Table A.2.3.2-1: LTE FDD IOT Profile 2 - LTE-FDD-FR1-CAT-A-NoBF  
151
152 #U-plane
153 ##Transmission Window
154 T1a_max_up=437
155 T1a_min_up=366
156
157 #Reception Window U-plane
158 T2a_max_up=437 
159 T2a_min_up=206 
160              
161 Tadv_cp_dl=125 
162             
163 #Transmission Window
164 Ta3_max=232 #in us
165 Ta3_min=70 #in us
166
167 #Reception Window
168 Ta4_max=392
169 Ta4_min=70
170
171 ##Transmission Window Fast C-plane UL
172 T1a_max_cp_ul=356
173 T1a_min_cp_ul=285
174
175 #Reception Window C-plane UL
176 T2a_max_cp_ul=356 #in us 
177 T2a_min_cp_ul=125 #in us  
178
179 ###########################################################
180 ##O-DU Settings
181 #C-plane
182 #Transmission Window Fast C-plane DL
183 T1a_max_cp_dl=562 #in T1a_max_up + Tcp_adv_dl as per Annex B
184 T1a_min_cp_dl=491 #in T1a_min_up + Tcp_adv_dl as per Annex B
185
186 #O-RU Reception Window C-plane DL
187 T2a_max_cp_dl=562 #in T2a_max_up + Tcp_adv_dl as per Annex B 
188 T2a_min_cp_dl=331 #in T2a_min_up + Tcp_adv_dl as per Annex B 
189 ###########################################################
190