Resource Allocation for Wireless Networks