Recognition and mitigation of malicious attacks on wireless local area networks using machine learning techniques