|
|
@ -93,11 +93,11 @@ bool phy::init(phy_args_t *args,
|
|
|
|
phy_cfg_t *cfg,
|
|
|
|
phy_cfg_t *cfg,
|
|
|
|
srslte::radio* radio_handler_,
|
|
|
|
srslte::radio* radio_handler_,
|
|
|
|
mac_interface_phy *mac,
|
|
|
|
mac_interface_phy *mac,
|
|
|
|
srslte::log* log_h)
|
|
|
|
srslte::log_filter* log_h)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
std::vector<void*> log_vec;
|
|
|
|
std::vector<srslte::log_filter*> log_vec;
|
|
|
|
for (int i=0;i<args->nof_phy_threads;i++) {
|
|
|
|
for (int i=0;i<args->nof_phy_threads;i++) {
|
|
|
|
log_vec.push_back((void*)log_h);
|
|
|
|
log_vec.push_back(log_h);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
init(args, cfg, radio_handler_, mac, log_vec);
|
|
|
|
init(args, cfg, radio_handler_, mac, log_vec);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
@ -107,7 +107,7 @@ bool phy::init(phy_args_t *args,
|
|
|
|
phy_cfg_t *cfg,
|
|
|
|
phy_cfg_t *cfg,
|
|
|
|
srslte::radio* radio_handler_,
|
|
|
|
srslte::radio* radio_handler_,
|
|
|
|
mac_interface_phy *mac,
|
|
|
|
mac_interface_phy *mac,
|
|
|
|
std::vector<void*> log_vec)
|
|
|
|
std::vector<srslte::log_filter*> log_vec)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
mlockall(MCL_CURRENT | MCL_FUTURE);
|
|
|
|
mlockall(MCL_CURRENT | MCL_FUTURE);
|
|
|
|