Bitwise XOR the data bits with the generator bit.
Remainder should be 0, for a successful transmission.
- Receiver Window Size = 1
- Sender Window Size < 2^m
- Receiver Window Size <= 2^(m-1)
- Sender Window Size <= 2^(m-1)
U_sender = L/R / (RTT + L/R)
U_sender = nL/R / (RTT + L/R)
To calculate window size:
window size = U * (R/L*RTT + 1)