Skip to content

RFC mac80211: antenna configuration

Bruno Randolf linux-wireless 1 version In review

Get series with b4
b4 am 20100511083121.28289.96180.stgit@tt-desk

Versions newest first

  1. v1 RFC Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mac80211: Add nl80211 antenna configurationinclude/linux/nl80211.h include/net/cfg80211.h include/net/mac80211.h +3 more+168 -08 replies
2/2ath5k: Add support for cfg80211 antenna settingdrivers/net/wireless/ath/ath5k/base.c+34 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] mac80211: antenna configuration

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 · 1 line
Signature