From: Daniel Golle <dgolle@allnet.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] chip antenna selection
Date: Wed, 16 Nov 2011 16:37:26 +0100 [thread overview]
Message-ID: <4EC3D8B6.90806@allnet.de> (raw)
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
reply other threads:[~2011-11-16 15:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4EC3D8B6.90806@allnet.de \
--to=dgolle@allnet.de \
--cc=ath9k-devel@lists.ath9k.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 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.