Resource Allocation and Cross Layer Control in Wireless Networks