All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] chip antenna selection
@ 2011-11-16 15:37 Daniel Golle
  0 siblings, 0 replies; only message in thread
From: Daniel Golle @ 2011-11-16 15:37 UTC (permalink / raw)
  To: ath9k-devel

Hi!
Seems like the introduction of the antenna-switching API now always sets antenna
0 for single-chain devices with diversity/combining disabled. Unfortunately,
apparently there are implementations using *only* antenna 1.
(The external antenna switching logic of the ALL0258N is connected via antenna
port 1, 0 is unused)
As a result of this, compat-wireless-2011-08-26 (+openwrt patches) works
perfectly nice on the ALL0258N, but since antenna-selection was introduced
somewhen around compat-wireless-2011-09-14 the wrong antenna pin is selected and
the device cannot communicate with the outside world, wifi seems to be dead.
Adding
hw->wiphy->available_antennas_rx = BIT(1);
hw->wiphy->available_antennas_tx = BIT(1);
to in ath9k_set_hw_capab solves the issue and WiFi works as expected.

Can you image a way how such devices could be properly distinguished by the
EEPROM data or does it need to be indicated via platform_data from the board?
(ask me for a dump of the boardconfig, I don't want to post that on the list)

Cheers

Daniel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-16 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16 15:37 [ath9k-devel] chip antenna selection Daniel Golle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.