Modeling Wireless Networks for Rate Control