diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-01-22 17:22:42 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-25 16:36:19 -0500 |
commit | a13d276f1e49ae0bc4ad18ce8ea3c90656c9e8d4 (patch) | |
tree | 791d149b22623844e1f8e21fe198d7bf573fdd33 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | 3b43a18743421cccd33902e29016fa49b2d52dbb (diff) |
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/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index c46f988d0a5b..9c0b6ebbdc59 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -3881,6 +3881,7 @@ static int iwl3945_init_drv(struct iwl_priv *priv) | |||
3881 | priv->band = IEEE80211_BAND_2GHZ; | 3881 | priv->band = IEEE80211_BAND_2GHZ; |
3882 | 3882 | ||
3883 | priv->iw_mode = NL80211_IFTYPE_STATION; | 3883 | priv->iw_mode = NL80211_IFTYPE_STATION; |
3884 | priv->missed_beacon_threshold = IWL_MISSED_BEACON_THRESHOLD_DEF; | ||
3884 | 3885 | ||
3885 | iwl_reset_qos(priv); | 3886 | iwl_reset_qos(priv); |
3886 | 3887 | ||