Commit 5441f4a2 authored by rdoost's avatar rdoost

added the driver type for Iris make to conf rrh_remote arg in conf file

parent 26ecfc76
...@@ -471,11 +471,12 @@ extern "C" { ...@@ -471,11 +471,12 @@ extern "C" {
// Initialize Iris device // Initialize Iris device
device->openair0_cfg = openair0_cfg; device->openair0_cfg = openair0_cfg;
char* remote_addr = device->openair0_cfg->remote_addr; char* remote_addr = device->openair0_cfg->remote_addr;
char* srl = strtok(remote_addr, ","); char* drvtype = strtok(remote_addr, ",");
char *srl = strtok(NULL, ",");
while (srl != NULL) while (srl != NULL)
{ {
LOG_I(HW,"Attempting to open Iris device: %s\n", srl); LOG_I(HW,"Attempting to open Iris device: %s\n", srl);
std::string args = "driver=iris,serial="+std::string(srl); std::string args = "driver="+std::string(drvtype)+",serial="+std::string(srl);
s->iris.push_back(SoapySDR::Device::make(args)); s->iris.push_back(SoapySDR::Device::make(args));
srl = strtok(NULL, ","); srl = strtok(NULL, ",");
} }
......
...@@ -146,8 +146,8 @@ eNBs = ...@@ -146,8 +146,8 @@ eNBs =
rrh_gw_config = ({ rrh_gw_config = ({
local_if_name = "eth0"; local_if_name = "eth0";
remote_address = "0212"; remote_address = "remote,0212";
local_address = "10.224.20.7"; local_address = "10.224.20.47"
local_port = 50000; #for raw option local port must be the same to remote local_port = 50000; #for raw option local port must be the same to remote
remote_port = 50000; remote_port = 50000;
rrh_gw_active = "yes"; rrh_gw_active = "yes";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment