From: Bruno Randolf Date: Wed, 24 Nov 2010 05:34:41 +0000 (+0900) Subject: cfg80211: Add documentation for antenna ops X-Git-Tag: v2.6.38-rc1~476^2~405^2^2~12 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=79b1c460a0b55e55981c25c56597c4d5d2872de3;p=~emulex%2Finfiniband.git cfg80211: Add documentation for antenna ops Signed-off-by: Bruno Randolf Signed-off-by: John W. Linville --- diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 08e97e5d03f..eaa4affd40c 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -1745,6 +1745,13 @@ enum ieee80211_ampdu_mlme_action { * completion of the channel switch. * * @napi_poll: Poll Rx queue for incoming data frames. + * + * @set_antenna: Set antenna configuration (tx_ant, rx_ant) on the device. + * Parameters are bitmaps of allowed antennas to use for TX/RX. Drivers may + * reject TX/RX mask combinations they cannot support by returning -EINVAL + * (also see nl80211.h @NL80211_ATTR_WIPHY_ANTENNA_TX). + * + * @get_antenna: Get current antenna configuration from device (tx_ant, rx_ant). */ struct ieee80211_ops { int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb);