RTS/CTS mechanism for IEEE802.11 WLANs to achieve optimal performance