[venton] updated code for new snr agc ber