Medium access and radio resource management for ad hoc networks based on UTRA TDD