MAC Design for WiFi Infrastructure Networks: A Game-Theoretic Approach