aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/main.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-03 12:23:34 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-03-05 14:39:46 -0500
commit465ca84d95deeab37b7c3b10b2cb96b3fa07a891 (patch)
tree4f77c2d7a7eea691516b50229fc409ae6c032e41 /drivers/net/wireless/ath9k/main.c
parent9580a222b8a371c145d7439c1a289b9e77f8fe31 (diff)
ath9k: Register larger listen interval
Notify the AP that we may be sleeping longer to allow the AP power save code to buffer larger number of frames for us when using virtual wiphys. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath9k/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index 183fb8e0781..7c20da3862a 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -1597,6 +1597,7 @@ void ath_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
1597 hw->queues = 4; 1597 hw->queues = 4;
1598 hw->max_rates = 4; 1598 hw->max_rates = 4;
1599 hw->channel_change_time = 5000; 1599 hw->channel_change_time = 5000;
1600 hw->max_listen_interval = 10;
1600 hw->max_rate_tries = ATH_11N_TXMAXTRY; 1601 hw->max_rate_tries = ATH_11N_TXMAXTRY;
1601 hw->sta_data_size = sizeof(struct ath_node); 1602 hw->sta_data_size = sizeof(struct ath_node);
1602 hw->vif_data_size = sizeof(struct ath_vif); 1603 hw->vif_data_size = sizeof(struct ath_vif);