Changes between Version 2 and Version 3 of Tutorials/g0WmLTE/Tutorial5


Ignore:
Timestamp:
Oct 20, 2015, 8:37:34 PM (9 years ago)
Author:
stojadin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/g0WmLTE/Tutorial5

    v2 v3  
    2020|| [[Image(node1-1.png, width=200)]] || [[Image(node1-2.png, width=200)]] ||
    2121  2. '''Prepare configuration files:''' The configuration file used for eNB is ''enb.band5.tm1.usrpb210.conf'', located at ''/root/openinterface5g/targets/PROJECTS/GENERIC-LTE-EPC/CONF/''. Another configuration may be used, or a new configuration file can be created using one of the existing ones, so that the parameters can be adjusted.
    22   3. '''Run the lte-softmodem:''' The following commands need to be run in order the execute the LTE softmodem. By default, the IP address of eNB is 10.0.1.1, and the IP of UE is 10.0.1.9. These parameters can be changed in ''/root/openinterface5g/targets/bin/init_nas_nos1''.
     22  3. '''Run the lte-softmodem:''' The following commands need to be run in order the execute the LTE softmodem. By default, the IP address of eNB is 10.0.1.1, and the IP of UE is 10.0.1.9. These parameters can be changed in ''/root/openinterface5g/targets/bin/init_nas_nos1''. The user can also choose whether to run the version with or without the graphical analyzer. In order to run the experiment with the graphical analyzer, make sure you used the '-X' flag to ssh into the console and then into the nodes.
    2323
    2424    i. On both nodes, run
     
    3232{{{
    3333sh /root/openairinterface5g/targets/bin/init_nas_nos1 eNB
     34/root/openairinterface5g/targets/bin/oailtenoviz -d -O /root/conf/enb.band5.tm1.usrpb210.conf 2>&1 | tee ENB.log
     35}}}
     36
     37or, to run it without the graphical analyzer
     38
     39{{{
    3440/root/openairinterface5g/targets/bin/lte-softmodem-nos1.Rel10 -d -O /root/conf/enb.band5.tm1.usrpb210.conf 2>&1 | tee ENB.log
    3541}}}
    3642
    37 Depending on whether you want to run it with or without the graphical analyzer, execute lte-softmodem on corresponding nodes:
     43    iii. On UE (node1-2), run
    3844
    39  || || On the eNB node (node1-1) || On the UE node (node1-2)  ||
    40  || w/o  || {{{ lte-softmodem-nomme -Ooai.conf -V}}} || {{{ lte-softmodem -U -Ooai.conf -C 2660000000 -V}}} ||
    41  || w MME || {{{ lte-softmodem -Ooai.conf -V}}} || {{{ lte-softmodem -U -Ooai.conf -C 2660000000 -V}}} ||
     45{{{
     46/root/openairinterface5g/targets/bin/lte-softmodem-nos1.Rel10 -U -C879000000 -r25 --ue-scan-carrier --ue-txgain 100 --ue-rxgain 110 -A 2 2>&1 | tee UE.log
     47}}}
    4248
    43 If the above commands are executed with the "-d" flag and if X11 forwarding is enabled for the current ssh session, the signal tracer will pop out as shown in Figure 1 (not that this requires relatively high bandwidth).
    44 [[Image(Scope.png, width=300)]] ||
    45 
    46 [[CollapsibleStart(The output on both consoles should look something like this:)]]
    47 {{{
    48 [RRC][I][eNB 0] Init (UE State = RRC_IDLE)...
    49 [RRC][I][eNB 0] Checking release
    50 [RRC][I][eNB 0] Rel8 RRC
    51 [RRC][I][eNB 0] Configuration SIB2/3
    52 [MAC][I][rrc_mac_config_req] [CONFIG][eNB 0] Configuring MAC/PHY
    53 [MAC][I][rrc_mac_config_req] [CONFIG]SIB2/3 Contents (partial)
    54 [MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.n_SB = 1
    55 [MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.hoppingMode = 0
    56 [MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.pusch_HoppingOffset = 0
    57 [MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.enable64QAM = 0
    58 [MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.groupHoppingEnabled = 1
    59 [MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.groupAssignmentPUSCH = 0
    60 [MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.sequenceHoppingEnabled = 0
    61 [MAC][I][rrc_mac_config_req] [CONFIG]pusch_config_common.cyclicShift  = 1
    62 [RRC][I][eNB 0] OPENAIR RRC IN....
    63 [SCTP][I][sctp_handle_new_association_req] Setsockopt SOL_SOCKET socket bound to : eth1
    64 [SCTP][I][sctp_handle_new_association_req] Converted ipv4 address 10.10.0.100 to network type
    65 [SCTP][I][sctp_handle_new_association_req] connectx assoc_id  1 in progress..., used 1 addresses
    66 [SCTP][I][sctp_handle_new_association_req] Inserted new descriptor for sd 56 in list, nb elements 1, assoc_id 1
    67 [SCTP][I][sctp_eNB_flush_sockets] Found data for descriptor 56
    68 [SCTP][I][sctp_eNB_read_from_socket] Received notification for sd 56, type 32769
    69 [SCTP][I][sctp_eNB_read_from_socket] Client association changed: 0
    70 [SCTP][I][sctp_get_peeraddresses] ----------------------
    71 [SCTP][I][sctp_get_peeraddresses] Peer addresses:
    72 [SCTP][I][sctp_get_peeraddresses]     - [10.10.0.100]
    73 [SCTP][I][sctp_get_peeraddresses] ----------------------
    74 [SCTP][I][sctp_get_sockinfo] ----------------------
    75 [SCTP][I][sctp_get_sockinfo] SCTP Status:
    76 [SCTP][I][sctp_get_sockinfo] assoc id .....: 1
    77 [SCTP][I][sctp_get_sockinfo] state ........: 3
    78 [SCTP][I][sctp_get_sockinfo] instrms ......: 8
    79 [SCTP][I][sctp_get_sockinfo] outstrms .....: 64
    80 [SCTP][I][sctp_get_sockinfo] fragmentation : 1452
    81 [SCTP][I][sctp_get_sockinfo] pending data .: 0
    82 [SCTP][I][sctp_get_sockinfo] unack data ...: 0
    83 [SCTP][I][sctp_get_sockinfo] rwnd .........: 106496
    84 [SCTP][I][sctp_get_sockinfo] peer info     :
    85 [SCTP][I][sctp_get_sockinfo]     state ....: 2
    86 [SCTP][I][sctp_get_sockinfo]     cwnd .....: 4380
    87 [SCTP][I][sctp_get_sockinfo]     srtt .....: 0
    88 [SCTP][I][sctp_get_sockinfo]     rto ......: 3000
    89 [SCTP][I][sctp_get_sockinfo]     mtu ......: 1500
    90 [SCTP][I][sctp_get_sockinfo] ----------------------
    91 [SCTP][I][sctp_eNB_read_from_socket] Comm up notified for sd 56, assigned assoc_id 1
    92 [S1AP][I][s1ap_eNB_generate_s1_setup_request] 3584 -> 00e000
    93 [SCTP][I][sctp_send_data] Successfully sent 53 bytes on stream 0 for assoc_id 1
    94 [SCTP][I][sctp_eNB_flush_sockets] Found data for descriptor 56
    95 [SCTP][I][sctp_eNB_read_from_socket] Received notification for sd 56, type 32777
    96 [SCTP][I][sctp_eNB_flush_sockets] Found data for descriptor 56
    97 [SCTP][I][sctp_eNB_read_from_socket] [1][56] Msg of length 27 received from port 36412, on stream 0, PPID 18
    98 [S1AP][I][s1ap_decode_s1ap_s1setupresponseies] Decoding message S1ap_S1SetupResponseIEs (/root/trunk/targets/RT/USER/objs/openair-cn/S1AP/s1ap_decoder.c:3544)
    99 [ENB_APP][I][eNB_app_task] [eNB 0] Received S1AP_REGISTER_ENB_CNF: associated MME 1
    100 Waiting for eNB application to be ready
    101 [HW][I][SCHED] eNB TX thread 0 started on CPU 5
    102 [HW][I][SCHED][eNB] eNB RX thread 0 started on CPU 0
    103 [HW][I][SCHED] eNB TX thread 1 started on CPU 0
    104 [HW][I][SCHED][eNB] eNB RX thread 1 started on CPU 5
    105 [HW][I][SCHED] eNB TX thread 2 started on CPU 2
    106 [HW][I][SCHED][eNB] eNB RX thread 2 started on CPU 0
    107 [HW][I][SCHED] eNB TX thread 3 started on CPU 5
    108 [HW][I][SCHED][eNB] eNB RX thread 3 started on CPU 5
    109 [HW][I][SCHED] eNB TX thread 4 started on CPU 4
    110 [HW][I][SCHED][eNB] eNB RX thread 4 started on CPU 1
    111 [HW][I][SCHED] eNB TX thread 5 started on CPU 4
    112 [HW][I][SCHED][eNB] eNB RX thread 5 started on CPU 4
    113 [HW][I][SCHED] eNB TX thread 6 started on CPU 0
    114 [HW][I][SCHED][eNB] eNB RX thread 6 started on CPU 1
    115 [HW][I][SCHED] eNB TX thread 7 started on CPU 1
    116 [HW][I][SCHED][eNB] eNB RX thread 7 started on CPU 0
    117 [HW][I][SCHED] eNB TX thread 8 started on CPU 1
    118 [HW][I][SCHED][eNB] eNB RX thread 8 started on CPU 0
    119 [HW][I][SCHED] eNB TX thread 9 started on CPU 0
    120 [HW][I][SCHED][eNB] eNB RX thread 9 started on CPU 1
    121 Creating main eNB_thread
    122 [SCHED][eNB] Started eNB main thread on CPU 4
    123 eNB_thread: mlockall in ...
    124 eNB_thread: mlockall out ...
    125 waiting for sync (eNB_thread)
    126 TYPE <CTRL-C> TO TERMINATE
    127 Entering ITTI signals handler
    128 
    129 }}}
    130 [[CollapsibleEnd]]
    131 
    132 
    133 === The command line parameters of lte-softmodem ===
    134 Relevant (i.e. for USRP command line parameters for the lte-softmodem command are:
    135  * -O file: eNB configuration file (this is the preferred way to pass basic parameters and there are several examples in $OPENAIR_TARGETS/PROJECTS/GENERIC-LTE_EPC/CONF/
    136  * -g LEVEL: set the level of debug for the log generation (-g7 is quite high and useful to trace bugs in the procedures/protocols, -g9 even dumps packets at all levels of the protocol stack)
    137  * -d: enables xforms signal tracer
    138  * -U: start as UE (default: eNB)
    139  * -C freq: set carrier frequency to f0 for all chains (extension to independent frequencies trivial)
    140  * -V: enables the VCD debugging tool (this is a temporal event tracer, which is useful for real-time debugging using GTKWave)
    141  * -K file: ITTI logfile. ITTI is an intertask tracing utility which helps debugging with an EPC. It can traces all exchanges between RRC<->S1AP, RRC<->PDCP, PDCP<->S1
    142  * -S: do not exit for the missing slots, instead increment the counter.
    143  * --debug-ue-prach: only send prach but do not connect
    144  * --no-L2-connect: only runs rx, does not send prach
    145 
    146 More details on running lte-softmodem are available on [https://twiki.eurecom.fr/twiki/bin/view/OpenAirInterface/OpenAirLXRT OpenAirInterface real-time LTE softmodem page].