srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.47k stars 1.14k forks source link

Connecting 2 USRPs B210 together to enable Mimo 2x2 in 5G NSA #798

Closed anasalbakri closed 2 years ago

anasalbakri commented 2 years ago

Issue Description

I'm trying to connect two USRP B210 boards together to enable MIMO 2x2 in 5G NSA connection to gnb.

I've checked on UHD website about how to do this step and it appears that I need to redefine channel mapping to enable the necessary 4 RX channels out of the two usrps. So is this possible with srsRAN and what are the steps to achieve that? Otherwise if not possible, will a UHD script that redefine channel mapping contradict with srs code?

Setup Details

using srsue with 2 usrps B210 t connect to commercial 5g gNB base station.

Expected Behavior

[What you expect to happen]

Actual Behaviour

when I just run srsue normally while connecting both devices and I set paramneter nofantennas = 2 I receive the error
[ERROR] [UHD RF] LookupError: IndexError: multi_usrp: RX channel 2 out of range for configured RX frontends /home/ets/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc:930: uhdinit failed, freeing...

Steps to reproduce the problem

sudo srsue

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue]

andrepuschmann commented 2 years ago

Hey, first of all we don't support MIMO in the 5G branch. So what you're trying to achieve is not possible. But the idea of combining 2x B210 to do NSA mode should be possible, yes.

I am closing the issue, please feel free to reopen if you think it's needed.

hayyanali-cmd commented 1 year ago

hi @andrepuschmann you said "combining 2x B210 to do NSA mode should be possible, yes". could i ask you how to define the two devices in the enb.conf?

JitheshSuresh commented 7 months ago

Hello, Is there any script / option available now to connect two B210 USRPs for a SA network?