rrc_nr: enable SR procedure when pulling config from ASN1 struct

master
Andre Puschmann 4 years ago
parent 44baea6666
commit d99402d3b3

@ -484,6 +484,7 @@ bool rrc_nr::apply_mac_cell_group(const mac_cell_group_cfg_s& mac_cell_group_cfg
const sched_request_to_add_mod_s& asn1_cfg = const sched_request_to_add_mod_s& asn1_cfg =
mac_cell_group_cfg.sched_request_cfg.sched_request_to_add_mod_list[0]; mac_cell_group_cfg.sched_request_cfg.sched_request_to_add_mod_list[0];
sr_cfg_nr_t sr_cfg = {}; sr_cfg_nr_t sr_cfg = {};
sr_cfg.enabled = true;
sr_cfg.num_items = 1; sr_cfg.num_items = 1;
sr_cfg.item[0].sched_request_id = asn1_cfg.sched_request_id; sr_cfg.item[0].sched_request_id = asn1_cfg.sched_request_id;
sr_cfg.item[0].trans_max = asn1_cfg.sr_trans_max.to_number(); sr_cfg.item[0].trans_max = asn1_cfg.sr_trans_max.to_number();

Loading…
Cancel
Save