wn-upf / Komondor

Komondor Wireless Networks Simulator
GNU General Public License v3.0
65 stars 19 forks source link

Adaptable Contention Window (CW): Binary exponential BO #56

Closed sergiobarra closed 6 years ago

sergiobarra commented 6 years ago

Implement the binary exponential backoff. Namely, when collision is detected, increase m. See this paper BO = [0, CW - 1] CW = 2^m * CW_min Increase m, i.e., m++ up to CW_stage when transmission fails. Reset m, i.e., m = 0, when ACK received.