RSSI measure

Good morning

I need to evaluate the signal strength. It is possible to evaluate the amplitude of the samples and normalize against the current gain.
Is there a way to get the measure from the hardware ?

Thank You
Pietro