# MXM Wi-Fi Driver =============================================================================== U S E R M A N U A L Copyright 2008-2024 NXP 1) FOR DRIVER BUILD Goto source code directory. make [clean] build The driver and utility binaries can be found in bin_wlan directory. The driver code supports Linux kernel from 2.6.32 to 6.9.10. 2) FOR DRIVER INSTALL a) Copy firmware image to /lib/firmware/nxp/, copy wifi_mod_para.conf to /lib/firmware/nxp/. b) Install WLAN driver There are drv_mode, max_sta_bss, max_uap_bss etc. module parameters. The bit settings of drv_mode are, Bit 0 : STA Bit 1 : uAP Bit 2 : WIFIDIRECT Bit 4 : NAN max_sta_bss: Maximum number of STA BSS (default 1, max 1) sta_name: Name of the STA interface (default: "mlan") max_uap_bss: Maximum number of uAP BSS (default 1, max 2) uap_name: Name of the uAP interface (default: "uap") max_wfd_bss: Maximum number of WIFIDIRECT BSS (default 1, max 1) wfd_name: Name of the WIFIDIRECT interface (default: "wfd") max_vir_bss: Number of Virtual interfaces (default 0) nan_name: Name of the NAN interface (default: "nan") max_nan_bss: Number of NAN interfaces (default 1) uap_oper_ctrl: uAP operation control when in-STA disconnect with ext-AP 0: default do nothing, 2: uAP stops and restarts automatically For example, to install multi-chip driver, insmod mlan.ko insmod moal.ko mod_para=nxp/wifi_mod_para.conf [drvdbg=0x7] wifi_mod_para.conf is used to support multi-chips which has different load module parameters. It contains the module parameters for different chips. c) Uninstall WLAN driver, ifconfig mlanX down ifconfig uapX down rmmod moal rmmod mlan pref_dbc This load time parameter is used to config preferred DBC mode and takes effect when dmcs is enabled This parameter only used for AW693(BB) Usage: pref_dbc=[value] insmod mlan.ko; insmod pcieaw693.ko fw_name=aw693w.bin dmcs=1 pref_dbc=1 : default preferred DBC mode : Enable preferred DBC mode : Disable preferred DBC mode Example : insmod mlan.ko; insmod pcieaw693.ko fw_name=aw693w.bin dmcs=1 pref_dbc=1 : Enable preferred DBC mode insmod mlan.ko; insmod pcieaw693.ko fw_name=aw693w.bin dmcs=1 pref_dbc=2 : Disable preferred DBC mode To load driver with MFG firmware file, use mfg_mode=1 when insmod WLAN driver and specify MFG firmware name if needed. To load driver with rf_test firmware file, use rf_test_mode=1 when insmod WLAN driver. This parameter only used for 9177(FC) There are some other parameters for debugging purpose etc. Use modinfo to check details. drvdbg= dev_cap_mask= This load parameter is uses to configure device features support Usage: dev_cap_mask= : Represents features supported : Indicates support for 11AX : Indicates support for 6G Example: To disable 11AX and 6G support: dev_cap_mask=0xfffcffff mac_addr=xx:xx:xx:xx:xx:xx auto_ds=0|1|2 ext_scan=0|1|2 p2a_scan=0|1|2 scan_chan_gap=x