Adaptive Scheduling In Ad Hoc And Cellular Wireless Networks