Return-path: Received: from s72.web-hosting.com ([198.187.29.21]:49335 "EHLO s72.web-hosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751849AbaAMPrS (ORCPT ); Mon, 13 Jan 2014 10:47:18 -0500 From: Sujith Manoharan MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <21204.2384.710460.402183@gargle.gargle.HOWL> (sfid-20140113_164721_570648_34636D9D) Date: Mon, 13 Jan 2014 21:12:08 +0530 To: Wojciech Dubowik Cc: linux-wireless@vger.kernel.org Subject: Re: [PATCH 5/5] ath9k: Fix TX IQ calibration for SoC chips In-Reply-To: <21204.1991.201080.986559@gargle.gargle.HOWL> References: <1384665016-12022-1-git-send-email-sujith@msujith.org> <1384665016-12022-5-git-send-email-sujith@msujith.org> <52CE934D.1020400@neratec.com> <21198.40916.260973.48444@gargle.gargle.HOWL> <52CEA5A3.2040308@neratec.com> <21198.43395.235654.597422@gargle.gargle.HOWL> <52CEAB24.5090700@neratec.com> <52D3F962.1010302@neratec.com> <21204.319.492595.58625@gargle.gargle.HOWL> <52D402C3.3070606@neratec.com> <21204.1991.201080.986559@gargle.gargle.HOWL> Sender: linux-wireless-owner@vger.kernel.org List-ID: Sujith Manoharan wrote: > Wojciech Dubowik wrote: > > Exactly. I have a setup with 4 Ap's on 5180MHz but I have set 5180 and > > 5200 as scanning frequencies. > > I am running attenuator profile to switch between them. Here is my > > supplicant config. > > > > ctrl_interface=/var/run/wpa_supplicant > > eapol_version=1 > > fast_reauth=1 > > ap_scan=1 > > network={ > > bgscan="simple:1:-65:10:1:2" > > scan_freq=5180 5200 > > scan_ssid=1 > > ssid="ATS11-1" > > key_mgmt=WPA-PSK > > proto=RSN > > pairwise=CCMP > > group=CCMP > > psk="12345678" > > } > > I am not able to see the issue. > Log: http://pastebin.com/raw.php?i=0bTQcAx6 > > After association, I ran a scan for the frequencies 5180 and 5200 > and on returning to the home channel, the rssi was the same as before. > > I used this patch: > > diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c > index 5bf3243..c85be42 100644 > --- a/drivers/net/wireless/ath/ath9k/recv.c > +++ b/drivers/net/wireless/ath/ath9k/recv.c > @@ -1088,6 +1088,9 @@ static int ath9k_rx_skb_preprocess(struct ath_softc *sc, > > ath9k_process_rssi(common, hw, rx_stats, rx_status); > > + printk("NOISE/RSSI/SIGNAL for %pM: %d/%d/%d\n", > + hdr->addr3, ah->noise, rx_stats->rs_rssi, rx_status->signal); > + > rx_status->band = ah->curchan->chan->band; > rx_status->freq = ah->curchan->chan->center_freq; > rx_status->antenna = rx_stats->rs_antenna; I think something is wrong. From the log I posted: Jan 14 02:31:51 linux-test kernel: ath: phy8: next DTIM -557162496 Jan 14 02:31:51 linux-test kernel: ath: phy8: next beacon -557162496 Sujith