summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2016-10-28 10:11:22 +0000
committerstsp <stsp@openbsd.org>2016-10-28 10:11:22 +0000
commitcfaa588d77d41db4aa1a750e8f38842b32e4289f (patch)
tree76313ae529ec59b197b4e20677bb182c8d5c3d72
parentSync snmpd(8) with other daemons proc.c and teach him how to fork+exec. (diff)
downloadwireguard-openbsd-cfaa588d77d41db4aa1a750e8f38842b32e4289f.tar.xz
wireguard-openbsd-cfaa588d77d41db4aa1a750e8f38842b32e4289f.zip
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 '')
-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) {