diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-02-27 06:00:30 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2019-02-27 06:00:30 +0000 |
commit | 7970895f9d71d51ee676e3a4e778e9563267e63c (patch) | |
tree | 261d1cc1e01f3fad4f3d58e14e3952f21c1c4f7a /sys/net80211/ieee80211_proto.c | |
parent | e789024d6b1b61e779e787d277046d9b07cce273 (diff) |
Back in 2016 we enabled RTS threshold by default because it apparently
helped us on a loaded hackathon wifi network. In 11n mode we are now
using a heuristic for this. Disable RTS threshold for all other modes
again because it can do more harm than good in many situations.
This change may increase Tx throughput in 11a/g modes, though results depend
on the driver. Some drivers, e.g. urtwn(4), keep using RTS regardless for
unknown reasons and may need to be fixed separately. And we will keep using
RTS if the AP enables 11g protection while 11b clients are around.
Diffstat (limited to 'sys/net80211/ieee80211_proto.c')
-rw-r--r-- | sys/net80211/ieee80211_proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c index dc64f3a5666..42c0ebb9d3c 100644 --- a/sys/net80211/ieee80211_proto.c +++ b/sys/net80211/ieee80211_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_proto.c,v 1.92 2019/01/23 10:08:49 stsp Exp $ */ +/* $OpenBSD: ieee80211_proto.c,v 1.93 2019/02/27 06:00:29 stsp Exp $ */ /* $NetBSD: ieee80211_proto.c,v 1.8 2004/04/30 23:58:20 dyoung Exp $ */ /*- @@ -90,7 +90,7 @@ ieee80211_proto_attach(struct ifnet *ifp) ifp->if_hdrlen = sizeof(struct ieee80211_frame); - ic->ic_rtsthreshold = IEEE80211_RTS_DEFAULT; + ic->ic_rtsthreshold = IEEE80211_RTS_MAX; ic->ic_fragthreshold = 2346; /* XXX not used yet */ ic->ic_fixed_rate = -1; /* no fixed rate */ ic->ic_fixed_mcs = -1; /* no fixed mcs */ |