Add the NSSAI logging condition in KPM
It is a periodic output, based on the reporting period.
This commit is contained in:
@@ -173,6 +173,7 @@ static void capture_sst_sd(test_cond_value_t* test_cond_value, uint8_t *sst, uin
|
|||||||
*sd = malloc(**sd);
|
*sd = malloc(**sd);
|
||||||
**sd = buf[1] << 16 | buf[2] << 8 | buf[3];
|
**sd = buf[1] << 16 | buf[2] << 8 | buf[3];
|
||||||
}
|
}
|
||||||
|
printf("[E2 AGENT][E2SM-KPM] Condition NSSAI (%d, %x).\n", *sst, (*sd) ? **sd : 0xffffff);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
@@ -408,7 +409,10 @@ bool read_kpm_sm(void* data)
|
|||||||
ue_type_matcher fp_match_cond_type = (*match_cond_arr[test_info.test_cond_type])[node_type];
|
ue_type_matcher fp_match_cond_type = (*match_cond_arr[test_info.test_cond_type])[node_type];
|
||||||
arr_ue_id_t arr_ue_id = fp_match_cond_type(test_info);
|
arr_ue_id_t arr_ue_id = fp_match_cond_type(test_info);
|
||||||
|
|
||||||
if (arr_ue_id.sz == 0) return false;
|
if (arr_ue_id.sz == 0) {
|
||||||
|
printf("[E2 AGENT][E2SM-KPM] No UE matches the condition criteria.\n");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
kpm->ind.msg.frm_3 = fill_kpm_ind_msg_frm_3(&arr_ue_id, &frm_4->action_def_format_1);
|
kpm->ind.msg.frm_3 = fill_kpm_ind_msg_frm_3(&arr_ue_id, &frm_4->action_def_format_1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user