summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-10-28 10:11:23 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-10-28 10:11:23 +0000
commiteac9e18afb3d89c527be2344c83e08d603b38449 (patch)
tree9732e1dd2d883d8fbb4b14ab55189d88f15e8c73 /sys/dev
parentb3e9e941f64e01f7f42c5a7b467d79785bbb1f8b (diff)
In iwn(4), stop forcing RTS for every frame in 11n mode.
The RTS threshold should be good enough and applies to all modes. A similar change was made in iwm(4) not long ago. tested by myself and benno@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_iwn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c
index c8bc9ea68ed..4c23ff89e63 100644
--- a/sys/dev/pci/if_iwn.c
+++ b/sys/dev/pci/if_iwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwn.c,v 1.174 2016/10/08 14:44:36 stsp Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.175 2016/10/28 10:11:22 stsp Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -2959,8 +2959,6 @@ iwn_tx(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
else if (ic->ic_protmode == IEEE80211_PROT_RTSCTS)
flags |= IWN_TX_NEED_RTS;
}
- else if (ni->ni_flags & IEEE80211_NODE_HT)
- flags |= IWN_TX_NEED_RTS;
if (flags & (IWN_TX_NEED_RTS | IWN_TX_NEED_CTS)) {
if (sc->hw_type != IWN_HW_REV_TYPE_4965) {