linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] mac80211: antenna configuration
@ 2010-05-11  8:38 Bruno Randolf
  2010-05-11  8:39 ` [RFC PATCH 1/2] mac80211: Add nl80211 " Bruno Randolf
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Bruno Randolf @ 2010-05-11  8:38 UTC (permalink / raw)
  To: johannes, linville; +Cc: linux-wireless, holgerschurig

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

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

end of thread, other threads:[~2010-05-12  1:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11  8:38 [RFC PATCH 0/2] mac80211: antenna configuration Bruno Randolf
2010-05-11  8:39 ` [RFC PATCH 1/2] mac80211: Add nl80211 " 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

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