Capacity Scaling and Optimal Operation of Wireless Networks