Consider a half-duplex link with a one-way propagation delay of $P$ seconds and a bandwidth of $B$ bits/sec. The sender and the receiver decide to share the link using Time Division Multiplexing i.e. the sender sends for $T_s$ time and then receiver sends for $T_r$ time and so on. Refer to the figure below. Assume that the sender sends data in packets of size $F$ bits and receiver sends $ACK$ in packets of size $A$ bits.
Suppose you are implementing Stop and Wait protocol. What is the natural value for sender timeout for transmission?
- $2* (F/B)+P+(A/B)$
- $(2/B)*(F+A)+P$
- $(1/B)*(F+A)+2*P$
- $(2/B)*(F+A)+2*P$