AnsweredAssumed Answered

MIracast on imx6Q sdp board using wireless USB Adaptor.

Question asked by Venkatesh M on Aug 4, 2014
Latest reply on Aug 20, 2014 by jamesbone

Hi

     I am trying to intergrate wifi display (or Miracast ) on imx6Q SDP board. I have used COMFAST WU825N which has a RTL8192CU chipset. I have used the rtl8192cu driver available from Realtek site, and cross complied it on my PC for the ubuntu OS with kernel version 3.0.35 (3.0.35-2666-gbdde708). I have used the wpa_supplicant (2.0, 2.1 and 2.2) in which I have enabled the CONFIG_WFD, CONFIG_P2P, etc. I am running.

   

    ./wpa_supplicant -Dnl80211 -c/home/miracast/wpa_supplicant.conf -iwlan1 -ddK

    ./wpa_cli

   

when I give the command :   

>p2p_listen

OK

 

Output on wpa_supplicant:

 

RX ctrl_iface - hexdump_ascii(len=10):

     50 32 50 5f 4c 49 53 54 45 4e                     P2P_LISTEN     

wlan1: Control interface command 'P2P_LISTEN'

wlan1: P2P: Stopping find

wlan1: P2P: Clear timeout (state=IDLE)

wlan1: P2P: State IDLE -> IDLE

wlan1: P2P: Going to listen(only) state

WPS:  * Version (hardcoded 0x10)

WPS:  * UUID-E

P2P: * P2P IE header

P2P: * Capability dev=21 group=00

P2P: * Device Info

nl80211: Enable Probe Request reporting nl_preq=0xc2a10

nl80211: Register frame type=0x40 nl_handle=0xc2a10

nl80211: Register frame match - hexdump(len=0): [NULL]

nl80211: Remain-on-channel cookie 0x8052bd449db66000 for freq=2462 MHz duration=65535

wlan1: P2P: State IDLE -> LISTEN_ONLY

nl80211: Event message available

nl80211: Remain-on-channel event (cancel=0 freq=2462 channel_type=0 duration=65535 cookie=0x8052bd449db66000 (match))

wlan1: Event REMAIN_ON_CHANNEL (22) received

Off-channel: Send Action callback (without_roc=0 pending_action_tx=(nil))

wlan1: P2P: Starting Listen timeout(65,535000) on freq=2462 based on callback

wlan1: P2P: Set timeout (state=LISTEN_ONLY): 65.555000 sec

 

But I am not able to detect it on nexus 4 and 5 phone under wifi direct. When I run p2p_find, p2p_peers, p2p_peer MAC-ADDR, I am able to detect the phone but the phone is not able to detect the device. What can be done should I try another device, if so kindly suggest other device names.

Outcomes