Maximizing Quality of Service (QoS) in Wi-Fi Networks