kaloz / mwlwifi

mac80211 driver for the Marvell 88W8864 802.11ac chip
396 stars 119 forks source link

Can't load driver (88w8997) #368

Open lgierth-geomobile opened 5 years ago

lgierth-geomobile commented 5 years ago

Hello,

we successfully build the driver for our own arm system based on yocto poky (sumo). We use kernel version 4.4 and a PCIe module 88w8997 from hd-wireless.

It seems to hang here and can't load the firmware:

/ make sure SCRATCH2 C40 is clear, in case we are too quick / while (readl(pcie_priv->iobase1 + 0xc40) == 0) cond_resched();

Has anyone experienced something like this?

derosier commented 5 years ago

Has anyone experienced something like this?

Speaking for myself, no.

Since this driver is mainly intended for the AP mode chips 8864 and 8964, I wouldn't recommend and suggest using it for a client mode chip like the 8997. As you can see from your result, that chip/firmware combo you're using doesn't have the same behavior with the SCRATCH2 register (assuming that register exists at that spot in that device).

The 8997 is supported by the mainline mwifiex driver. Set MWIFIEX_PCIE in your kernel.

Other than that, I'd suggest going back to your module vendor and getting support.