aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-01-06 08:07:10 -0800
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-01-21 15:50:58 -0800
commit9b9190d9688ccf531a3a5dac84d7b9654a08bfc5 (patch)
tree7ae230ad4b4665dc2e84807e52735557f8e5637a /drivers/net/wireless/iwlwifi/iwl-dev.h
parentiwlagn: Enable idle powersave mode in 1000 series (diff)
downloadlinux-dev-9b9190d9688ccf531a3a5dac84d7b9654a08bfc5.tar.xz
linux-dev-9b9190d9688ccf531a3a5dac84d7b9654a08bfc5.zip
iwlwifi: implement remain-on-channel
For device supporting PAN/P2P, use the PAN context to implement the remain-on-channel operation using device offloads so that the filters in the device will be programmed correctly -- otherwise we cannot receive any probe request frames during off-channel periods. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 6dd6508c93b0..6fa1383d72ec 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1488,6 +1488,12 @@ struct iwl_priv {
struct list_head notif_waits;
spinlock_t notif_wait_lock;
wait_queue_head_t notif_waitq;
+
+ /* remain-on-channel offload support */
+ struct ieee80211_channel *hw_roc_channel;
+ struct delayed_work hw_roc_work;
+ enum nl80211_channel_type hw_roc_chantype;
+ int hw_roc_duration;
} _agn;
#endif
};