NXP Semiconductors
UM11490
Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK
Contents
About this document ..........................................3
Purpose and scope ........................................... 3
References .........................................................3
Wi-Fi features and configurations ..................... 4
Scan the visible Access Points ..........................4
Using iw command ............................................ 4
Using wpa_supplicant and wpa_cli
commands ......................................................... 6
Configure and start the Access Point ................ 7
Get the hostpad version .................................... 7
Configure the 2.4 GHz Access Point ................. 7
Configure the 5 GHz Access Point ....................8
Set up udhcp server ..........................................8
Start the Access Point .......................................9
Connect with the Access Point ........................10
Create the configuration file .............................10
Get wpa_supplicant version .............................11
Use wpa_supplicant to connect with the AP .... 11
Wi-Fi security ...................................................12
Configure WPA for the AP using the open
source supplicant .............................................12
Configure WPA2 for the AP using open
source supplicant .............................................14
WPA3 security ................................................. 16
Configure WPA to connect with AP using
the open source supplicant ............................. 19
Configure WPA2 to connect with the AP
using an open source supplicant ..................... 20
Configure IEEE 802.11a/b/g/n/ac standards .... 21
Configure IEEE 802.11b standard ................... 21
Configure IEEE 802.11a standard ................... 21
Configure IEEE 802.11g standard ................... 21
Configure IEEE 802.11n standard ................... 22
Configure IEEE 802.11ac standard ..................22
Configure and test Wi-Fi direct ........................23
Measure the throughput with iPerf ...................26
RF test mode ...................................................29
Set Tx/Rx antenna configuration ..................... 29
Set the RF frequency band ............................. 30
Set the RF bandwidth ......................................31
Set the RF channel ......................................... 31
Set Tx power ................................................... 32
Set Tx continuous mode ..................................33
Set Tx frame ....................................................35
ED-MAC and Tx power enable ........................38
ED-MAC enable ...............................................38
Transmit power enable .................................... 40
Set the Wi-Fi device in suspend state ............. 42
Enable dmesg logs for device in supended
state ................................................................. 43
High throughput, DDR frequency, and
AXIHP bus frequency ...................................... 43
Wi-Fi driver debugging .....................................44
Enable the driver debug logs ...........................44
Use the module parameter ..............................44
Use /proc at runtime ........................................ 44
Driver debug log types .................................... 45
Firmware dump ................................................46
Bluetooth classic/Bluetooth LE features
and configurations ............................................47
Scan, pair and connect to Bluetooth classic/
Bluetooth LE .................................................... 47
Advanced audio distribution profile ..................50
Configure A2DP sink ....................................... 50
Configure A2DP source ...................................53
Hands-free profile (HFP) ................................. 55
Ofono package ................................................ 55
Hands-free profile configuration .......................55
Object Push Profile ..........................................65
Human Interface Device Profile .......................67
Bluetooth LE device as GATT server ...............68
Bluetooth LE device as GATT client ................ 72
Human Interface Device Service ..................... 73
RF test mode ...................................................74
Bluetooth Classic .............................................74
Enable test mode for qualification ................... 74
Set the receive test parameters .......................74
Set the transmit test parameters ..................... 76
Bluetooth Low Energy (LE) ..............................78
Bluetooth LE receiver test ............................... 78
Bluetooth LE transmitter test ........................... 78
End Bluetooth LE test ..................................... 79
Bluetooth debugging ........................................ 80
Bluetooth protocol debugging ..........................80
Capture the HCI logs using hcidump ...............80
Capture the HCI Logs using btmon ................. 81
Extract the Link Key for remote Bluetooth
Classic/Bluetooth LE devices .......................... 82
Bluetooth driver debugging ..............................83
Contact information ..........................................84
Acronyms and abbreviations ...........................85
Legal information ..............................................86
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section 'Legal information'.
© NXP B.V. 2021.
All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: [email protected]
Date of release: 29 January 2021
Document identifier: UM11490