summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorHaim Dreyfuss2014-04-06 10:19:09 +0200
committerEmmanuel Grumbach2014-04-13 21:23:17 +0200
commite820c2da7ee3d9745bcac54d8d8e92b4a2b0eeb8 (patch)
tree85c145f4b106ef39046b144e0b08ca0ddf9974b9 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parentiwlwifi: mvm: BT Coex - send priority tables from iwl_send_bt_init_conf (diff)
downloadkernel-qcow2-linux-e820c2da7ee3d9745bcac54d8d8e92b4a2b0eeb8.tar.gz
kernel-qcow2-linux-e820c2da7ee3d9745bcac54d8d8e92b4a2b0eeb8.tar.xz
kernel-qcow2-linux-e820c2da7ee3d9745bcac54d8d8e92b4a2b0eeb8.zip
iwlwifi: mvm: Add support for Energy based scan (EBS)
This patch enables Energy Based Scan (EBS) - intended to detect energy on 5 GHz band channels. Passive scan on this band takes up to 2.64 sec assuming 110mSec per-channel * 24 channels. EBS is designed to detect energy on channels with intensive Wifi activity as well as those where only beacons are transmitted. EBS completes sampling all channels within shortest beacon frame transmission time. Total EBS duration is about 100 msec (typical beacon interval). Detecting Wifi activity on 5 GHz band channels can significantly reduce scan duration thus saving time and power. EBS failure reported by FW disables EBS for current connection. It is re-enabled upon new connection attempt on any WLAN interface. Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com> Signed-off-by: Alexander Bondar <alexander.bondar@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index ed2220136c0e..41184a4ec9a4 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -535,6 +535,8 @@ struct iwl_mvm {
/* Internal station */
struct iwl_mvm_int_sta aux_sta;
+ bool last_ebs_successful;
+
u8 scan_last_antenna_idx; /* to toggle TX between antennas */
u8 mgmt_last_antenna_idx;