From 067baecf4c506db94c237c205d5a3bdf8ccac62a Mon Sep 17 00:00:00 2001 From: stsp Date: Thu, 12 May 2022 12:29:28 +0000 Subject: [PATCH] Bump IWX_UCODE_SECT_MAX to allow all new AX210/AX211 fw images to be parsed successfully. Else we get "iwx0: firmware parse error 22, section type 19" while trying to load iwx-so-a0-gf-a0-67 and iwx-so-a0-gf4-a0-67. --- sys/dev/pci/if_iwxvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/if_iwxvar.h b/sys/dev/pci/if_iwxvar.h index c60140a9586..12fe78dc55d 100644 --- a/sys/dev/pci/if_iwxvar.h +++ b/sys/dev/pci/if_iwxvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwxvar.h,v 1.34 2022/05/10 09:11:44 stsp Exp $ */ +/* $OpenBSD: if_iwxvar.h,v 1.35 2022/05/12 12:29:28 stsp Exp $ */ /* * Copyright (c) 2014 genua mbh @@ -123,7 +123,7 @@ struct iwx_tx_radiotap_header { (1 << IEEE80211_RADIOTAP_RATE) | \ (1 << IEEE80211_RADIOTAP_CHANNEL)) -#define IWX_UCODE_SECT_MAX 52 +#define IWX_UCODE_SECT_MAX 54 /* * fw_status is used to determine if we've already parsed the firmware file -- 2.20.1