2009-03-03 17:25:22

by Jouni Malinen

[permalink] [raw]
Subject: [PATCH 09/15] 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 <[email protected]>

---
drivers/net/wireless/ath9k/main.c | 1 +
1 file changed, 1 insertion(+)

--- wireless-testing.orig/drivers/net/wireless/ath9k/main.c 2009-03-03 18:31:30.000000000 +0200
+++ wireless-testing/drivers/net/wireless/ath9k/main.c 2009-03-03 18:31:43.000000000 +0200
@@ -1595,6 +1595,7 @@ void ath_set_hw_capab(struct ath_softc *
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);

--

--
Jouni Malinen PGP id EFC895FA