Text this: Cross layer design of wireless LAN for telemedicine application