On Sun, Sep 19, 2021 at 03:10:01PM +0200, BESSOT Jean-Michel wrote:
> Hello
>
> Here is the problem, I loose the wifi connection after some time on my
> computer . Mostly when I use a cvs -q up -Pd or a pkg_add -ui.. I get the
> error message:
>
> iwm0: device timeout
>
> It gets back after some time.
>
> bye
Hi Jean-Michel,
Please try this patch:
diff bc5b770876412094a0961d7fcb9f635427388600 /usr/src
blob - 58d7c6dcc1ffaef2c89f818eb46d08eebfdcbc89
file + sys/dev/pci/if_iwm.c
--- sys/dev/pci/if_iwm.c
+++ sys/dev/pci/if_iwm.c
@@ -5720,6 +5720,8 @@ iwm_rx_compressed_ba(struct iwm_softc *sc, struct iwm_
if (qid != IWM_FIRST_AGG_TX_QUEUE + ban->tid)
return;
+ sc->sc_tx_timer = 0;
+
ba = &ni->ni_tx_ba[ban->tid];
if (ba->ba_state != IEEE80211_BA_AGREED)
return;