summaryrefslogtreecommitdiffstats
path: root/freed-ora/current/f12/iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch
diff options
context:
space:
mode:
authorAlexandre Oliva <lxoliva@fsfla.org>2010-08-12 07:12:22 +0000
committerAlexandre Oliva <lxoliva@fsfla.org>2010-08-12 07:12:22 +0000
commitbeb117eb1b4235b2f346309ae3f5976440a80ad3 (patch)
treee7abde2fd97449826cdd4d0988c22fbebacd9c45 /freed-ora/current/f12/iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch
parent87e0ea9a5f514d79d292345ae35cb683f285de6c (diff)
downloadlinux-libre-raptor-beb117eb1b4235b2f346309ae3f5976440a80ad3.tar.gz
linux-libre-raptor-beb117eb1b4235b2f346309ae3f5976440a80ad3.zip
Renamed F-13 to f13 after transition to git.
Diffstat (limited to 'freed-ora/current/f12/iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch')
-rw-r--r--freed-ora/current/f12/iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/freed-ora/current/f12/iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch b/freed-ora/current/f12/iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch
new file mode 100644
index 000000000..f1adf0fd0
--- /dev/null
+++ b/freed-ora/current/f12/iwlwifi_-Adjusting-PLCP-error-threshold-for-1000-NIC.patch
@@ -0,0 +1,38 @@
+Back-port of the following upstream commit...
+
+commit 6c3872e1d52290dcd506473028867cacc6b7393d
+Author: Trieu 'Andrew' Nguyen <trieux.t.nguyen@intel.com>
+Date: Mon Feb 8 13:53:05 2010 -0800
+
+ iwlwifi: Adjusting PLCP error threshold for 1000 NIC
+
+ While testing the station with the NIC 1000 family, it is found that
+ the plcp error can easily exceed 50 value in 100mSecs. This creates
+ unneccessary radio reset/tuning. This patch raises the PLCP error
+ threshold of the NIC 1000 from 50 to 200 error count.
+
+ Signed-off-by: Trieu 'Andrew' Nguyen <trieux.t.nguyen@intel.com>
+ Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
+
+diff -up linux-2.6.32.noarch/drivers/net/wireless/iwlwifi/iwl-1000.c.orig linux-2.6.32.noarch/drivers/net/wireless/iwlwifi/iwl-1000.c
+--- linux-2.6.32.noarch/drivers/net/wireless/iwlwifi/iwl-1000.c.orig 2010-03-22 14:23:01.000000000 -0400
++++ linux-2.6.32.noarch/drivers/net/wireless/iwlwifi/iwl-1000.c 2010-03-22 15:33:38.000000000 -0400
+@@ -162,6 +162,6 @@ struct iwl_cfg iwl1000_bgn_cfg = {
+ .shadow_ram_support = false,
+ .ht_greenfield_support = true,
+ .use_rts_for_ht = true, /* use rts/cts protection */
+- .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF,
++ .plcp_delta_threshold = IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF,
+ };
+
+diff -up linux-2.6.32.noarch/drivers/net/wireless/iwlwifi/iwl-dev.h.orig linux-2.6.32.noarch/drivers/net/wireless/iwlwifi/iwl-dev.h
+--- linux-2.6.32.noarch/drivers/net/wireless/iwlwifi/iwl-dev.h.orig 2010-03-22 15:24:28.000000000 -0400
++++ linux-2.6.32.noarch/drivers/net/wireless/iwlwifi/iwl-dev.h 2010-03-22 15:33:00.000000000 -0400
+@@ -970,6 +970,7 @@ struct traffic_stats {
+ #define IWL_MAX_PLCP_ERR_THRESHOLD_MIN (0)
+ #define IWL_MAX_PLCP_ERR_THRESHOLD_DEF (50)
+ #define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF (100)
++#define IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF (200)
+ #define IWL_MAX_PLCP_ERR_THRESHOLD_MAX (255)
+
+ enum iwl_reset {
OpenPOWER on IntegriCloud