From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
To: ath9k-devel@lists.ath9k.org
Cc: Mohammed Shafi <shafi.wireless@gmail.com>,
Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>,
Adrian Chadd <adrian@freebsd.org>,
Sven Eckelmann <sven@narfation.org>,
Marek Lindner <lindner_marek@yahoo.de>,
linux-wireless@vger.kernel.org
Subject: ath9k: Problems with diversity on AR9330
Date: Fri, 6 Jul 2012 14:50:43 +0200 [thread overview]
Message-ID: <20120706125043.GA23189@pandem0nium> (raw)
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
Hey,
we have trouble with an AR9330 (Hornet) based AP. This device has 2 antennas, and is supposed to support diversity (2 RX, 1 TX). However, diversity is not really enabled because the "alternative" antenna is not considered as "good", because not enough frames are received. It seems that at 99% of the time, alt_rssi (read from rs->rs_rssi_ctl1) is invalid (set to ATH9K_RSSI_BAD, -128), while main_rssi (read from rs->rs_rssi_ctl0) usually has sane values.
We test by sending from a 1m distance (Laptop), and both antennas are connected, so the alternative antenna should usually get some sane frames too.
We have also tried to swap the antenna configuration of main and alt (LNA1 and LNA2), but only the alt_rssi will be invalid, and we then receive via the alternative antenna. We therefore think that the antenna wiring is not the problem.
We have also checked EEPROM values, which seem to be correct as well. FYI, register set after reading the EEPROM are:
AR_PHY_MC_GAIN_CTRL = 13EF0200
AR_PHY_CCK_DETECT = 803E6788
Any ideas/pointers/suggestions?
Thanks!
Simon
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next reply other threads:[~2012-07-06 13:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-06 12:50 Simon Wunderlich [this message]
2012-07-06 14:02 ` ath9k: Problems with diversity on AR9330 Mohammed Shafi
2012-07-06 15:13 ` Sven Eckelmann
2012-07-06 16:35 ` Sven Eckelmann
2012-07-07 9:58 ` Mohammed Shafi
2012-07-07 10:14 ` Mohammed Shafi
2012-07-07 10:31 ` [ath9k-devel] " Sunil Mehta
2012-07-07 10:36 ` Mohammed Shafi
2012-07-07 11:33 ` Sunil Mehta
2012-07-07 10:32 ` Mohammed Shafi
2012-07-07 18:59 ` Simon Wunderlich
2012-07-09 14:03 ` Mohammed Shafi
2012-07-19 5:08 ` Mohammed Shafi
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=20120706125043.GA23189@pandem0nium \
--to=simon.wunderlich@s2003.tu-chemnitz.de \
--cc=adrian@freebsd.org \
--cc=ath9k-devel@lists.ath9k.org \
--cc=lindner_marek@yahoo.de \
--cc=linux-wireless@vger.kernel.org \
--cc=mohammed@qca.qualcomm.com \
--cc=shafi.wireless@gmail.com \
--cc=sven@narfation.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).