Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79b1c460 authored by Bruno Randolf's avatar Bruno Randolf Committed by John W. Linville
Browse files

cfg80211: Add documentation for antenna ops

parent 48124d1a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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);