From 7ec6265f1ce97e23c97ad28c24afec62b69d45c6 Mon Sep 17 00:00:00 2001 From: Bruno Randolf Date: Thu, 2 Dec 2010 16:23:12 +0900 Subject: [PATCH] --- yaml --- r: 224912 b: refs/heads/master c: 547025d5d4d1056fb4b5a0c9c3c0d5c2fe22c082 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/net/cfg80211.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 3cd437a864d5..7210417e2547 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c1927d7a8fab07171d08f7a3a8b7e5fe87bb70d4 +refs/heads/master: 547025d5d4d1056fb4b5a0c9c3c0d5c2fe22c082 diff --git a/trunk/include/net/cfg80211.h b/trunk/include/net/cfg80211.h index 49a7c53a48ca..6b2af7aeddd3 100644 --- a/trunk/include/net/cfg80211.h +++ b/trunk/include/net/cfg80211.h @@ -1154,6 +1154,13 @@ struct cfg80211_pmksa { * @mgmt_frame_register: Notify driver that a management frame type was * registered. Note that this callback may not sleep, and cannot run * concurrently with itself. + * + * @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 cfg80211_ops { int (*suspend)(struct wiphy *wiphy);