A survey of medium access mechanisms for providing QoS in Ad-Hoc networks