Capacity of wireless networks with intra- and inter-cell mobility