diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-01-04 07:02:32 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-10 15:40:51 -0500 |
commit | 4976b4eb9d083f035aa97afec560c7e1c16c6afd (patch) | |
tree | 9335c15f332d604d418c64370202516f4541439a /include/net/mac80211.h | |
parent | 6d50192c17d4481c0e34c1ed2ae24fd7bc16e121 (diff) |
mac80211: add remain-on-channel docs
Add documentation for the new callbacks that I
forgot in the patch adding the callbacks.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 5b3fd5add7a4..3ce8e1f70c06 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1753,6 +1753,16 @@ enum ieee80211_ampdu_mlme_action { | |||
1753 | * (also see nl80211.h @NL80211_ATTR_WIPHY_ANTENNA_TX). | 1753 | * (also see nl80211.h @NL80211_ATTR_WIPHY_ANTENNA_TX). |
1754 | * | 1754 | * |
1755 | * @get_antenna: Get current antenna configuration from device (tx_ant, rx_ant). | 1755 | * @get_antenna: Get current antenna configuration from device (tx_ant, rx_ant). |
1756 | * | ||
1757 | * @remain_on_channel: Starts an off-channel period on the given channel, must | ||
1758 | * call back to ieee80211_ready_on_channel() when on that channel. Note | ||
1759 | * that normal channel traffic is not stopped as this is intended for hw | ||
1760 | * offload. Frames to transmit on the off-channel channel are transmitted | ||
1761 | * normally except for the %IEEE80211_TX_CTL_TX_OFFCHAN flag. When the | ||
1762 | * duration (which will always be non-zero) expires, the driver must call | ||
1763 | * ieee80211_remain_on_channel_expired(). This callback may sleep. | ||
1764 | * @cancel_remain_on_channel: Requests that an ongoing off-channel period is | ||
1765 | * aborted before it expires. This callback may sleep. | ||
1756 | */ | 1766 | */ |
1757 | struct ieee80211_ops { | 1767 | struct ieee80211_ops { |
1758 | int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); | 1768 | int (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); |