diff options
author | Trieu 'Andrew' Nguyen <trieux.t.nguyen@intel.com> | 2010-01-22 17:22:46 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-25 16:36:21 -0500 |
commit | 3e4fb5faefb57824f2e42305b3d5907845af978c (patch) | |
tree | a9cb64dff2fea16e290ab29eb4260c973d52e88f /drivers/net/wireless/iwlwifi/iwl-1000.c | |
parent | d4d59e88cb746165c6fe33eacb6f582d525c6ef1 (diff) |
iwlwifi: Tune radio to prevent unexpected behavior
We have seen the throughput dropped due to external noisy environment
and the radio is out of tune. There are lot of plcp errors indicating
this condition. Eventually the station can get de-authenticated by the
Access Point. By resetting and tuning the radio, the plcp errors are
reduced or eliminated and the throughput starts to rise.
To prevent unexpected behavior such as drop in throughput or deauthentication,
- The change provides the driver feature to monitor and tune the radio base on
the statistics notification from the uCode.
- It also allows the setting of the plcp error rate threshold via
the plcp_delta under debugfs interface.
Signed-off-by: Trieu 'Andrew' Nguyen <trieux.t.nguyen@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-1000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-1000.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c index d5c6edbbc95a..85162e2c35d9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-1000.c +++ b/drivers/net/wireless/iwlwifi/iwl-1000.c | |||
@@ -175,6 +175,7 @@ struct iwl_cfg iwl1000_bgn_cfg = { | |||
175 | .use_rts_for_ht = true, /* use rts/cts protection */ | 175 | .use_rts_for_ht = true, /* use rts/cts protection */ |
176 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 176 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
177 | .support_ct_kill_exit = true, | 177 | .support_ct_kill_exit = true, |
178 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | ||
178 | }; | 179 | }; |
179 | 180 | ||
180 | struct iwl_cfg iwl1000_bg_cfg = { | 181 | struct iwl_cfg iwl1000_bg_cfg = { |
@@ -201,6 +202,7 @@ struct iwl_cfg iwl1000_bg_cfg = { | |||
201 | .led_compensation = 51, | 202 | .led_compensation = 51, |
202 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 203 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
203 | .support_ct_kill_exit = true, | 204 | .support_ct_kill_exit = true, |
205 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | ||
204 | }; | 206 | }; |
205 | 207 | ||
206 | MODULE_FIRMWARE(IWL1000_MODULE_FIRMWARE(IWL1000_UCODE_API_MAX)); | 208 | MODULE_FIRMWARE(IWL1000_MODULE_FIRMWARE(IWL1000_UCODE_API_MAX)); |