summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-01-22 14:22:42 -0800
committerJohn W. Linville <linville@tuxdriver.com>2010-01-25 16:36:19 -0500
commita13d276f1e49ae0bc4ad18ce8ea3c90656c9e8d4 (patch)
tree791d149b22623844e1f8e21fe198d7bf573fdd33 /drivers/net/wireless/iwlwifi/iwl-dev.h
parent3b43a18743421cccd33902e29016fa49b2d52dbb (diff)
downloadop-kernel-dev-a13d276f1e49ae0bc4ad18ce8ea3c90656c9e8d4.zip
op-kernel-dev-a13d276f1e49ae0bc4ad18ce8ea3c90656c9e8d4.tar.gz
iwlwifi: configure missed beacon threshold
Add support to configure missed beacon threshold, by default, if receive "missed beacon" notification from uCode and has more than 5 consecutive beacon missed, then perform sensitivity calibration; with this change, allow user to adjust the missed beacon threshold from debugfs in case more sensitivity calibration required for better performance in noisy environment The default value (=5) should be good enough for the normal condition, but for very noisy environment, more sensitivity calibration could help improve the throughput, so by setting the missed beacon threshold to lower number, user might experience better performance result. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index c6310b0..5e06e66 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -1053,6 +1053,7 @@ struct iwl_priv {
#endif
/* ucode beacon time */
u32 ucode_beacon_time;
+ int missed_beacon_threshold;
/* we allocate array of iwl4965_channel_info for NIC's valid channels.
* Access via channel # using indirect index array */
OpenPOWER on IntegriCloud