From 1d244c8133cf15d00d46836bc48958188cf9f510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imre=20Vad=C3=A1sz?= Date: Wed, 21 Sep 2016 00:35:40 +0200 Subject: [PATCH] if_iwm - Recognize the IWM_UCODE_TLV_FW_MEM_SEG firmware section type. * Will be needed for loading version 22 of 7265D firmware. --- sys/dev/netif/iwm/if_iwm.c | 3 +++ sys/dev/netif/iwm/if_iwmreg.h | 1 + 2 files changed, 4 insertions(+) diff --git a/sys/dev/netif/iwm/if_iwm.c b/sys/dev/netif/iwm/if_iwm.c index 165d223e7472..d7ccc2463e25 100644 --- a/sys/dev/netif/iwm/if_iwm.c +++ b/sys/dev/netif/iwm/if_iwm.c @@ -924,6 +924,9 @@ iwm_read_firmware(struct iwm_softc *sc, enum iwm_ucode_type ucode_type) le32toh(((const uint32_t *)tlv_data)[2])); break; + case IWM_UCODE_TLV_FW_MEM_SEG: + break; + default: device_printf(sc->sc_dev, "%s: unknown firmware section %d, abort\n", diff --git a/sys/dev/netif/iwm/if_iwmreg.h b/sys/dev/netif/iwm/if_iwmreg.h index ce7cdb2a1c6c..2aa1b096602e 100644 --- a/sys/dev/netif/iwm/if_iwmreg.h +++ b/sys/dev/netif/iwm/if_iwmreg.h @@ -986,6 +986,7 @@ enum iwm_ucode_tlv_type { IWM_UCODE_TLV_FW_DBG_CONF = 39, IWM_UCODE_TLV_FW_DBG_TRIGGER = 40, IWM_UCODE_TLV_FW_GSCAN_CAPA = 50, + IWM_UCODE_TLV_FW_MEM_SEG = 51, }; struct iwm_ucode_tlv {