minor addition related to shift and rescale
This commit is contained in:
@@ -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*/
|
||||
|
||||
Reference in New Issue
Block a user