802.11 MAC provides reliability through ACK, but what happens when you use a connectionless protocol like UDP? Will you get an ACK because of the reliability in 802.11? I don't think so, but I wanted to confirm it.
I think you have a misconception about the communication layers ... 802.11 operates on layers 1 and 2, so it doesn't matter if you send TCP or UDP over it.
Each packet gets a link layer ACK, and if there is no ACK the packet will be re-transmitted on that link for reliability. Note that content doesn't matter. If the packet is lost all the time up to a constant MAX_RETRIES, the packet is dropped.
THEN comes the reliability of the higher layer protocols. For UDP the packet is lost completely, for TCP the sender notices that there is no IP-ACK and will try again, and will again get MAX_RETRIES on the wireless link.
You should take a look at link reliability and end-to-end reliability to see the difference.
I think you have a misconception about the communication layers ... 802.11 operates on layers 1 and 2, so it doesn't matter if you send TCP or UDP over it.
Each packet gets a link layer ACK, and if there is no ACK the packet will be re-transmitted on that link for reliability. Note that content doesn't matter. If the packet is lost all the time up to a constant MAX_RETRIES, the packet is dropped.
THEN comes the reliability of the higher layer protocols. For UDP the packet is lost completely, for TCP the sender notices that there is no IP-ACK and will try again, and will again get MAX_RETRIES on the wireless link.
You should take a look at link reliability and end-to-end reliability to see the difference.