Smart Traffic Scheduling in 802.11 WLANs with Access Point