From f54846b7b758bf1dc2462fbbe984e6741cce8758 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Mon, 18 Jul 2016 13:09:09 +0000 Subject: Make iwm(4) retry Tx of management frames less often. We now retry management frames the same number of times as Linux iwlwifi does. --- sys/dev/pci/if_iwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index 0729cbe3f34..21675f6e517 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.92 2016/06/22 11:32:12 stsp Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.93 2016/07/18 13:09:08 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh @@ -4381,6 +4381,7 @@ iwm_tx_fill_cmd(struct iwm_softc *sc, struct iwm_node *in, /* for non-data, use the lowest supported rate */ ridx = (IEEE80211_IS_CHAN_5GHZ(ni->ni_chan)) ? IWM_RIDX_OFDM : IWM_RIDX_CCK; + tx->data_retry_limit = IWM_MGMT_DFAULT_RETRY_LIMIT; } else if (ic->ic_fixed_mcs != -1) { ridx = sc->sc_fixed_ridx; } else if (ic->ic_fixed_rate != -1) { -- cgit v1.2.3