Changes between Version 2 and Version 3 of Tutorials/g0WmLTE/Tutorial4-OAI


Ignore:
Timestamp:
Mar 2, 2015, 3:23:46 PM (9 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/g0WmLTE/Tutorial4-OAI

    v2 v3  
    55This tutorial also assumes basic familiarity with [http://en.wikipedia.org/wiki/LTE_%28telecommunication%29 LTE standard]. It uses [http://www.openairinterface.org/ OpenAirInterface] open source software implementation of LTE basestation (eNodeB or eNB) and modem (user equipment or UE) developed at [http://www.eurecom.fr/en Eurecom].
    66
    7 === Prepare the testbed ===
     7The image used for this experiment is oai-rel_0.1-full.ndz. Image has low-latency 3.17 kernel install and UHD drivers needed for B210/X310 USRPs as well as the !OpenAirInteface source code installed in /root/rel_0.1_26.10.2014
     8
     9=== Prepare the nodes ===
    810
    911 1. Load the image with the !OpenAirInterface code on the nodes that have USRP B210 attached. After imaging the nodes are '''turned off automatically'''.
    10  [[CollapsibleStart(Load an image on the nodes: "omf load -i  -t inventory:topo:B210")]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]]
    11  1. Turn ON the nodes that successfully imaged (give them some time and check their status with '''omf stat''' before proceeding). [[CollapsibleStart(Turn the nodes on: "omf tell -a on -t system:topo:imaged")]][[Include(Documentation/Short/TellOn)]][[CollapsibleEnd]]
     12 [[CollapsibleStart(omf load -t inventory:topo:B210 -i oai-rel_0.1-full.ndz)]] [[Include(Documentation/Short/LoadImage)]][[CollapsibleEnd]]
     13 1. Turn ON the nodes that successfully imaged (give them some time and check their status with '''omf stat''' before proceeding). [[CollapsibleStart(omf tell -a on -t system:topo:imaged)]][[Include(Documentation/Short/TellOn)]][[CollapsibleEnd]]
     14
     15=== Execute the experiment ===
     16
     17Primary objective is to establish the LTE connection between the UE and eNB. node6-20 = eNB node19-18 = UE...
     18 
     19
     20 || On the eNB node (node6-20) || On the UE node (node19-18)  ||
     21 ||  lte-softmodem -Ooai.conf   || lte-softmodem -U Ooai.conf ||
     22
     23Add "-d" flag if you have enabled X11 forwarding and want to see the signal tracer (requires relatively high bandwidth).
     24
     25The output on both consoles should look something like this:
     26{{{
     27root@node19-18:~# ls
     28install-kernel.sh  oai.conf  oai.conf~  out.txt  prepare.sh  rel_0.1_26.10.2014
     29root@node19-18:~# more out.txt
     30linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.008.000-release
     31
     32# /dev/cpu_dma_latency set to 0us
     33num component carrier 1
     34
     35----------------------------------------------------------------------
     36 ENB CONFIG FILE CONTENT LOADED (TBC):
     37----------------------------------------------------------------------
     38ENB CONFIG for instance 0:
     39
     40        eNB name:               eNB_Eurecom_LTEBox:
     41        eNB ID:                 3584:
     42        Cell type:              CELL_MACRO_ENB:
     43        TAC:                    1:
     44        MCC:                    208:
     45        MNC:                    92:
     46        eutra band for CC 0:            7:
     47        downlink freq for CC 0:         2680000000:
     48        uplink freq for CC 0:           -120000000:
     49
     50        Cell ID for CC 0:       0:
     51        N_RB_DL for CC 0:       25:
     52        rach_numberOfRA_Preambles for CC 0:     15:
     53        rach_preamblesGroupAConfig for CC 0:    0:
     54        rach_powerRampingStep for CC 0: 2:
     55        rach_preambleInitialReceivedTargetPower for CC 0:       6:
     56        rach_preambleTransMax for CC 0: 6:
     57        rach_raResponseWindowSize for CC 0:     7:
     58        rach_macContentionResolutionTimer for CC 0:     5:
     59        rach_maxHARQ_Msg3Tx for CC 0:   4:
     60        bcch_modificationPeriodCoeff for CC 0:  0:
     61        pcch_defaultPagingCycle for CC 0:       2:
     62        pcch_nB for CC 0:       2:
     63        prach_root for CC 0:    0:
     64        prach_config_index for CC 0:    0:
     65        prach_high_speed for CC 0:      0:
     66        prach_zero_correlation for CC 0:        1:
     67        prach_freq_offset for CC 0:     2:
     68        pdsch_referenceSignalPower for CC 0:    -26:
     69        pdsch_p_b for CC 0:     0:
     70        pusch_n_SB for CC 0:    1:
     71        pusch_hoppingMode for CC 0:     0:
     72        pusch_hoppingOffset for CC 0:   0:
     73        pusch_enable64QAM for CC 0:     0:
     74        pusch_groupHoppingEnabled for CC 0:     1:
     75        pusch_groupAssignment for CC 0: 0:
     76        pusch_sequenceHoppingEnabled for CC 0:  0:
     77        pusch_nDMRS1 for CC 0:  1:
     78        pucch_delta_shift for CC 0:     0:
     79        pucch_nRB_CQI for CC 0: 1:
     80        pucch_nCS_AN for CC 0:  0:
     81        pucch_n1_AN for CC 0:   32:
     82        srs_enable for CC 0:    0:
     83        pusch_p0_Nominal for CC 0:      -108:
     84        pucch_p0_Nominal for CC 0:      -108:
     85        pusch_alpha for CC 0:   7:
     86        pucch_deltaF_Format1 for CC 0:  2:
     87        pucch_deltaF_Format1b for CC 0: 1:
     88        pucch_deltaF_Format2 for CC 0:  1:
     89        pucch_deltaF_Format2a for CC 0: 1:
     90        pucch_deltaF_Format2b for CC 0: 1:
     91        msg3_delta_Preamble for CC 0:   6:
     92        ul_CyclicPrefixLength for CC 0: 0:
     93        ue_TimersAndConstants_t300 for CC 0:    5:
     94        ue_TimersAndConstants_t301 for CC 0:    5:
     95        ue_TimersAndConstants_t310 for CC 0:    5:
     96        ue_TimersAndConstants_n310 for CC 0:    7:
     97        ue_TimersAndConstants_t311 for CC 0:    3:
     98        ue_TimersAndConstants_n311 for CC 0:    0:
     99
     100        Global log level:       info
     101        HW log level:           info
     102        PHY log level:          info
     103        MAC log level:          info
     104        RLC log level:          info
     105        PDCP log level:         info
     106        RRC log level:          info
     107
     108--------------------------------------------------------
     109Downlink frequency/ uplink offset of CC_id 0 set to 2680000000/-120000000
     110log init done
     111configuring for eNB
     112reported resolution = 1 ns
     113[PHY][I][INIT] OFDM size             : 512
     114[PHY][I][INIT] FRAME_LENGTH_SAMPLES  : 153600
     115[PHY][I][INIT] NUMBER_OF_SYMBOLS_PER_FRAME  : 140
     116[PHY][I][INIT] Initializing FFT engine using 512 point fft (9, 0x342f6500)
     117[PHY][I][INIT] twiddle_fft= 0x35087940, twiddle_ifft=0x3508f940, twiddle_fft_tim
     118es4=0x35097940,twiddle_ifft_times4=0x3509f940
     119[PHY][I][eNB 0] Initializing DL_FRAME_PARMS : N_RB_DL 25, PHICH Resource 1, PHIC
     120H Duration 0
     121[PHY][I]init eNB: Nid_cell 0
     122[PHY][I]init eNB: frame_type 0,tdd_config 3
     123[PHY][I]init eNB: number of ue max 16 number of enb max 7 number of harq pid max
     124 8
     125HW: Configuring card 0
     126-- Operating over USB 3.
     127-- Initialize CODEC control...
     128-- Initialize Radio control...
     129-- Performing register loopback test... pass
     130-- Performing register loopback test... pass
     131-- Performing CODEC loopback test... pass
     132-- Performing CODEC loopback test... pass
     133-- Asking for clock rate 32.000000 MHz
     134-- Actually got clock rate 32.000000 MHz
     135-- Performing timer loopback test... pass
     136-- Performing timer loopback test... pass
     137-- Asking for clock rate 30.720000 MHz
     138-- Actually got clock rate 30.720000 MHz
     139-- Performing timer loopback test... pass
     140-- Performing timer loopback test... pass
     141-- Successfully tuned to 2680.000000 MHz
     142--
     143-- Successfully tuned to 2560.000000 MHz
     144--
     145
     146Actual TX sample rate: 7.680000MSps...
     147Actual RX sample rate: 7.680000MSps...
     148Actual TX frequency: 2.680000GHz...
     149Actual RX frequency: 2.560000GHz...
     150Actual TX gain: 89.750000...
     151Actual RX gain: 62.000000...
     152Actual TX bandwidth: 56.000000M...
     153Actual RX bandwidth: 56.000000M...
     154Actual TX antenna: TX/RX...
     155Actual RX antenna: RX2...
     156Device timestamp: 0.000445...
     157[MAC][I][l2_init] [MAIN] MAC_INIT_GLOBAL_PARAM IN...
     158[MAC][I][mac_init_global_param] [MAIN] CALLING RLC_MODULE_INIT...
     159[MAC][I][mac_init_global_param] [MAIN] RLC_MODULE_INIT OK, malloc16 for mac_rlc_
     160xface...
     161[MAC][I][mac_init_global_param] [MAIN] malloc16 OK, mac_rlc_xface @ 0x37870b60
     162[MAC][I][mac_init_global_param] [MAIN] RLC interface setup and init
     163[PDCP][I]PDCP layer has been initialized
     164[MAC][I][mac_init_global_param] [MAIN] Init Global Param Done
     165[MAC][I][l2_init] [MAIN] init eNB MAC functions 
     166[MAC][I][l2_init] [MAIN] init UE MAC functions
     167[MAC][I][l2_init] [MAIN] PHY Frame configuration
     168[MAC][I][mac_top_init] [MAIN] Init function start:Nb_UE_INST=0
     169[MAC][I][mac_top_init] [MAIN] Init function start:Nb_eNB_INST=1
     170[MAC][I][mac_top_init] [MAIN] calling RRC
     171[RRC][I][eNB] handover active state is 0
     172[MAC][I][mac_top_init] [MAIN][INIT] Init function finished
     173[MAC][I][mrbch_phy_sync_failure] [eNB 0] Frame 0: PHY Sync failure
     174[SCTP][I][sctp_eNB_task] Starting SCTP layer
     175[S1AP][I][s1ap_eNB_task] Starting S1AP layer
     176[UDP][I][udp_enb_init] Initializing UDP task interface
     177[UDP][I][udp_enb_init] Initializing UDP task interface: DONE
     178[GTPV1U][I][gtpv1u_eNB_init] Initializing GTPU stack 0x12d8e60
     179ITTI tasks created
     180[OTG][I][init_all_otg] init done: init_all_otg
     181[OTG][I][init_seeds] set taus seed to 0 done
     182[OTG][I][init_predef_traffic] OTG_CONFIG BCBR, src = 0, dst = 0, dist type for s
     183ize = 5
     184[OTG][I][init_predef_traffic] OTG_CONFIG BCBR, src = 0, dst = 1, dist type for s
     185ize = 5
     186[OTG][I][init_predef_traffic] OTG_CONFIG BCBR, src = 1, dst = 0, dist type for s
     187ize = 5
     188[OTG][I][init_predef_traffic] OTG_CONFIG BCBR, src = 1, dst = 1, dist type for s
     189ize = 5
     190setup_eNB_buffers: frame_parms = 0x7f7a335d78e0
     191rxdata[0] @ 0x378d7a00 (0x378d7a00)
     192txdata[0] @ 0x37922a10
     193Setting eNB buffer to all-RX
     194[UDP][I][udp_eNB_create_socket] Initializing UDP for local address 10.10.19.18 w
     195ith port 2152
     196[UDP][I][udp_eNB_create_socket] Inserting new descriptor for task 11, sd 43
     197[UDP][I][udp_eNB_create_socket] Initializing UDP for local address 10.10.19.18 w
     198ith port 2152: DONE
     199Waiting for eNB application to be ready
     200[RRC][I][eNB 0] Received RRC_CONFIGURATION_REQy .   
     201[S1AP][I][s1ap_eNB_handle_register_eNB] Registered new eNB[0] and macro eNB id 3
     202584
     203[RRC][I][eNB 0] Init (UE State = RRC_IDLE)...
     204[RRC][I][eNB 0] Checking release
     205[RRC][I][eNB 0] Rel8 RRC
     206[RRC][I][eNB 0] Configuration SIB2/3
     207[MAC][I][rrc_mac_config_req] [CONFIG][eNB 0] Configuring MAC/PHY
     208[MAC][I][rrc_mac_config_req] [CONFIG]SIB2/3 Contents (partial)
     209[MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.n_SB = 1
     210[MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.hoppingMode = 0
     211[MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.pusch_HoppingOffset = 0
     212[MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.enable64QAM = 0
     213[MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.groupHoppingEnabled = 1
     214[MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.groupAssignmentPUSCH =
     2150
     216[MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.sequenceHoppingEnabled
     217= 0
     218[MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.cyclicShift  = 1
     219[RRC][I][eNB 0] OPENAIR RRC IN....
     220[SCTP][I][sctp_handle_new_association_req] Setsockopt SOL_SOCKET socket bound to
     221 : eth1
     222[SCTP][I][sctp_handle_new_association_req] Converted ipv4 address 10.10.0.100 to
     223 network type
     224[SCTP][I][sctp_handle_new_association_req] connectx assoc_id  2 in progress...,
     225used 1 addresses
     226[SCTP][I][sctp_handle_new_association_req] Inserted new descriptor for sd 44 in
     227list, nb elements 1, assoc_id 2
     228[SCTP][I][sctp_eNB_flush_sockets] Found data for descriptor 44
     229[SCTP][I][sctp_eNB_read_from_socket] Received notification for sd 44, type 32769
     230[SCTP][I][sctp_eNB_read_from_socket] Client association changed: 0
     231[SCTP][I][sctp_get_peeraddresses] ----------------------
     232[SCTP][I][sctp_get_peeraddresses] Peer addresses:
     233[SCTP][I][sctp_get_peeraddresses]     - [10.10.0.100]
     234[SCTP][I][sctp_get_peeraddresses] ----------------------
     235[SCTP][I][sctp_get_sockinfo] ----------------------
     236[SCTP][I][sctp_get_sockinfo] SCTP Status:
     237[SCTP][I][sctp_get_sockinfo] assoc id .....: 2
     238[SCTP][I][sctp_get_sockinfo] state ........: 4
     239[SCTP][I][sctp_get_sockinfo] instrms ......: 8
     240[SCTP][I][sctp_get_sockinfo] outstrms .....: 64
     241[SCTP][I][sctp_get_sockinfo] fragmentation : 1452
     242[SCTP][I][sctp_get_sockinfo] pending data .: 0
     243[SCTP][I][sctp_get_sockinfo] unack data ...: 0
     244[SCTP][I][sctp_get_sockinfo] rwnd .........: 106496
     245[SCTP][I][sctp_get_sockinfo] peer info     :
     246[SCTP][I][sctp_get_sockinfo]     state ....: 2
     247[SCTP][I][sctp_get_sockinfo]     cwnd .....: 4380
     248[SCTP][I][sctp_get_sockinfo]     srtt .....: 0
     249[SCTP][I][sctp_get_sockinfo]     rto ......: 3000
     250[SCTP][I][sctp_get_sockinfo]     mtu ......: 1500
     251[SCTP][I][sctp_get_sockinfo] ----------------------
     252[SCTP][I][sctp_eNB_read_from_socket] Comm up notified for sd 44, assigned assoc_
     253id 2
     254}}}