[srslte-users] srsRAN UE with OAI 5G

Cedric Roux cedric.roux at eurecom.fr
Fri May 21 13:41:13 UTC 2021


can you also record a T trace as explained at
https://gitlab.eurecom.fr/oai/openairinterface5g/-/wikis/T/wireshark
(Record and replay)

Record on the eNB.

thanks.

Basically you would do (you add --T_stdout 0):
./lte-softmodem -O <config file> --T_stdout 0

and on another terminal, do:
cd common/utils/T/tracer/
make
./record -d ../T_messages.txt -o /tmp/record.raw -on WIRESHARK

On 2021-05-21 15:27, Diarmuid Collins wrote:
> Hi Raymond
> 
> Log attached. There is some capability info in there [see sample below] .
> 
> It would be excellent to get srsRAN UE working with the gNB. It would 
> simplify a lot of experimentation researchers.
> 
> Diarmuid
> 
> 15:21:06.729520 [RRC-NR ] [D] NR capabilities (6 B)
> 
> 0000: 80 00 10 00 03 00
> 
> 15:21:06.729521 [RRC] [I] Including NR capabilities in UE Capability 
> Info (6 B)
> 
> 15:21:06.729529 [PHY] [D] [ 5800] SNR=32.0 dB, RSRP=-71.8 dBm 
> sync=in-sync from channel estimator
> 
> 15:21:06.729541 [RRC-NR ] [D] EUTRA-NR capabilities (22 B)
> 
> 0000: 01 1c 04 00 60 c0 00 00 00 00 60 10 44 04 14 e8
> 
> 0010: 00 00 00 00 10 08
> 
> 15:21:06.729544 [RRC] [I] Including EUTRA-NR capabilities in UE 
> Capability Info (22 B)
> 
> 15:21:06.729544 [RRC] [D] Requested Freq Bands NR MRDC R15 present
> 
> 15:21:06.729557 [RRC] [D] SRB1 - Tx ueCapabilityInformation (33 B)
> 
> 0000: 3c 02 50 68 00 01 00 00 30 06 16 01 1c 04 00 60
> 
> 0010: c0 00 00 00 00 60 10 44 04 14 e8 00 00 00 00 10
> 
> 
> 
> 
> ~/.config/srsran/ue.conf
> 
> 
> [log]
> 
> all_level = debug
> 
> phy_lib_level = debug
> 
> all_hex_limit = 32
> 
> filename = /tmp/ue.log
> 
> file_max_size = -1
> 
> 
> 
> -------------------------------------------------------------------
> Diarmuid Collins PhD
> Iris Testbed Manager,
> CONNECT Centre for Future Networks,
> Dunlop Oriel House,
> Trinity College,
> Dublin 2, Ireland
> E: dcollin5 at tcd.ie <mailto:dcollin5 at tcd.ie>
> W:https://connectcentre.ie/people/diarmuid-collins/
> 
> 
> On Fri, 21 May 2021 at 13:08, knopp <Raymond.Knopp at eurecom.fr 
> <mailto:Raymond.Knopp at eurecom.fr>> wrote:
> 
>     Hi Diarmuid,
> 
>     I think we'd have to either run the eNB with the T tracer and get the
>     log or add a hexdump of the NR UE capabilities. The asn1 decoder for
>     the
>     LTE UECapabilityInformation containing the 5G container is failing.
>     This
>     has only been tested with a (limited) set of Commercial NSA UEs and an
>     even more limited set of NSA/SA UEs.
> 
>     This is the first message with a 5G container coming from the UE. Do
>     you
>     have a hexdump on the UE side of what is sent? Otherwise, we can help
>     you activate the necessary logs in the eNB to get the hexdump and then
>     we can use an online ASN1 decoder to check what could be wrong. When
>     the
>     decoding of the LTE message passes, the 5G OCTET_STRING component of
>     the
>     message gets sent to the gNB and this we can see with wireshark or in
>     the text logs of the gNB, but unless until overall 4G message is
>     decoded
>     we can't see any of the 5G information.
> 
>     It's already a good sign that the first LTE UECapabilityInformation was
>     decoded with the necessary R15 information elements and that the 5G
>     measurement reports came in :-)
> 
>     Raymond
>     On 21/05/2021 13:35, Diarmuid Collins wrote:
>      > Hi OAI/srsRAN Community
>      > Has anybody had any success connecting srsRAN UE - NR (B210) to
>     OAI gNB
>      > (USRP B210).
>      >
>      > This is supported by an enb (USRP b210), and OAI 5G ENDC NSA core.
>      >
>      > eNB handover to gNB logs fails saying (logs attached):
>      >
>      > [SCTP] Successfully sent 61 bytes on stream 1 for assoc_id 16
>      >
>      > [RRC] [FRAME 00000][eNB][MOD 00][RNTI 5011] received
>      > ueCapabilityInformation on UL-DCCH 1 from UE
>      >
>      > [RRC] got UE capabilities for UE 5011
>      >
>      > *[RRC] [FRAME 00000][eNB][MOD 00][RNTI 5011] Failed to decode nr UE
>      > capabilities (0 bytes)*
>      >
>      > *
>      > *
>      >
>      > *
>      > *
>      >
>      > Note, the srsRAN RN-UE will connect no problem to the standalone ENB
>      > with OAI 5G ENDC NSA core [log also attached].
>      >
>      >
>      > Diarmuid
>      >
>      > -------------------------------------------------------------------
>      > Diarmuid Collins PhD
>      > Iris Testbed Manager,
>      > CONNECT Centre for Future Networks,
>      > Dunlop Oriel House,
>      > Trinity College,
>      > Dublin 2, Ireland
>      > E: dcollin5 at tcd.ie <mailto:dcollin5 at tcd.ie>
>     <mailto:dcollin5 at tcd.ie <mailto:dcollin5 at tcd.ie>>
>      > W:https://connectcentre.ie/people/diarmuid-collins/
>      > <https://connectcentre.ie/people/diarmuid-collins/>
> 
> 
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> https://lists.softwareradiosystems.com/mailman/listinfo/srslte-users
> 



More information about the srsran-users mailing list