On Mon, May 04, 2015 at 08:56:08AM +0100, Dennis Davis wrote: > > iwm0: hw rev: 0x140, fw ver 25.228 (API ver 9), address f8:16:54:dd:a7:0c > > iwm0: fatal firmware error > > iwm0: could not initiate scan > > Don't have an iwm interface. But is the firmware installed?
Yes, the firmware is installed at version 25.228 as shown by the text you quoted ;-) > Is the following thread of any use: > > http://openbsd-archive.7691.n7.nabble.com/iwm0-fatal-firmware-error-on-current-td267434.html That might be it. Maximilian, can you please try this patch which was committed by jsg@ in r1.39 of if_iwm.c? This fix went in after 5.7. Index: if_iwm.c =================================================================== RCS file: /cvs/src/sys/dev/pci/if_iwm.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -p -u -r1.38 -r1.39 --- if_iwm.c 16 Mar 2015 04:09:53 -0000 1.38 +++ if_iwm.c 23 Mar 2015 00:35:19 -0000 1.39 @@ -5471,7 +5471,8 @@ iwm_endscan_cb(void *arg) DPRINTF(("scan ended\n")); - if (sc->sc_scanband == IEEE80211_CHAN_2GHZ) { + if (sc->sc_scanband == IEEE80211_CHAN_2GHZ && + sc->sc_nvm.sku_cap_band_52GHz_enable) { int error; done = 0; if ((error = iwm_mvm_scan_request(sc, @@ -6409,6 +6410,11 @@ iwm_preinit(struct iwm_softc *sc) IWM_UCODE_MINOR(sc->sc_fwver), IWM_UCODE_API(sc->sc_fwver), ether_sprintf(sc->sc_nvm.hw_addr)); + + /* not all hardware can do 5GHz band */ + if (!sc->sc_nvm.sku_cap_band_52GHz_enable) + memset(&ic->ic_sup_rates[IEEE80211_MODE_11A], 0, + sizeof(ic->ic_sup_rates[IEEE80211_MODE_11A])); /* Reattach net80211 so MAC address and channel map are picked up. */ ieee80211_ifdetach(ifp);

