iMX8MP: P2P Failure with MiracleCast

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8MP: P2P Failure with MiracleCast

1,812件の閲覧回数
binil
Contributor II

Hello NXP Community,

I’m unable to establish a P2P connection on the iMX8MP-EVK using MiracleCast (https://github.com/albfan/miraclecast) for Miracast. The connection starts but fails with an “unknown” reason. Below are the details.

Hardware and Software Setup

  • Board: iMX8MP-EVK (6GB)
  • Wi-Fi Module: AW-CM276MA
  • OS: Yocto-LF_v6.12.3-1.0.0_images_IMX8MPEVK
  • MiracleCast Version: Latest from https://github.com/albfan/miraclecast
  • Wi-Fi Interfaces:
    • mlan0: Station interface
    • uap0: Access Point interface
    • wfd0: Wi-Fi Direct interface

 

Steps

systemctl stop wpa_supplicant.service
sudo miracle-wifid &
sudo miracle-sinkctl
Select link (e.g., run 5), connection fails.

Logs MiracleCast
[ADD] Link: 5
[ADD] Link: 6
[ADD] Link: 7
run 5

[PROV] Peer: d2:39:fa:76:45:ad@5 Type: pbc
[GO NEG] Peer: d2:39:fa:76:45:ad@5 Type: pbc
[FAIL] Peer: d2:39:fa:76:45:ad@5 Reason: unknown
[REMOVE] Peer: d2:39:fa:76:45:ad@5

*Attaching the Journal log

ifconfig (mlan0 & wfd0)

mlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet 192.168.1.106 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::eafb:1cff:fee1:51d9 prefixlen 64 scopeid 0x20<link>
ether e8:fb:1c:e1:51:d9 txqueuelen 1000 (Ethernet)
RX packets 10 bytes 1426 (1.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26 bytes 3175 (3.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


wfd0: flags=-28669<UP,BROADCAST,MULTICAST,DYNAMIC> mtu 1500
ether ea:fb:1c:e1:51:d9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Observations

  • P2P negotiation starts, virtual interface (p2p-mlan0-0) is created, and association occurs.
  • Connection fails with “unknown” reason; mlan0 shows no activity.
  • rfkill: Cannot open RFKILL control device error appears.

    Questions

    1. Has anyone used MiracleCast with iMX8MP-EVK ?
    2. Are there driver/firmware updates for P2P ?
    3. How to resolve the rfkill error?

      Thank you for any assistance!

      Best,

タグ(4)
0 件の賞賛
返信
1 返信

1,777件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

And thank you for your detailed observation, from NXP side, we have not tested the repository attached, I can't tell if it works with Linux BSP but I can see that you will use P2P connection, from our side I can suggest that P2P needs to be enabled in driver config.

Refer to 2.6 Configure and test Wi-Fi direct from Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK.

Regards

0 件の賞賛
返信