Research Article
Enabling Device-to-Device (D2D) Communication for the Next Generation WLAN
Algorithm 1
The enhanced back-off mechanism
| 1: Initialize: Node set , | | 2: AP computes by (11) and broadcasts it and | | 3: for in do: | | 4: randomly select a value from as | | 5: end for | | 6: whiledo: | | 7: fordo: | | 8: | | 9: ifdo: | | 10: randomly choose a RU to send BSR | | 11: if AP received BSR from do: | | 12: and | | 13: end if | | 14: | | 15: end if | | 16: end for | | 17: ifdo: | | 18: break | | 19: end if | | 20: | | 21: end while |
|