A MAC layer traffic-priority management technique in CDMA based ad-hoc networks