Resource Allocation And Cross Layer Control In Wireless Networks