From patchwork Mon May 9 13:41:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajkumar Manoharan X-Patchwork-Id: 769132 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p49DfsEf000992 for ; Mon, 9 May 2011 13:41:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347Ab1EINlx (ORCPT ); Mon, 9 May 2011 09:41:53 -0400 Received: from mail.atheros.com ([12.19.149.2]:51781 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752924Ab1EINlw (ORCPT ); Mon, 9 May 2011 09:41:52 -0400 Received: from mail.atheros.com ([10.10.20.108]) by sidewinder.atheros.com for ; Mon, 09 May 2011 06:41:24 -0700 Received: from mail.atheros.com (10.12.4.18) by SC1EXHC-02.global.atheros.com (10.10.20.106) with Microsoft SMTP Server (TLS) id 8.2.213.0; Mon, 9 May 2011 06:41:51 -0700 Received: by mail.atheros.com (sSMTP sendmail emulation); Mon, 09 May 2011 19:11:47 +0530 From: Rajkumar Manoharan To: CC: , Rajkumar Manoharan Subject: [PATCH 4/4] ath9k: Failed to set default beacon rssi in AP/IBSS mode Date: Mon, 9 May 2011 19:11:29 +0530 Message-ID: <1304948489-14585-4-git-send-email-rmanoharan@atheros.com> X-Mailer: git-send-email 1.7.5.1 In-Reply-To: <1304948489-14585-1-git-send-email-rmanoharan@atheros.com> References: <1304948489-14585-1-git-send-email-rmanoharan@atheros.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 09 May 2011 13:41:54 +0000 (UTC) This beacon rssi will be used to set noisefloor during ani reset. Signed-off-by: Rajkumar Manoharan --- drivers/net/wireless/ath/ath9k/main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 11d9eca..c4d32c5 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1409,6 +1409,7 @@ static void ath9k_calculate_summary_state(struct ieee80211_hw *hw, /* Set up ANI */ if ((iter_data.naps + iter_data.nadhocs) > 0) { + sc->sc_ah->stats.avgbrssi = ATH_RSSI_DUMMY_MARKER; sc->sc_flags |= SC_OP_ANI_RUN; ath_start_ani(common); } else {