EVK-MAYA-W1 - User guide
UBX-21039658 - R01
Kit description
Page 6 of 22
1.3
Software
MAYA-W1 series modules are based on the NXP IW416 chipset. The drivers and firmware required to
operate MAYA-W1 series modules are developed by NXP and are already integrated into the Linux
BSP for the NXP i.MX application processors [3] and the MCUXpresso SDK for NXP MCU devices [5].
The documentation for NXP software releases contains Wi-Fi and Bluetooth release notes and a list
of supported software features. The driver source code is provided free of charge as open source
under NXP licensing terms. As open source software, the drivers can be integrated or ported to other
non-NXP based host platforms. Yocto recipes for the
, that can be used to develop
custom Linux-based systems, are part of the NXP i.MX Linux BSP.
1.3.1
Driver source code
The latest version of the driver source code and Wi-Fi/Bluetooth firmware are available from the
following open-source repositories:
•
Wi-Fi driver:
https://source.codeaurora.org/external/imx/mwifiex/
•
https://github.com/NXP/imx-firmware/
☞
Use the repository branches matching the latest Linux BSP release version. At the time of
document publication, this is release 5.10.52_2.1.0.
The Wi-Fi driver uses the TCP/IP stack from the Linux kernel for data transmission and the
cfg80211
subsystem in the kernel for configuration and control. The
hci_uart
driver from the Linux kernel and
BlueZ host stack are used for the Bluetooth part. For further information about initialization and
configuration of the Wi-Fi and Bluetooth features, see also the NXP User Manual UM11490 [4]
your local u-blox support team for information about additional software options for the
MAYA-W1 series modules.
1.3.2
Calibration data
To ensure that EVK-MAYA-W1 prototypes operate correctly, calibration data must be loaded from
separate configuration files. Calibration data files are available from u-blox for the
MAYA-W160/W161 and the MAYA-W166 modules. Calibration data is downloaded to the module at
driver load time and the calibration file is provided through the
cal_data_cfg
driver parameter.
Save the calibration file under the
/lib/firmware/nxp/
directory on the target system. The
cal_data_cfg
parameter can be set in the module parameters configuration file
/lib/firmware/nxp/wifi_mod_para.conf
, as shown in this example:
SD8978 = {
cfg80211_wext=0xf
wfd_name=p2p
max_vir_bss=1
cal_data_cfg=nxp/WlanCalData_ext_w161.conf
drv_mode=7
ps_mode=2
auto_ds=2
fw_name=nxp/sdiouartiw416_combo_v0.bin
}