refer to the reference manual:
NXP 8987 and NXP 8997 wireless drivers are CFG80211 driver, which supports both the station and AP mode of operation. The driver requires firmware that runs on the chip's network processor. The following directory designates the firmware location in rootfs: /lib/firmware/nxp.
The NXP Onedriver source code files are available at:
"https://source.codeaurora.org/external/imx/mwifiex/"