FlexRAN: Circumvent different RRC/MAC layer user ID sorting
* RRC and MAC might sort users differently * therefore, we have to "reverse lookup" the MAC ID from the RNTI when filling user info * For this purpose, add RAN API function flexran_get_mac_ue_id_rnti()
This commit is contained in:
@@ -249,7 +249,8 @@ int flexran_agent_handle_stats(mid_t mod_id, const void *params, Protocol__Flexr
|
||||
|
||||
if (flexran_agent_get_rrc_xface(mod_id) && flexran_agent_get_mac_xface(mod_id)
|
||||
&& flexran_get_rrc_num_ues(mod_id) != flexran_get_mac_num_ues(mod_id)) {
|
||||
LOG_E(FLEXRAN_AGENT, "different numbers of UEs in RRC and MAC\n");
|
||||
LOG_E(FLEXRAN_AGENT, "different numbers of UEs in RRC (%d) and MAC (%d)\n",
|
||||
flexran_get_rrc_num_ues(mod_id), flexran_get_mac_num_ues(mod_id));
|
||||
goto error;
|
||||
}
|
||||
report_config.ue_report_type = malloc(sizeof(ue_report_type_t) * report_config.nr_ue);
|
||||
|
||||
Reference in New Issue
Block a user