Added RSSI calculation