Text this: Cross layer design of wireless local area network for telemedicine application