diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-11-25 12:02:30 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-29 23:24:35 +0300 |
commit | f30221e4ec62d905b56d5e8f7ccab6b406a97cf5 (patch) | |
tree | 07d3a4cf6da15a3622dd79c1d72e0e5c9201566a /net/mac80211/ieee80211_i.h | |
parent | f7ca38dfe58c20cb1aa2ed9643187e8b194b5bae (diff) | |
download | linux-f30221e4ec62d905b56d5e8f7ccab6b406a97cf5.tar.xz |
mac80211: implement off-channel mgmt TX
This implements the new off-channel TX API
in mac80211 with a new work item type. The
operation doesn't add a new work item when
we're on the right channel and there's no
wait time so that for example p2p probe
responses will be transmitted without delay.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 5bc0745368fe..66b0b52b828d 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -260,6 +260,7 @@ enum ieee80211_work_type { IEEE80211_WORK_ASSOC_BEACON_WAIT, IEEE80211_WORK_ASSOC, IEEE80211_WORK_REMAIN_ON_CHANNEL, + IEEE80211_WORK_OFFCHANNEL_TX, }; /** @@ -320,6 +321,10 @@ struct ieee80211_work { struct { u32 duration; } remain; + struct { + struct sk_buff *frame; + u32 wait; + } offchan_tx; }; int ie_len; |