From: stsp Date: Thu, 12 May 2022 12:29:28 +0000 (+0000) Subject: Bump IWX_UCODE_SECT_MAX to allow all new AX210/AX211 fw images to be parsed X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=067baecf4c506db94c237c205d5a3bdf8ccac62a;p=openbsd 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. --- 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