Linux wireless drivers development
 help / color / mirror / Atom feed
From: Bruno Randolf <br1@einfach.org>
To: johannes@sipsolutions.net, linville@tuxdriver.com
Cc: linux-wireless@vger.kernel.org, holgerschurig@gmail.com
Subject: [RFC PATCH 0/2] mac80211: antenna configuration
Date: Tue, 11 May 2010 17:38:55 +0900	[thread overview]
Message-ID: <20100511083121.28289.96180.stgit@tt-desk> (raw)

hi!

this adds antenna configuration via nl80211. patches for iw will follow
shortly.

i have followed holger schurig's suggestion to use a bitmap for allowed
antennas. when multiple antennas are selected in the bitmap, the driver may use
diversity. i think that this allows for the most flexible, yet simple
configuration of antennas, and drivers can just reject configurations they
cannot support. i hope that this will also be generic enough for 802.11n with
multiple antennas - but for the moment i think the most important use case is
that we sometimes know that only one antenna is available and we want to
disable diversity and use only one fixed antenna. at least for ath5k this is
sometimes necessary to get good results with only one antenna.

please check it out and let me know what you think,
bruno

---

Bruno Randolf (2):
      mac80211: Add nl80211 antenna configuration
      ath5k: Add support for cfg80211 antenna setting


 drivers/net/wireless/ath/ath5k/base.c |   34 ++++++++++
 include/linux/nl80211.h               |   12 +++
 include/net/cfg80211.h                |    3 +
 include/net/mac80211.h                |    2 +
 net/mac80211/cfg.c                    |   16 +++++
 net/mac80211/driver-ops.h             |   21 ++++++
 net/wireless/nl80211.c                |  114 +++++++++++++++++++++++++++++++++
 7 files changed, 202 insertions(+), 0 deletions(-)

-- 
Signature

             reply	other threads:[~2010-05-11  8:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11  8:38 Bruno Randolf [this message]
2010-05-11  8:39 ` [RFC PATCH 1/2] mac80211: Add nl80211 antenna configuration Bruno Randolf
2010-05-11  8:50   ` Johannes Berg
2010-05-11  8:51   ` Johannes Berg
2010-05-11  8:52   ` Johannes Berg
2010-05-11 18:14   ` Luis R. Rodriguez
2010-05-11 18:19     ` Johannes Berg
2010-05-11 18:26       ` Luis R. Rodriguez
2010-05-12  1:39     ` Bruno Randolf
2010-05-12  1:51       ` Luis R. Rodriguez
2010-05-11  8:39 ` [RFC PATCH 2/2] ath5k: Add support for cfg80211 antenna setting Bruno Randolf
2010-05-11  8:50   ` Johannes Berg
2010-05-11  8:53 ` [RFC PATCH 0/2] mac80211: antenna configuration Johannes Berg
2010-05-11  9:34   ` Bruno Randolf
2010-05-11 18:17     ` Luis R. Rodriguez

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=20100511083121.28289.96180.stgit@tt-desk \
    --to=br1@einfach.org \
    --cc=holgerschurig@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /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