summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
authorWey-Yi Guy2010-01-22 23:22:42 +0100
committerJohn W. Linville2010-01-25 22:36:19 +0100
commita13d276f1e49ae0bc4ad18ce8ea3c90656c9e8d4 (patch)
tree791d149b22623844e1f8e21fe198d7bf573fdd33 /drivers/net/wireless/iwlwifi/iwl-agn.c
parentmac80211: fix tx select key null pointer crash with hostapd (diff)
downloadkernel-qcow2-linux-a13d276f1e49ae0bc4ad18ce8ea3c90656c9e8d4.tar.gz
kernel-qcow2-linux-a13d276f1e49ae0bc4ad18ce8ea3c90656c9e8d4.tar.xz
kernel-qcow2-linux-a13d276f1e49ae0bc4ad18ce8ea3c90656c9e8d4.zip
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-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 62b6939df52e..e9f786443d1f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3372,6 +3372,7 @@ static int iwl_init_drv(struct iwl_priv *priv)
priv->iw_mode = NL80211_IFTYPE_STATION;
priv->current_ht_config.smps = IEEE80211_SMPS_STATIC;
+ priv->missed_beacon_threshold = IWL_MISSED_BEACON_THRESHOLD_DEF;
/* Choose which receivers/antennas to use */
if (priv->cfg->ops->hcmd->set_rxon_chain)