Figure 2:
The main process executed by each STA.