WiFi Basics 4 – the WiFi State Machine