fapi_nr_ul_config_request_t*ul_config_req=&mac->ul_config_request[1];// Temporary workaround due to change in the structure to accommodate multiple UL config requests
// Schedule ULSCH only if the frame and slot are as indicated in ul_config_req.
// These values were set based on the values of slot in which UL DCI was received and K2.
LOG_D(MAC,"nr_ue_process_dci(): Calculated frame and slot for pusch Tx: %d.%d, number of pdus %d\n",ul_config->sfn,ul_config->slot,ul_config->number_pdus);
ul_config->slot=slot_tx;
ul_config->sfn=frame_tx;
ul_config->number_pdus=ul_config->number_pdus+1;
LOG_D(MAC,"nr_ue_process_dci(): Calculated frame and slot for pusch Tx: %d.%d, number of pdus %d\n",ul_config->sfn,ul_config->slot,ul_config->number_pdus);
LOG_I(MAC,"nr_ue_process_dci(): Calculated frame and slot for pusch Tx: %d.%d\n",ul_config->sfn,ul_config->slot);
ul_config->slot=slot_tx;
ul_config->sfn=frame_tx;
ul_config->number_pdus=ul_config->number_pdus+1;
LOG_D(MAC,"nr_ue_process_dci(): Calculated frame and slot for pusch Tx: %d.%d, number of pdus %d\n",ul_config->sfn,ul_config->slot,ul_config->number_pdus);