COSMOS models of WiFi networks based on RTS/CTS IEEE 802.11 and 802.11p MAC