]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ath9k: Register larger listen interval
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 3 Mar 2009 17:23:34 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:46 +0000 (14:39 -0500)
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>
drivers/net/wireless/ath9k/main.c

index 183fb8e07815a3c5e93aca5e62afa67f87fd5448..7c20da3862a66a5f27f099532a50a9bd48cdabeb 100644 (file)
@@ -1597,6 +1597,7 @@ void ath_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
        hw->queues = 4;
        hw->max_rates = 4;
        hw->channel_change_time = 5000;
+       hw->max_listen_interval = 10;
        hw->max_rate_tries = ATH_11N_TXMAXTRY;
        hw->sta_data_size = sizeof(struct ath_node);
        hw->vif_data_size = sizeof(struct ath_vif);