Update to odulow per maintenance bronze
[o-du/phy.git] / fhi_lib / app / usecase / mu1_100mhz / config_file_o_ru.dat
index bed1922..753b67d 100644 (file)
@@ -1,14 +1,28 @@
-#######################################################################
+#******************************************************************************
 #
-# <COPYRIGHT_TAG>
+#   Copyright (c) 2019 Intel.
 #
-#######################################################################
+#   Licensed under the Apache License, Version 2.0 (the "License");
+#   you may not use this file except in compliance with the License.
+#   You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+#
+#******************************************************************************/
+
 
 # This is simple configuration file. Use '#' sign for comments
-appMode=1 # lls-CU(0) | RU(1)
-xranMode=0 # Category A  (0) (precoder in lls-CU) | Category B (1) (precoder in RU)
-ccNum=1 # Number of Componnent Carriers (CC) per ETH port with XRAN protocol (default:1 max: 4)
-antNum=4 # Number of Antennas per CC (default: 4)
+instanceId=1 # 0,1,2,... in case more than 1 application started on the same system
+appMode=1 # O-DU(0) | O-RU(1)
+xranMode=0 # Category A  (0) (precoder in O-DU) | Category B (1) (precoder in RU)
+ccNum=1 # Number of Componnent Carriers (CC) per ETH port with XRAN protocol (default:1 max: 12)
+antNum=4 # Number of Antennas per CC (default: 4) or number of Digital streams for Category B 
 
 ##Numerology
 mu=1 #30Khz Sub Carrier Spacing
@@ -22,8 +36,8 @@ nULBandwidth=100 #Carrier bandwidth for in MHz. Value: 5->400
 nDLFftSize=4096
 nULFftSize=4096
 
-nFrameDuplexType=0 # 0 - FDD 1 - TDD
-nTddPeriod=10 #[0-9] DDDSUUDDDD, for S it\92s 6:4:4
+nFrameDuplexType=1 # 0 - FDD 1 - TDD
+nTddPeriod=10 #[0-9] DDDSUUDDDD, for S it's 6:4:4
 sSlotConfig0=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
 sSlotConfig1=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
 sSlotConfig2=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
@@ -37,10 +51,21 @@ sSlotConfig9=0,0,0,0,0,0,0,0,0,0,0,0,0,0 # (0) - DL (1) - UL (2) - GUARD
 
 MTUSize=9600 #maximum transmission unit (MTU) is the size of the largest protocol data unit (PDU) that can be communicated in a single 
  #xRAN network layer transaction. supported 1500 bytes and 9600 bytes (Jumbo Frame)
-
-llsCUMac=00:11:22:33:44:66 # asigned MAC of lls-CU VF
-#llsCUMac=3c:fd:fe:a8:e0:70
-ruMac=00:11:22:33:44:55    # RU VF for RU app
+Gps_Alpha=0    #alpha and beta value as in section 9.7.2 of ORAN spec
+Gps_Beta=0
+
+ioCore=10
+# Eth 0
+duMac0=00:11:22:33:44:66 # asigned MAC of O-DU VF
+ruMac0=00:11:22:33:44:55 # O-RU VF for O-RU app
+duMac1=00:11:22:33:44:66 # asigned MAC of O-DU VF
+ruMac1=00:11:22:33:44:55 # O-RU VF for O-RU app
+
+# Eth 1
+duMac2=00:11:22:33:44:77 # asigned MAC of O-DU VF
+ruMac2=00:11:22:33:44:44 # O-RU VF for O-RU app
+duMac3=00:11:22:33:44:77 # asigned MAC of O-DU VF
+ruMac3=00:11:22:33:44:44 # O-RU VF for O-RU app
 
 numSlots=40 #number of slots per IQ files
 antC0=./usecase/mu1_100mhz/ant_0.bin   #CC0
@@ -77,8 +102,39 @@ antPrachC13=./usecase/mu1_100mhz/ant_13.bin #CC3
 antPrachC14=./usecase/mu1_100mhz/ant_14.bin #CC3
 antPrachC15=./usecase/mu1_100mhz/ant_15.bin #CC3
 
-rachEanble=0 # Enable (1)| disable (0) PRACH configuration
-prachConfigIndex=1
+rachEanble=1 # Enable (1)| disable (0) PRACH configuration
+prachConfigIndex=189 # PRACH config index as per TS36.211 - Table 5.7.1-2 : PRACH Configuration Index
+
+###########################################################
+##Section Settings
+DynamicSectionEna=1 # 1 - enable dynamic section allocation 0 - static sections all RBs are used 
+
+nPrbElemDl=8
+#nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
+# weight base beams 
+PrbElemDl0=0,36,0,14,1,1,0,16,1
+PrbElemDl1=36,36,0,14,2,1,0,16,1
+PrbElemDl2=72,36,0,14,3,1,0,16,1
+PrbElemDl3=108,36,0,14,4,1,0,16,1
+PrbElemDl4=144,36,0,14,5,1,0,16,1
+PrbElemDl5=180,36,0,14,6,1,0,16,1
+PrbElemDl6=216,36,0,14,7,1,0,16,1
+PrbElemDl7=252,21,0,14,8,1,0,16,1
+
+
+nPrbElemUl=8
+#nRBStart, nRBSize, nStartSymb, numSymb, nBeamIndex, bf_weight_update, compMethod, iqWidth, BeamFormingType
+# weight base beams 
+PrbElemUl0=0,36,0,14,1,1,0,16,1
+PrbElemUl1=36,36,0,14,2,1,0,16,1
+PrbElemUl2=72,36,0,14,3,1,0,16,1
+PrbElemUl3=108,36,0,14,4,1,0,16,1
+PrbElemUl4=144,36,0,14,5,1,0,16,1
+PrbElemUl5=180,36,0,14,6,1,0,16,1
+PrbElemUl6=216,36,0,14,7,1,0,16,1
+PrbElemUl7=252,21,0,14,8,1,0,16,1
+
+###########################################################
 
 ## control of IQ byte order
 iqswap=0 #do swap of IQ before send buffer to eth
@@ -87,17 +143,16 @@ nebyteorderswap=1 #do swap of byte order for each I and Q from CPU byte order to
 ##Debug
 debugStop=1 #stop app on 1pps boundary (gps_second % 30)
 debugStopCount=0 #if this value is >0 then stop app after x transmission packets, otherwise app will stop at 1pps boundary
+bbdevMode=-1 #bbdev mode, -1 = not use bbdev, 0: use software mode, 1: use hardware mode
 
 CPenable=0 #(1) C-Plane is enabled| (0) C-Plane is disabled
-c_plane_vlan_tag=1 #VLAN Tag used for C-Plane
-u_plane_vlan_tag=2 #VLAN Tag used for U-Plane
 
-##RU Settings
+##O-RU Settings
 Tadv_cp_dl=25 # in us
               # C-Plane messages must arrive at the RU some amount of time in advance (Tcp_adv_dl) of the corresponding U-Plane messages
 #Reception Window C-plane DL
 T2a_min_cp_dl=285 # 285.42us
-T2a_max_cp_dl=429 # 428.12us
+T2a_max_cp_dl=392 # 428.12us
 
 #Reception Window C-plane UL
 T2a_min_cp_ul=285 # 285.42us
@@ -108,15 +163,15 @@ T2a_min_up=71  # 71.35in us
 T2a_max_up=428 # 428.12us
 
 #Transmission Window
-Ta3_min=20 # in us TODO: update
-Ta3_max=32 # in us TODO: update
+Ta3_min=20 # in us 
+Ta3_max=32 # in us 
 
 ###########################################################
-##lls-CU Settings
+##O-DU Settings
 #C-plane
 #Transmission Window Fast C-plane DL
 T1a_min_cp_dl=285
-T1a_max_cp_dl=429
+T1a_max_cp_dl=392
 
 ##Transmission Window Fast C-plane UL
 T1a_min_cp_ul=285
@@ -128,7 +183,7 @@ T1a_min_up=96  #71 + 25 us
 T1a_max_up=196 #71 + 25 us
 
 #Reception Window
-Ta4_min=0  # in us TODO: update
-Ta4_max=75 # in us TODO: update
+Ta4_min=0  # in us 
+Ta4_max=75 # in us 
 ###########################################################