From: stsp Date: Thu, 2 Sep 2021 13:44:10 +0000 (+0000) Subject: Fix our iwx(4) xtal latency values to match the values used by Linux iwlwifi. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=57b1cc0e983b8ace4ebf015addac168d7c9edd53;p=openbsd Fix our iwx(4) xtal latency values to match the values used by Linux iwlwifi. with a fix from + ok kevlo@ --- diff --git a/sys/dev/pci/if_iwx.c b/sys/dev/pci/if_iwx.c index b609c553875..f43fe1db2ef 100644 --- a/sys/dev/pci/if_iwx.c +++ b/sys/dev/pci/if_iwx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwx.c,v 1.100 2021/09/02 13:39:34 kevlo Exp $ */ +/* $OpenBSD: if_iwx.c,v 1.101 2021/09/02 13:44:10 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh @@ -9363,7 +9363,7 @@ iwx_attach(struct device *parent, struct device *self, void *aux) sc->sc_integrated = 1; sc->sc_ltr_delay = IWX_SOC_FLAGS_LTR_APPLY_DELAY_200; sc->sc_low_latency_xtal = 0; - sc->sc_xtal_latency = 5000; + sc->sc_xtal_latency = 500; sc->sc_tx_with_siso_diversity = 0; sc->sc_uhb_supported = 0; break; @@ -9371,9 +9371,9 @@ iwx_attach(struct device *parent, struct device *self, void *aux) sc->sc_fwname = "iwx-Qu-c0-hr-b0-63"; sc->sc_device_family = IWX_DEVICE_FAMILY_22000; sc->sc_integrated = 1; - sc->sc_ltr_delay = IWX_SOC_FLAGS_LTR_APPLY_DELAY_200; + sc->sc_ltr_delay = IWX_SOC_FLAGS_LTR_APPLY_DELAY_1820; sc->sc_low_latency_xtal = 0; - sc->sc_xtal_latency = 5000; + sc->sc_xtal_latency = 1820; sc->sc_tx_with_siso_diversity = 0; sc->sc_uhb_supported = 0; break;