Hi,
I recently worked on IMX8MP Phytec PhyBoard Pollux to bring up Wi-Fi using Realtek Chipset on LINUX Platform, i made the board to act as a Host (Access point) and Station (client) using Hostapd. conf and wpa_supplicant.conf files respectively and can share the internet from IMX8MP Board to external Connected devices(Clients).
Currently, I am working on Wi-Fi Direct sharing (peer-to-peer communication) on IMX8MP Board using Realtek Chipset(RTL8822BU) by using the same wpa_supplicant.conf file and wpa_cli.
By using the following commands, I can scan and list out nearby Wi-Fi Direct devices and connect to the particular Wi-Fi device using Wi-Fi Direct(P2P). But, the established connection is getting disconnected within a few seconds and I am unable to share the information/data between two connected devices.
p2p_find
p2p_peers
p2p_connect <dev mac Address> <pbc/pin>
Here, is the issue I am facing while trying to connect and share the data.
> p2p_connect 92:d4:73:d0:95:90 pbc
OK
<3>P2P-FIND-STOPPED
<3>P2P-GO-NEG-SUCCESS role=client freq=5240 ht40=0 peer_dev=92:d4:73:d0:95:90 peer_iface=92:d4:73:d0:95:90 wps_method=PBC
<3>WPS-PBC-ACTIVE
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE-PBC
<3>Trying to associate with 92:d4:73:d0:95:90 (SSID='DIRECT-j8-iQOO Z6 Pro' freq=5240 MHz)
<3>Associated with 92:d4:73:d0:95:90
<3>CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
<3>CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=IN
<3>CTRL-EVENT-EAP-STARTED EAP authentication started
<3>CTRL-EVENT-EAP-STATUS status='started' parameter=''
<3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=1
<3>CTRL-EVENT-EAP-STATUS status='accept proposed method' parameter='WSC'
<3>CTRL-EVENT-EAP-METHOD EAP vendor 14122 method 1 (WSC) selected
<3>WPS-CRED-RECEIVED
<3>WPS-SUCCESS
<3>P2P-GROUP-FORMATION-SUCCESS
<3>CTRL-EVENT-EAP-STATUS status='completion' parameter='failure'
<3>CTRL-EVENT-EAP-FAILURE EAP authentication failed
<3>CTRL-EVENT-DISCONNECTED bssid=92:d4:73:d0:95:90 reason=3 locally_generated=1
Here, I am attaching the logs of it.
Hi @Yamini!
Thank you for contacting NXP Support!
Sorry, our source code is for our EVK boards and only works for our Wifi-Modules, and other modules are not implemented.
Please try to use the Phytec source code:
https://www.phytec.eu/en/bsp-download/?bsp=BSP-Android-NXP-i.MX8MP-ALPHA1
If the problem persists try to contact Phytec support.
Best Regards!
Chavira