aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-11-24 00:34:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-24 16:19:36 -0500
commit79b1c460a0b55e55981c25c56597c4d5d2872de3 (patch)
treeaa146ddc5db00e1bad9f61ee4ca5c91fce55debd /include
parent48124d1a91fb77defc9734b4556350d59671fb2c (diff)
cfg80211: Add documentation for antenna ops
Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 08e97e5d03fd..eaa4affd40cd 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1745,6 +1745,13 @@ enum ieee80211_ampdu_mlme_action {
1745 * completion of the channel switch. 1745 * completion of the channel switch.
1746 * 1746 *
1747 * @napi_poll: Poll Rx queue for incoming data frames. 1747 * @napi_poll: Poll Rx queue for incoming data frames.
1748 *
1749 * @set_antenna: Set antenna configuration (tx_ant, rx_ant) on the device.
1750 * Parameters are bitmaps of allowed antennas to use for TX/RX. Drivers may
1751 * reject TX/RX mask combinations they cannot support by returning -EINVAL
1752 * (also see nl80211.h @NL80211_ATTR_WIPHY_ANTENNA_TX).
1753 *
1754 * @get_antenna: Get current antenna configuration from device (tx_ant, rx_ant).
1748 */ 1755 */
1749struct ieee80211_ops { 1756struct ieee80211_ops {
1750 int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); 1757 int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb);