Commit 3858c920 authored by aikaterini.trilyraki's avatar aikaterini.trilyraki

minor addition related to shift and rescale

parent 18e1fdbe
......@@ -341,7 +341,7 @@ int device_init(openair0_device *device, openair0_config_t *openair0_cfg, char *
}
openair0_cfg->iq_txshift= 0;
openair0_cfg->iq_rxrescale = 15;
openair0_cfg->iq_rxrescale = 15; /*not sure*/
memcpy((void*)&device->openair0_cfg,(void*)openair0_cfg,sizeof(openair0_config_t));
......
......@@ -369,7 +369,8 @@ int transport_init(openair0_device *device, openair0_config_t *openair0_cfg, cha
/*hoedcoded!!!!*/
eth->if_name[device->Mod_id] = "eth0";
device->priv = eth;
openair0_cfg->iq_txshift = 5;
openair0_cfg->iq_rxrescale = 15;
memcpy((void*)&device->openair0_cfg,(void*)openair0_cfg,sizeof(openair0_config_t));
/*iqoffset*/
......
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