Formula for NR RSRP in Huawei (5G NR)

Hello Experts,

Could anyone please share the formula used to calculate NR RSRP (Reference Signal Received Power) for Huawei vendor equipment in 5G NR?

I’m looking for the exact calculation or method Huawei uses to derive NR RSRP, including any related parameters (such as SS-RSRP, CSI-RSRP, or measurement configuration if applicable).

To calculate the weighted average, multiply the median value of each range (as listed in HedEx) by its corresponding count (counter value). Then, sum all the results and divide by the total number of counts.