[srslte-users] help on eNB with base config files not being picked up by nearby UEs
Andre Puschmann
andre.puschmann at softwareradiosystems.com
Mon Sep 9 09:02:58 UTC 2019
On 9/9/19 10:53, Romain wrote:
> Good morning,
> I've tried changing to the EARFCN number 300 (which means DL=2140 and
> UL=1950) and the problem still persists. This one should be in the
> middle of the band..
> Has anyone ever tried to run srsLTE with a B200 mini ? I'm starting to
> doubt it's possible
Of course, we use that every day ;-)
>
> Le lun. 9 sept. 2019 à 10:41, Andre Puschmann
> <andre.puschmann at softwareradiosystems.com
> <mailto:andre.puschmann at softwareradiosystems.com>> a écrit :
>
> Hey,
>
> 1805 MHz is the lower edge of band 3. So perhaps the phones wouldn't
> attempt to attach there. Try a higher frequency so that your entire cell
> fits into a valid band.
>
> Cheers
> Andre
>
>
> On 9/9/19 10:34, Romain wrote:
> > Good morning,
> > I recently started diving into srsLTE with my new USRP B200 Mini,
> > however with the basic configuration files (and/or some tweaking) I've
> > been unable to have the network appear on any phones when
> searching for
> > it (tried to scan for networks on 4 different phones and none
> picked it
> > up, the two main ones being a Pixel XL and a Nokia 8.1).
> > Below you can find the logs of the execution :
> >
> > Logs of the eNB :
> >
> > Built in Release mode using commit ecdfa579 on branch master.
> >
> > --- Software Radio Systems LTE eNodeB ---
> >
> > Reading configuration file /home/romain/.config/srslte/enb.conf...
> > Opening 1 RF devices with 1 RF channels...
> > [INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501;
> > UHD_3.14.1.0-release
> > [INFO] [LOGGING] Fastpath logging disabled at runtime.
> > Opening USRP with args: type=b200,master_clock_rate=23.04e6
> > [INFO] [B200] Detected Device: B200mini
> > [INFO] [B200] Operating over USB 3.
> > [INFO] [B200] Initialize CODEC control...
> > [INFO] [B200] Initialize Radio control...
> > [INFO] [B200] Performing register loopback test...
> > [INFO] [B200] Register loopback test passed
> > [INFO] [B200] Asking for clock rate 23.040000 MHz...
> > [INFO] [B200] Actually got clock rate 23.040000 MHz.
> > Setting frequency: DL=1805.0 Mhz, UL=1710.0 MHz
> > Setting Sampling frequency 11.52 MHz
> >
> > ==== eNodeB started ===
> > Type <t> to view trace
> > t
> > Enter t to stop trace.
> > ^CStopping srsENB... Press Ctrl+C 9 more times to force stop
> > --- exiting ---
> >
> >
> > Logs of the EPC :
> >
> > Built in Release mode using commit ecdfa579 on branch master.
> >
> >
> > --- Software Radio Systems EPC ---
> >
> > Reading configuration file /home/romain/.config/srslte/epc.conf...
> > HSS Initialized.
> > MME S11 Initialized
> > MME GTP-C Initialized
> > MME Initialized. MCC: 0xf228, MNC: 0xff09
> > SPGW GTP-U Initialized.
> > SPGW S11 Initialized.
> > SP-GW Initialized.
> > Received S1 Setup Request.
> > S1 Setup Request - eNB Name: srsenb01, eNB id: 0x19b
> > S1 Setup Request - MCC:228, MNC:09, PLMN: 2291856
> > S1 Setup Request - TAC 7, B-PLMN 0
> > S1 Setup Request - Paging DRX 2
> > Sending S1 Setup Response
> > SCTP Association Shutdown. Association: 6
> > Deleting eNB context. eNB Id: 0x19b
> > Releasing UEs context
> > No UEs to be released
> > ^CDeleting UE context in HSS. IMSI: 001010123456780
> > Deleting UE context in HSS. IMSI: 001010123456789
> >
> > --- exiting ---
> >
> >
> > Now the eNB config file :
> >
> >
> #####################################################################
> > # srsENB configuration file
> >
> #####################################################################
> >
> >
> #####################################################################
> > # eNB configuration
> > #
> > # enb_id: 20-bit eNB identifier.
> > # cell_id: 8-bit cell identifier.
> > # tac: 16-bit Tracking Area Code.
> > # mcc: Mobile Country Code
> > # mnc: Mobile Network Code
> > # mme_addr: IP address of MME for S1 connnection
> > # gtp_bind_addr: Local IP address to bind for GTP connection
> > # s1c_bind_addr: Local IP address to bind for S1AP connection
> > # n_prb: Number of Physical Resource Blocks
> (6,15,25,50,75,100)
> > # tm: Transmission mode 1-4 (TM1 default)
> > # nof_ports: Number of Tx ports (1 port default, set to 2 for
> > TM2/3/4)
> > #
> >
> #####################################################################
> > [enb]
> > enb_id = 0x19B
> > cell_id = 0x01
> > phy_cell_id = 1
> > tac = 0x0007
> > mcc = 228
> > mnc = 09
> > mme_addr = 127.0.1.100
> > gtp_bind_addr = 127.0.1.1
> > s1c_bind_addr = 127.0.1.1
> > n_prb = 50
> > #tm = 4
> > #nof_ports = 2
> >
> >
> #####################################################################
> > # eNB configuration files
> > #
> > # sib_config: SIB1, SIB2 and SIB3 configuration file
> > # note: when enabling mbms, use the sib.conf.mbsfn configuration
> > file which includes SIB13
> > # rr_config: Radio Resources configuration file
> > # drb_config: DRB configuration file
> >
> #####################################################################
> > [enb_files]
> > sib_config = sib.conf
> > rr_config = rr.conf
> > drb_config = drb.conf
> >
> >
> #####################################################################
> > # RF configuration
> > #
> > # dl_earfcn: EARFCN code for DL
> > # tx_gain: Transmit gain (dB).
> > # rx_gain: Optional receive gain (dB). If disabled, AGC if enabled
> > #
> > # Optional parameters:
> > # dl_freq: Override DL frequency corresponding to
> dl_earfcn
> > # ul_freq: Override UL frequency corresponding to
> > dl_earfcn (must be set if dl_freq is set)
> > # device_name: Device driver family. Supported options:
> > "auto" (uses first found), "UHD" or "bladeRF"
> > # device_args: Arguments for the device driver. Options are
> > "auto" or any string.
> > # Default for UHD:
> > "recv_frame_size=9232,send_frame_size=9232"
> > # Default for bladeRF: ""
> > # #time_adv_nsamples: Transmission time advance (in number of
> > samples) to compensate for RF delay
> > # from antenna to timestamp insertion.
> > # Default "auto". B210 USRP: 100 samples,
> > bladeRF: 27.
> > # burst_preamble_us: Preamble length to transmit before start of
> > burst.
> > # Default "auto". B210 USRP: 400 us,
> bladeRF: 0 us.
> >
> #####################################################################
> > [rf]
> > dl_earfcn = 1200
> > tx_gain = 80
> > rx_gain = 80
> >
> > #device_name = auto
> >
> > # For best performance in 2x2 MIMO and >= 15 MHz use the following
> > device_args settings:
> > # USRP B210: pass num_recv_frames=64,num_send_frames=64
> >
> > #device_args = auto
> > #time_adv_nsamples = auto
> > #burst_preamble_us = auto
> >
> >
> >
> #####################################################################
> > # MAC-layer packet capture configuration
> > #
> > # Packets are captured to file in the compact format decoded by
> > # the Wireshark mac-lte-framed dissector and with DLT 147.
> > # To use the dissector, edit the preferences for DLT_USER to
> > # add an entry with DLT=147, Payload Protocol=mac-lte-framed.
> > # For more information see: https://wiki.wireshark.org/MAC-LTE
> > #
> > # Please note that this setting will by default only capture MAC
> > # frames on dedicated channels, and not SIB. You have to
> build with
> > # WRITE_SIB_PCAP enabled in srsenb/src/stack/mac/mac.cc if you
> want
> > # SIB to be part of the MAC pcap file.
> > #
> > # enable: Enable MAC layer packet captures (true/false)
> > # filename: File path to use for packet captures
> >
> #####################################################################
> > [pcap]
> > enable = false
> > filename = /tmp/enb.pcap
> >
> >
> #####################################################################
> > # Log configuration
> > #
> > # Log levels can be set for individual layers. "all_level"
> sets log
> > # level for all layers unless otherwise configured.
> > # Format: e.g. phy_level = info
> > #
> > # In the same way, packet hex dumps can be limited for each level.
> > # "all_hex_limit" sets the hex limit for all layers unless
> otherwise
> > # configured.
> > # Format: e.g. phy_hex_limit = 32
> > #
> > # Logging layers: phy, mac, rlc, pdcp, rrc, nas, gtpu, usim, all
> > # Logging levels: debug, info, warning, error, none
> > #
> > # filename: File path to use for log output. Can be set to stdout
> > # to print logs to standard output
> > # file_max_size: Maximum file size (in kilobytes). When passed,
> > multiple files are created.
> > # If set to negative, a single log file will be
> created.
> >
> #####################################################################
> > [log]
> > all_level = warning
> > all_hex_limit = 32
> > filename = /tmp/enb.log
> > file_max_size = -1
> >
> > [gui]
> > enable = false
> >
> >
> #####################################################################
> > # Scheduler configuration options
> > #
> > # pdsch_mcs: Optional fixed PDSCH MCS (ignores
> reported CQIs
> > if specified)
> > # pdsch_max_mcs: Optional PDSCH MCS limit
> > # pusch_mcs: Optional fixed PUSCH MCS (ignores
> reported CQIs
> > if specified)
> > # pusch_max_mcs: Optional PUSCH MCS limit
> > # #nof_ctrl_symbols: Number of control symbols
> > #
> >
> #####################################################################
> > [scheduler]
> > #pdsch_mcs = -1
> > #pdsch_max_mcs = -1
> > #pusch_mcs = -1
> > pusch_max_mcs = 16
> > nof_ctrl_symbols = 3
> >
> >
> #####################################################################
> > # eMBMS configuration options
> > #
> > # enable: Enable MBMS transmission in the eNB
> > # m1u_multiaddr: Multicast addres the M1-U socket will
> > register to
> > # m1u_if_addr: Address of the inteferface the M1-U
> > interface will listen for multicast packets.
> > #
> >
> #####################################################################
> > #enable = false
> > #m1u_multiaddr = 239.255.0.1
> > #m1u_if_addr = 127.0.1.201
> >
> >
> #####################################################################
> > # Expert configuration options
> > #
> > # pusch_max_its: Maximum number of turbo decoder iterations
> > (Default 4)
> > # pusch_8bit_decoder: Use 8-bit for LLR representation and turbo
> > decoder trellis computation (Experimental)
> > # nof_phy_threads: Selects the number of PHY threads (maximum
> > 4, minimum 1, default 2)
> > # metrics_period_secs: Sets the period at which metrics are
> > requested from the eNB.
> > # metrics_csv_enable: Write eNB metrics to CSV file.
> > # metrics_csv_filename: File path to use for CSV metrics.
> > # pregenerate_signals: Pregenerate uplink signals after attach.
> > Improves CPU performance.
> > # tx_amplitude: Transmit amplitude factor (set 0-1 to
> reduce
> > PAPR)
> > # link_failure_nof_err: Number of PUSCH failures after which a
> > radio-link failure is triggered.
> > # a link failure is when SNR<0 and CRC=KO
> > # max_prach_offset_us: Maximum allowed RACH offset (in us)
> > # eea_pref_list: Ordered preference list for the
> selection of
> > encryption algorithm (EEA) (default: EEA0, EEA2, EEA1).
> > # eia_pref_list: Ordered preference list for the
> selection of
> > integrity algorithm (EIA) (default: EIA2, EIA1, EIA0).
> > #
> >
> #####################################################################
> > [expert]
> > #pusch_max_its = 8 # These are half iterations
> > #pusch_8bit_decoder = false
> > #nof_phy_threads = 3
> > #metrics_period_secs = 1
> > #metrics_csv_enable = false
> > #metrics_csv_filename = /tmp/enb_metrics.csv
> > #pregenerate_signals = false
> > #tx_amplitude = 0.6
> > #link_failure_nof_err = 50
> > #rrc_inactivity_timer = 60000
> > #max_prach_offset_us = 30
> > #eea_pref_list = EEA0, EEA2, EEA1
> > #eia_pref_list = EIA2, EIA1, EIA0
> >
> >
> > And the configuration file for the EPC :
> >
> >
> #####################################################################
> > # srsEPC configuration file
> >
> #####################################################################
> >
> >
> #####################################################################
> > # MME configuration
> > #
> > # mme_code: 8-bit MME code identifies the MME within a
> group.
> > # mme_group: 16-bit MME group identifier.
> > # tac: 16-bit Tracking Area Code.
> > # mcc: Mobile Country Code
> > # mnc: Mobile Network Code
> > # apn: Set Access Point Name (APN)
> > # mme_bind_addr: IP bind addr to listen for eNB S1-MME
> connnections
> > # dns_addr: DNS server address for the UEs
> > # encryption_algo: Preferred encryption algorithm for NAS layer
> > # (default: EEA0, support: EEA1, EEA2)
> > # integrity_algo: Preferred integrity protection algorithm
> for NAS
> > # (default: EIA1, support: EIA1, EIA2 (EIA0 not
> > support)
> > # paging_timer: Value of paging timer in seconds (T3413)
> > #
> >
> #####################################################################
> > [mme]
> > mme_code = 0x1a
> > mme_group = 0x0001
> > tac = 0x0007
> > mcc = 228
> > mnc = 09
> > mme_bind_addr = 127.0.1.100
> > apn = srsapn
> > dns_addr = 8.8.8.8
> > encryption_algo = EEA0
> > integrity_algo = EIA1
> > paging_timer = 2
> >
> >
> #####################################################################
> > # HSS configuration
> > #
> > # db_file: Location of .csv file that stores UEs
> information.
> > #
> >
> #####################################################################
> > [hss]
> > db_file = user_db.csv
> >
> >
> #####################################################################
> > # SP-GW configuration
> > #
> > # gtpu_bind_addr: GTP-U bind address.
> > # sgi_if_addr: SGi TUN interface IP address.
> > # sgi_if_name: SGi TUN interface name.
> > # max_paging_queue: Maximum packets in paging queue (per UE).
> > #
> >
> #####################################################################
> >
> > [spgw]
> > gtpu_bind_addr = 127.0.1.100
> > sgi_if_addr = 172.16.0.1
> > sgi_if_name = srs_spgw_sgi
> > max_paging_queue = 100
> >
> >
> ####################################################################
> > # PCAP configuration
> > #
> > # Packets are captured to file in the compact format decoded by
> > # the Wireshark s1ap dissector and with DLT 150.
> > # To use the dissector, edit the preferences for DLT_USER to
> > # add an entry with DLT=150, Payload Protocol=s1ap.
> > #
> > # enable: Enable or disable the PCAP.
> > # filename: File name where to save the PCAP.
> > #
> >
> ####################################################################
> > [pcap]
> > enable = false
> > filename = /tmp/epc.pcap
> >
> >
> ####################################################################
> > # Log configuration
> > #
> > # Log levels can be set for individual layers. "all_level"
> sets log
> > # level for all layers unless otherwise configured.
> > # Format: e.g. s1ap_level = info
> > #
> > # In the same way, packet hex dumps can be limited for each level.
> > # "all_hex_limit" sets the hex limit for all layers unless
> otherwise
> > # configured.
> > # Format: e.g. s1ap_hex_limit = 32
> > #
> > # Logging layers: nas, s1ap, mme_gtpc, spgw_gtpc, gtpu, spgw,
> hss, all
> > # Logging levels: debug, info, warning, error, none
> > #
> > # filename: File path to use for log output. Can be set to stdout
> > # to print logs to standard output
> >
> #####################################################################
> > [log]
> > all_level = info
> > all_hex_limit = 32
> > filename = /tmp/epc.log
> >
> > #nas_level = debug
> > #s1ap_level = debug
> > #mme_gtpc_level = debug
> > #spgw_gtpc_level = debug
> > #gtpu_level = debug
> > #spgw_level = debug
> > #hss_level = debug
> >
> >
> > So the eNB config file has been changed a bit as I was trying numerous
> > different things.
> >
> > There I think I've summed up my issue.
> > Thanks for reading me,
> > Romain Mendez.
> >
> > _______________________________________________
> > srslte-users mailing list
> > srslte-users at lists.softwareradiosystems.com
> <mailto:srslte-users at lists.softwareradiosystems.com>
> > http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
> >
>
--
Andre Puschmann
Software Radio Systems (SRS)
http://www.softwareradiosystems.com
PGP/GnuPG key: 6C42AB31
fingerprint: 137A AE49 785B A445 257C 8AD7 D877 A498 6C42 AB31
More information about the srsran-users
mailing list