Return-path: Received: from mail.atheros.com ([12.36.123.2]:40751 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750833AbZBQKKR (ORCPT ); Tue, 17 Feb 2009 05:10:17 -0500 Received: from mail.atheros.com ([10.10.20.105]) by sidewinder.atheros.com for ; Tue, 17 Feb 2009 02:10:17 -0800 From: Sujith MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: <18842.35873.62261.389386@gargle.gargle.HOWL> (sfid-20090217_111022_482399_FF15CB0F) Date: Tue, 17 Feb 2009 15:36:25 +0530 To: CC: , , Subject: [PATCH 1/4] ath9k: Initialize channel change time Sender: linux-wireless-owner@vger.kernel.org List-ID: Set channel change time to 5ms, this will improve scan results. Signed-off-by: Sujith --- drivers/net/wireless/ath9k/main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 32cdb24..04494a3 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c @@ -1602,6 +1602,7 @@ int ath_attach(u16 devid, struct ath_softc *sc) hw->queues = 4; hw->max_rates = 4; + hw->channel_change_time = 5000; hw->max_rate_tries = ATH_11N_TXMAXTRY; hw->sta_data_size = sizeof(struct ath_node); hw->vif_data_size = sizeof(struct ath_vif); -- 1.6.1