I want to use WiFi Direct on my Verdin iMX8M Plus Quad 4GB Wi-Fi / Bluetooth IT.
Is this possible with the WiFi/Bluetooth module on the SoM?
Also, does the latest BSP have the drivers that support this installed?
Or do I need to configure it myself as in the following topic?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
The Verdin iMX8M Plus module, which includes a WiFi/Bluetooth module, is indeed capable of supporting WiFi Direct, a feature necessary for applications like Miracast. However, the availability of this functionality depends on the drivers and software stack included in the Board Support Package (BSP) you are using.
To enable WiFi Direct on your Verdin iMX8M Plus, please follow these steps:
Update Your BSP: Ensure that your BSP is the latest version, as it should include the necessary drivers for WiFi Direct support.
Configure wpa_supplicant: You will need to modify the wpa_supplicant configuration file. Include parameters such as use_multi_chan_concurrent=1 and use_p2p_group_interface=1 to enable concurrent connections and P2P group interfaces.
Manage P2P Connections: Use wpa_cli to manage your P2P connections. If you encounter errors like “Failed to create interface,” this may indicate missing or misconfigured parameters. Checking the kernel logs can provide additional insights into these issues.
For Miracast, which relies on WiFi Direct, ensure that your device supports the necessary protocols and that your software stack is correctly configured.
I hope this helps you set up WiFi Direct on your Verdin iMX8M Plus. If you have further questions, feel free to ask.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem:
Dear @67592 , everything mentioned in that thread is applicable here. I’ll let you know that the Wireless driver discussion is tricky because there are many different drivers.
What I’m seeing from that thread is that the driver added in our BSP was not compatible with WiFi-Direct back in BSP 6 and that we ended up using the NXP propietary drivers. In our BSP we use the mainline mwifiex drivers. At this point, we don’t know if the added drivers in our BSP 7 are compatible with WiFi Direct.
You will have to access NXP page and download the drivers corresponding to this. It will be called something like SD-WLAN-UART-BT-8997-U16-MMC-XXX. Make sure that you choose SD-WLAN and UART-BT since depending on the interfaces used between the SoC and the WB module, the driver changes.
My recommendation:
Check if in BSP 7, the mwifiex drivers added by default in our BSP the WiFi direct is working, using the information in the Colibri iMX8X thread.