The Evolution of Wireless Networks: From 2g to 5g