mwlwifi icon indicating copy to clipboard operation
mwlwifi copied to clipboard

Can't load driver (88w8997)

Open lgierth-geomobile opened this issue 5 years ago • 1 comments

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?

lgierth-geomobile avatar Aug 13 '19 08:08 lgierth-geomobile

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.

derosier avatar Aug 13 '19 15:08 derosier