linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bruno Randolf <br1@einfach.org>
To: "Jaroslav Fojtik" <jafojtik@seznam.cz>
Cc: linux-wireless@vger.kernel.org, Nick Kossifidis <mickflemm@gmail.com>
Subject: Re: ATH5k - Signal measurement reports wrong values - thanks for a fix
Date: Wed, 30 Jun 2010 16:26:57 +0900	[thread overview]
Message-ID: <201006301626.57547.br1@einfach.org> (raw)
In-Reply-To: <4C2AEF25.1702.2DF7E2@jafojtik.seznam.cz>

On Wed June 30 2010 16:15:49 Jaroslav Fojtik wrote:
> > > Before this patch there were short peeks from -78dB to -71dB.
> > > After patch there are short measurement drops from -62dB to -70dB.
> > > 
> > > The week charting simply averages it:
> > >   http://78.108.103.11:11080/cgi-bin/rodga_1week_big.cgi
> > 
> > i guess this must be the same situation as before, no?
> 
> Just repeat:
> ## Before this patch there were short peeks from -78dB to -71dB.
> 
> ## After patch there are short measurement drops from -62dB to -70dB.

i meant: did you see the same kind of drops with the older compat-wireless 
versions, before you reported the problem?

> > how many antennas do you have attached to your device?
> 
> One miniPCI device has only one antenna attached. Second U.FL. connector
> is empty.
> 
> > it might be interesting to check if you get more consistent
> > signal measurements by disabling antenna
> > diversity, setting it to a fixed antenna. you can do this by using a
> > debugfs file "echo fixed-a > /sys/kernel/debug/ath5k/phy0/antenna" (or
> > "fixed-b")...
> 
> I have found that "fixed-b" is a right connector. There is a stupid
> question why? When I am using "out" and not "aux". I just guess that "out"
> should be 'a' and 'aux' should be 'b'.

yes, i have noticed the same thing on some cards. maybe a wrong setting in 
eeprom, or some bug in ath5k.

> Please again have a look at:
>   http://78.108.103.11:11080/cgi-bin/rodga_1day_big.cgi
> 
> It looks like signal power jumped to -46dB.
> It seems that ATH5k never switched to "fixed-b" and I has been receiving
> garbage from empty U.FL. It is a miracle that it has been worked.

i have also had problems with diversity in ath5k when there is only one 
antenna attached and in this case i always need to set a fixed antenna for 
optimal performance.

> MadWiFi is much more intelligent. It tests both inputs and selects better
> one.

glad to hear it works for you; i had many inconsistencies with antenna 
diversity on madwifi as well..

bruno

PS: CC'ing nick, maybe he has some idea?

  reply	other threads:[~2010-06-30  7:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-20 19:20 ATH5k - Signal measurement reports wrong values Jaroslav Fojtik
2010-06-21  1:26 ` Bruno Randolf
2010-06-21  7:23   ` Jaroslav Fojtik
2010-06-21  7:50     ` Bruno Randolf
2010-06-21 19:28       ` Jaroslav Fojtik
2010-06-22  4:01         ` Bruno Randolf
2010-06-23  9:03       ` ATH5k - Signal measurement reports wrong values - "calib" did not help Jaroslav Fojtik
2010-06-25  0:47         ` Bruno Randolf
2010-06-26 12:43           ` Jaroslav Fojtik
2010-06-26 16:07             ` Bruno Randolf
2010-06-26 17:54               ` ATH5k - Signal measurement reports wrong values - thanks for a fix Jaroslav Fojtik
2010-06-27  2:20                 ` Bruno Randolf
2010-06-27  7:28                   ` Jaroslav Fojtik
2010-06-28  1:21                     ` Bruno Randolf
2010-06-30  7:15                       ` Jaroslav Fojtik
2010-06-30  7:26                         ` Bruno Randolf [this message]
2010-07-01 20:11                           ` ATH5k - Signal measurement drops Jaroslav Fojtik

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=201006301626.57547.br1@einfach.org \
    --to=br1@einfach.org \
    --cc=jafojtik@seznam.cz \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mickflemm@gmail.com \
    /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).