netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: miaoqing@codeaurora.org
To: "Krzysztof Hałasa" <khalasa@piap.pl>,
	ath9k-devel <ath9k-devel@qca.qualcomm.com>,
	"Kalle Valo" <kvalo@codeaurora.org>,
	linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4.9.0-rc5] AR9300 calibration problems with antenna selected
Date: Mon, 21 Nov 2016 13:48:03 +0800	[thread overview]
Message-ID: <2ea016e563f5db553f201a7d4205c2c0@codeaurora.org> (raw)
In-Reply-To: <61055e757c5645dfb69da3fc555cbcf5@aptaiexm02f.ap.qualcomm.com>


I would prefer that you didn't submit this.

> 
> I recently tried to select a single antenna on AR9300 and it works for
> 30 seconds only. The subsequent calibration makes the RX signal level
> to drop from the usual -30/-40 dBm to -70/-80 dBm, and the
> transmission practically stops.
> 
> With the attached patch it works, though selecting the antenna doesn't
> seem to have any visible effect, at least with "iw wlanX station dump"
> (perhaps it works for TX).
> 
> I'm using ad-hoc mode:
> 
> rmmod ath9k
> modprobe ath9k
> iw dev wlan0 set type ibss
> iw phy phyX set antenna 2

2 is a bad mask. We use bitmap, the valid masks are 1, 3, 7.

  parent reply	other threads:[~2016-11-21  5:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15  9:56 [PATCH 4.9.0-rc5] AR9300 calibration problems with antenna selected Krzysztof Hałasa
     [not found] ` <m3wpg52hii.fsf-5rrSNkU2MPirDJvtcaxF/A@public.gmane.org>
2016-11-17 11:09   ` [4.9.0-rc5] " Kalle Valo
2016-11-17 11:09 ` Kalle Valo
     [not found] ` <61055e757c5645dfb69da3fc555cbcf5@aptaiexm02f.ap.qualcomm.com>
2016-11-21  5:48   ` miaoqing [this message]
2016-11-21 13:54     ` [PATCH 4.9.0-rc5] " Krzysztof Hałasa
2016-11-21 14:11       ` Matthias May

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2ea016e563f5db553f201a7d4205c2c0@codeaurora.org \
    --to=miaoqing@codeaurora.org \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=ath9k-devel@qca.qualcomm.com \
    --cc=khalasa@piap.pl \
    --cc=kvalo@codeaurora.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).