summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-11-19 18:53:03 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-11-19 18:53:03 +0000
commit62820463f9200033f1f2d01773e4486933fab42d (patch)
tree8920e9d51a8b93ce4ae661bd816d7071e9a034ba
parenta20f47c25f5ea59d0705ea512e8dc8ea59d7c2b4 (diff)
Set iwm's RTS retry limit to a more reasonable value. Prevents small frames
from getting stuck in the firmware's Tx queue for a long time behind other frames large enough to trigger RTS but not making it out (e.g. due to bad channel conditions). ok tb@
-rw-r--r--sys/dev/pci/if_iwmreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwmreg.h b/sys/dev/pci/if_iwmreg.h
index 25ea1e8d1c2..3ce07c031b2 100644
--- a/sys/dev/pci/if_iwmreg.h
+++ b/sys/dev/pci/if_iwmreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwmreg.h,v 1.19 2016/09/20 11:46:09 stsp Exp $ */
+/* $OpenBSD: if_iwmreg.h,v 1.20 2016/11/19 18:53:02 stsp Exp $ */
/******************************************************************************
*
@@ -4268,7 +4268,7 @@ struct iwm_lq_cmd {
*/
#define IWM_DEFAULT_TX_RETRY 15
#define IWM_MGMT_DFAULT_RETRY_LIMIT 3
-#define IWM_RTS_DFAULT_RETRY_LIMIT 60
+#define IWM_RTS_DFAULT_RETRY_LIMIT 3
#define IWM_BAR_DFAULT_RETRY_LIMIT 60
#define IWM_LOW_RETRY_LIMIT 7