Fix UE's SR transmission

master
Xavier Arteaga 5 years ago committed by Xavier Arteaga
parent 6672f6df0f
commit 6c960da808

@ -25,11 +25,12 @@
static bool pucch_proc_tx_sr(const srslte_uci_cfg_t* uci_cfg, const srslte_uci_value_t* uci_value) static bool pucch_proc_tx_sr(const srslte_uci_cfg_t* uci_cfg, const srslte_uci_value_t* uci_value)
{ {
// Check SR transmission // Check SR transmission
bool tx_sr = uci_cfg->is_scheduling_request_tti;
if (uci_value) { if (uci_value) {
tx_sr |= uci_value->scheduling_request; // If UCI value is provided, ignore scheduling request TTI condition
return uci_value->scheduling_request;
} }
return tx_sr;
return uci_cfg->is_scheduling_request_tti;
} }
srslte_pucch_format_t srslte_pucch_proc_select_format(const srslte_cell_t* cell, srslte_pucch_format_t srslte_pucch_proc_select_format(const srslte_cell_t* cell,

Loading…
Cancel
Save