Wi-Fi attack mitigation: analysis, design and implementation