I'm trying to simulate a data protocol running over a 5 Mbps RF link. The datasheet for the RF chip gives a logarithmic BER vs SNR plot (BER := bit error rate; SNR := signal to noise ratio), but to simplify I am choosing to fix the BER to the same value that many of the RF characteristics are measured: BER = 10^-4.
How do I determine the instantaneous success of a packet transfer of size N bits (N := { 36000, 18000, 9000, 4500})?
I'm not looking for the probability of success (but that may be needed as an interim calculation). I need to be able to make a boolean decision about each packet as the simulation time ticks by. I also have a random number generator available as input and can keep a packet transfer history if necessary. I'm using the SimPy package for even simulation.