All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Golle <dgolle@allnet.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] RFC: expose antCtrlCommon aka. AR_PHY_SWITCH_COM via nl80211
Date: Wed, 2 Nov 2011 18:14:15 +0100	[thread overview]
Message-ID: <4EB17A67.1030109@allnet.de> (raw)

Hi everybody!
The ALL0258N (AR7420 + AR9285) uses an external antenna switch which is
controlled by setting values into the AR_PHY_SWITCH_COM register.
Thinking about how to implement this in ath9k on OpenWrt, my solution would be
to pass an array of allowed values via platform-data and then expose
get_switchcom, set_switchcom and get_available_switchcom via nl80211.
Is that the way to do it?
Please comment.

Cheers

Daniel

             reply	other threads:[~2011-11-02 17:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 17:14 Daniel Golle [this message]
2011-11-02 17:22 ` [ath9k-devel] RFC: expose antCtrlCommon aka. AR_PHY_SWITCH_COM via nl80211 Adrian Chadd
2011-11-02 17:49   ` Daniel Golle
2011-11-02 17:52     ` Felix Fietkau
2011-11-02 18:02       ` Adrian Chadd
2011-11-02 18:16       ` Daniel Golle
2011-11-02 19:50         ` Felix Fietkau
2011-11-03  0:23           ` Daniel Golle

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=4EB17A67.1030109@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.