How to calculate FER based on the RSSI or SNR values ?