aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-12-18 11:20:47 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-01-05 16:07:12 -0500
commit21f83589644bb2ed98079bf1e2154c8e70ca6a6c (patch)
treeede391a8c788a43f7c4ea3baa3367e020d45f179 /net/mac80211/ieee80211_i.h
parentc96e96354a6c9456cdf1f150eca504e2ea35301e (diff)
mac80211: implement hardware offload for remain-on-channel
This allows drivers to support remain-on-channel offload if they implement smarter timing or need to use a device implementation like iwlwifi. 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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 95cdd2a3f809..f866af8de5ac 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -951,6 +951,13 @@ struct ieee80211_local {
951 } debugfs; 951 } debugfs;
952#endif 952#endif
953 953
954 struct ieee80211_channel *hw_roc_channel;
955 struct net_device *hw_roc_dev;
956 struct work_struct hw_roc_start, hw_roc_done;
957 enum nl80211_channel_type hw_roc_channel_type;
958 unsigned int hw_roc_duration;
959 u32 hw_roc_cookie;
960
954 /* dummy netdev for use w/ NAPI */ 961 /* dummy netdev for use w/ NAPI */
955 struct net_device napi_dev; 962 struct net_device napi_dev;
956 963
@@ -1142,6 +1149,7 @@ void ieee80211_offchannel_stop_beaconing(struct ieee80211_local *local);
1142void ieee80211_offchannel_stop_station(struct ieee80211_local *local); 1149void ieee80211_offchannel_stop_station(struct ieee80211_local *local);
1143void ieee80211_offchannel_return(struct ieee80211_local *local, 1150void ieee80211_offchannel_return(struct ieee80211_local *local,
1144 bool enable_beaconing); 1151 bool enable_beaconing);
1152void ieee80211_hw_roc_setup(struct ieee80211_local *local);
1145 1153
1146/* interface handling */ 1154/* interface handling */
1147int ieee80211_iface_init(void); 1155int ieee80211_iface_init(void);