From 521eb4f37a87f4d1ba6b3aa685721d015525efb4 Mon Sep 17 00:00:00 2001 From: stsp Date: Fri, 6 Oct 2023 15:15:29 +0000 Subject: [PATCH] Ignore thermal dual-chain requests from iwx(4) firmware. Linux only acts on these requests in 11ax mode on 160MHz channels so we can simply ignore this request for now. Prevents a warning from being printed when we receive such a request: iwx0: unhandled firmware response 0x5f6/0x20000008 rx ring 64[3] Observed on AX210 hardware by bluhm@ --- sys/dev/pci/if_iwx.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/if_iwx.c b/sys/dev/pci/if_iwx.c index 01bf04f48a0..612b68e3c69 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.176 2023/08/26 09:05:34 stsp Exp $ */ +/* $OpenBSD: if_iwx.c,v 1.177 2023/10/06 15:15:29 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh @@ -10127,6 +10127,16 @@ iwx_rx_pkt(struct iwx_softc *sc, struct iwx_rx_data *data, struct mbuf_list *ml) case IWX_WIDE_ID(IWX_DATA_PATH_GROUP, IWX_RLC_CONFIG_CMD): break; + /* + * Ignore for now. The Linux driver only acts on this request + * with 160Mhz channels in 11ax mode. + */ + case IWX_WIDE_ID(IWX_DATA_PATH_GROUP, + IWX_THERMAL_DUAL_CHAIN_REQUEST): + DPRINTF(("%s: thermal dual-chain request received\n", + DEVNAME(sc))); + break; + /* undocumented notification from iwx-ty-a0-gf-a0-77 image */ case IWX_WIDE_ID(IWX_DATA_PATH_GROUP, 0xf8): break; -- 2.20.1