diff options
author | Bruno Randolf <br1@einfach.org> | 2010-12-02 02:23:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-02 15:16:59 -0500 |
commit | 547025d5d4d1056fb4b5a0c9c3c0d5c2fe22c082 (patch) | |
tree | ded0de556e66d364f2b6b2345116bcb6e21c9016 /include/net/cfg80211.h | |
parent | c1927d7a8fab07171d08f7a3a8b7e5fe87bb70d4 (diff) |
cfg80211: Add documentation for antenna ops
The last patch with the same title was for mac80211 ops, accidentally.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 49a7c53a48ca..6b2af7aeddd3 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1154,6 +1154,13 @@ struct cfg80211_pmksa { | |||
1154 | * @mgmt_frame_register: Notify driver that a management frame type was | 1154 | * @mgmt_frame_register: Notify driver that a management frame type was |
1155 | * registered. Note that this callback may not sleep, and cannot run | 1155 | * registered. Note that this callback may not sleep, and cannot run |
1156 | * concurrently with itself. | 1156 | * concurrently with itself. |
1157 | * | ||
1158 | * @set_antenna: Set antenna configuration (tx_ant, rx_ant) on the device. | ||
1159 | * Parameters are bitmaps of allowed antennas to use for TX/RX. Drivers may | ||
1160 | * reject TX/RX mask combinations they cannot support by returning -EINVAL | ||
1161 | * (also see nl80211.h @NL80211_ATTR_WIPHY_ANTENNA_TX). | ||
1162 | * | ||
1163 | * @get_antenna: Get current antenna configuration from device (tx_ant, rx_ant). | ||
1157 | */ | 1164 | */ |
1158 | struct cfg80211_ops { | 1165 | struct cfg80211_ops { |
1159 | int (*suspend)(struct wiphy *wiphy); | 1166 | int (*suspend)(struct wiphy *wiphy); |