-/* $OpenBSD: if_iwm.c,v 1.166 2017/03/08 12:02:41 mpi Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.167 2017/04/04 00:40:52 claudio Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
le32toh(((uint32_t *)tlv_data)[2]));
break;
+ case IWM_UCODE_TLV_FW_MEM_SEG:
+ break;
+
default:
err = EINVAL;
goto parse_out;
break;
}
+ /*
+ * Firmware versions 21 and 22 generate some DEBUG_LOG_MSG
+ * messages. Just ignore them for now.
+ */
+ case IWM_DEBUG_LOG_MSG:
+ break;
+
case IWM_MCAST_FILTER_CMD:
break;
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_3160_2 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_3165_1 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_3165_2 },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_3168_1 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_7260_1 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_7260_2 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_7265_1 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_7265_2 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_8260_1 },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_8260_2 },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_WL_8265_1 },
};
int
sc->sc_device_family = IWM_DEVICE_FAMILY_7000;
sc->sc_fwdmasegsz = IWM_FWDMASEGSZ;
break;
+ case PCI_PRODUCT_INTEL_WL_3168_1:
+ sc->sc_fwname = "iwm-3168-22";
+ sc->host_interrupt_operation_mode = 0;
+ sc->sc_device_family = IWM_DEVICE_FAMILY_7000;
+ sc->sc_fwdmasegsz = IWM_FWDMASEGSZ;
+ break;
case PCI_PRODUCT_INTEL_WL_7260_1:
case PCI_PRODUCT_INTEL_WL_7260_2:
sc->sc_fwname = "iwm-7260-16";
sc->sc_device_family = IWM_DEVICE_FAMILY_8000;
sc->sc_fwdmasegsz = IWM_FWDMASEGSZ_8000;
break;
+ case PCI_PRODUCT_INTEL_WL_8265_1:
+ sc->sc_fwname = "iwm-8265-22";
+ sc->host_interrupt_operation_mode = 0;
+ sc->sc_device_family = IWM_DEVICE_FAMILY_8000;
+ sc->sc_fwdmasegsz = IWM_FWDMASEGSZ_8000;
+ break;
default:
printf("%s: unknown adapter type\n", DEVNAME(sc));
return;
-/* $OpenBSD: if_iwmreg.h,v 1.24 2017/01/31 10:17:50 stsp Exp $ */
+/* $OpenBSD: if_iwmreg.h,v 1.25 2017/04/04 00:40:52 claudio Exp $ */
/******************************************************************************
*
#define IWM_UCODE_TLV_FW_DBG_CONF 39
#define IWM_UCODE_TLV_FW_DBG_TRIGGER 40
#define IWM_UCODE_TLV_FW_GSCAN_CAPA 50
+#define IWM_UCODE_TLV_FW_MEM_SEG 51
struct iwm_ucode_tlv {
uint32_t type; /* see above */