diff options
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 96cc7ed3516..2b072fa9939 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1799,6 +1799,11 @@ enum ieee80211_ampdu_mlme_action { | |||
1799 | * ieee80211_remain_on_channel_expired(). This callback may sleep. | 1799 | * ieee80211_remain_on_channel_expired(). This callback may sleep. |
1800 | * @cancel_remain_on_channel: Requests that an ongoing off-channel period is | 1800 | * @cancel_remain_on_channel: Requests that an ongoing off-channel period is |
1801 | * aborted before it expires. This callback may sleep. | 1801 | * aborted before it expires. This callback may sleep. |
1802 | * @offchannel_tx: Transmit frame on another channel, wait for a response | ||
1803 | * and return. Reliable TX status must be reported for the frame. If the | ||
1804 | * return value is 1, then the @remain_on_channel will be used with a | ||
1805 | * regular transmission (if supported.) | ||
1806 | * @offchannel_tx_cancel_wait: cancel wait associated with offchannel TX | ||
1802 | */ | 1807 | */ |
1803 | struct ieee80211_ops { | 1808 | struct ieee80211_ops { |
1804 | void (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); | 1809 | void (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); |
@@ -1878,6 +1883,11 @@ struct ieee80211_ops { | |||
1878 | enum nl80211_channel_type channel_type, | 1883 | enum nl80211_channel_type channel_type, |
1879 | int duration); | 1884 | int duration); |
1880 | int (*cancel_remain_on_channel)(struct ieee80211_hw *hw); | 1885 | int (*cancel_remain_on_channel)(struct ieee80211_hw *hw); |
1886 | int (*offchannel_tx)(struct ieee80211_hw *hw, struct sk_buff *skb, | ||
1887 | struct ieee80211_channel *chan, | ||
1888 | enum nl80211_channel_type channel_type, | ||
1889 | unsigned int wait); | ||
1890 | int (*offchannel_tx_cancel_wait)(struct ieee80211_hw *hw); | ||
1881 | }; | 1891 | }; |
1882 | 1892 | ||
1883 | /** | 1893 | /** |