From: stsp Date: Mon, 18 Jul 2016 13:09:08 +0000 (+0000) Subject: Make iwm(4) retry Tx of management frames less often. We now retry management X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=17b8ebe18704ec1c23aec968f018050c56a9e743;p=openbsd Make iwm(4) retry Tx of management frames less often. We now retry management frames the same number of times as Linux iwlwifi does. --- 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) {