linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ath9k: Problems with diversity on AR9330
@ 2012-07-06 12:50 Simon Wunderlich
  2012-07-06 14:02 ` Mohammed Shafi
  0 siblings, 1 reply; 13+ messages in thread
From: Simon Wunderlich @ 2012-07-06 12:50 UTC (permalink / raw)
  To: ath9k-devel
  Cc: Mohammed Shafi, Mohammed Shafi Shajakhan, Adrian Chadd,
	Sven Eckelmann, Marek Lindner, linux-wireless

[-- 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 --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-07-19  5:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-06 12:50 ath9k: Problems with diversity on AR9330 Simon Wunderlich
2012-07-06 14:02 ` 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

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).