<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [Android] Miracast feature on JB4.3_1.1.0 with Intel iwl4965 WiFi module in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329796#M44440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; One more thing is JB 4.3 BSP support Atheros AR6003 series SDIO wifi module which has Miracast support in driver. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are trying to enable Miracast Sink for JB4.3 the wifi driver should support it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs&lt;/P&gt;&lt;P&gt;Haoran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 08:07:06 GMT</pubDate>
    <dc:creator>haoranwang</dc:creator>
    <dc:date>2014-10-28T08:07:06Z</dc:date>
    <item>
      <title>[Android] Miracast feature on JB4.3_1.1.0 with Intel iwl4965 WiFi module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329793#M44437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I refer to the article (&lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" data-containerid="2004" data-containertype="14" data-objectid="94045" data-objecttype="102" href="https://community.freescale.com/docs/DOC-94045"&gt;https://community.freescale.com/docs/DOC-94045&lt;/A&gt;&lt;SPAN&gt;) to enable Intel iwl4965 WiFi module on our own i.MX6 devices for JB4.3_1.0.0 BSP. The basic wireless functions are OK, but it fails when I enable p2p feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The wpa supplicant configurations are below. The only one difference between these two cases is p2p setting (-ip2p0). One can work, but the other doesn't. &lt;BR /&gt;[WiFi OK]&lt;BR /&gt;service intel_suppl_con /system/bin/intel_wpa_supplicant \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class late_start&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; socket wpa_wlan0 dgram 660 wifi wifi&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disabled&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oneshot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[WiFi failed]&lt;BR /&gt;service intel_suppl_con /system/bin/intel_wpa_supplicant \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -N \&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class late_start&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; socket wpa_wlan0 dgram 660 wifi wifi&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disabled&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oneshot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my log message.&lt;BR /&gt;==================&lt;BR /&gt;[WiFi OK]&lt;BR /&gt;01-08 01:03:44.730 D/CommandListener( 2239): Setting iface cfg&lt;BR /&gt;01-08 01:03:44.730 D/CommandListener( 2239): Trying to bring down wlan0&lt;BR /&gt;01-08 01:03:44.760 E/WifiHW&amp;nbsp; ( 2527): wifi_start_supplicant p2p=1&lt;BR /&gt;01-08 01:03:44.760 E/WifiHW&amp;nbsp; ( 2527): Wi-Fi will ensure config file exist&lt;BR /&gt;01-08 01:03:44.760 D/WifiHW&amp;nbsp; ( 2527): start supplicant cmd=intel_suppl_con&lt;BR /&gt;01-08 01:03:44.900 E/WifiHW&amp;nbsp; ( 2527): Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0": No such file or directory&lt;BR /&gt;01-08 01:03:44.910 I/wpa_supplicant( 2715): rfkill: Cannot open RFKILL control device&lt;BR /&gt;01-08 01:03:45.900 E/wpa_supplicant( 2715): Could not get interface wlan0 hwaddr: Not a typewriter&lt;BR /&gt;01-08 01:03:45.900 E/WifiConfigStore( 2527): Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)&lt;BR /&gt;01-08 01:03:45.980 E/WifiP2pService( 2527): Unable to change interface settings: java.lang.IllegalStateException: command '11 interface setcfg p2p0 0.0.0.0 0 up' failed with '400 11 Failed to set address (No such device)'&lt;BR /&gt;01-08 01:03:45.990 E/WifiHW&amp;nbsp; ( 2527): Unable to open connection to supplicant on "/data/system/wpa_supplicant/p2p0": No such file or directory&lt;BR /&gt;01-08 01:03:51.000 E/WifiP2pService( 2527): P2p socket connection failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[WiFi failed]&lt;BR /&gt;01-07 23:22:00.990 D/CommandListener( 2252): Setting iface cfg&lt;BR /&gt;01-07 23:22:00.990 D/CommandListener( 2252): Trying to bring down wlan0&lt;BR /&gt;01-07 23:22:01.000 E/WifiHW&amp;nbsp; ( 2546): wifi_start_supplicant p2p=1&lt;BR /&gt;01-07 23:22:01.000 E/WifiHW&amp;nbsp; ( 2546): Wi-Fi will ensure config file exist&lt;BR /&gt;01-07 23:22:01.000 D/WifiHW&amp;nbsp; ( 2546): start supplicant cmd=intel_suppl_con&lt;BR /&gt;01-07 23:22:01.030 E/WifiHW&amp;nbsp; ( 2546): Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0": No such file or directory&lt;BR /&gt;01-07 23:22:01.060 I/wpa_supplicant( 2653): Successfully initialized wpa_supplicant&lt;BR /&gt;01-07 23:22:01.060 I/wpa_supplicant( 2653): rfkill: Cannot open RFKILL control device&lt;BR /&gt;01-07 23:22:01.060 E/wpa_supplicant( 2653): nl80211: Could not configure driver to use managed mode&lt;BR /&gt;01-07 23:22:01.060 E/wpa_supplicant( 2653): Could not read interface p2p0 flags: No such device&lt;BR /&gt;01-07 23:22:01.060 E/wpa_supplicant( 2653): p2p0: Failed to initialize driver interface&lt;BR /&gt;01-07 23:22:02.030 E/WifiHW&amp;nbsp; ( 2546): Supplicant not running, cannot connect&lt;BR /&gt;01-07 23:22:06.040 E/WifiHW&amp;nbsp; ( 2546): Supplicant not running, cannot connect&lt;BR /&gt;01-07 23:22:06.040 E/WifiStateMachine( 2546): Failed to setup control channel, restart supplicant&lt;BR /&gt;==================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue is similar with the discussion thread below. No p2p device node is generated. However, it still cannot work after I tried the methods in the thread. (&lt;A class="jive-link-external-small" href="http://wireless.kernel.org/en/developers/p2p/howto"&gt;&lt;SPAN style="color: #3778c7;"&gt;howto - Linux Wireless&lt;/SPAN&gt;&lt;/A&gt; &amp;amp; &lt;A class="jive-link-external-small" href="http://riya80211.blogspot.com/2013/07/p2p-configuration-of-wpasupplicant-in.html"&gt;&lt;SPAN style="color: #3778c7;"&gt;802.11: Part 1: P2P aka WiFi Direct - Introduction and Configuration of wpa_supplicant in Linux kernel version 3.8.3&lt;/SPAN&gt;&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="315617" data-objecttype="1" href="https://community.freescale.com/thread/315617"&gt;https://community.freescale.com/thread/315617&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to enable WiFi p2p function for miracast. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 09:37:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329793#M44437</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2014-10-16T09:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: [Android] Miracast feature on JB4.3_1.1.0 with Intel iwl4965 WiFi module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329794#M44438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. When enable wifi in the "settings" you can use "netcfg" on the uart console to check whether there is p2p interface besides wlan0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. From the logcat there is no “p2p0" interface for HAL layer to open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. I don't use 4965. But it seems use the iwlegacy which doesn't support p2p0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 10:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329794#M44438</guid>
      <dc:creator>haoranwang</dc:creator>
      <dc:date>2014-10-24T10:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: [Android] Miracast feature on JB4.3_1.1.0 with Intel iwl4965 WiFi module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329795#M44439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haoran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply. Yes. I can not see p2p interface in netcfg.&lt;/P&gt;&lt;P&gt;From you suggestion # 3, I will try to change the kernel driver from iwlegacy to iwlwifi firstly.&lt;/P&gt;&lt;P&gt;Indeed, it shows a p2p kconfig in iwlwifi driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;config IWL_P2P&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bool "iwlwifi experimental P2P support"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; depends on IWLAGN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This option enables experimental P2P support for some devices&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; based on microcode support. Since P2P support is still under&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; development, this option may even enable it for some devices&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; now that turn out to not support it in the future due to&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; microcode restrictions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To determine if your microcode supports the experimental P2P&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; offered by this option, check if the driver advertises AP&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; support when it is loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Say Y only if you want to experiment with P2P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 07:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329795#M44439</guid>
      <dc:creator>danielhung</dc:creator>
      <dc:date>2014-10-28T07:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: [Android] Miracast feature on JB4.3_1.1.0 with Intel iwl4965 WiFi module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329796#M44440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; One more thing is JB 4.3 BSP support Atheros AR6003 series SDIO wifi module which has Miracast support in driver. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are trying to enable Miracast Sink for JB4.3 the wifi driver should support it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs&lt;/P&gt;&lt;P&gt;Haoran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 08:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Miracast-feature-on-JB4-3-1-1-0-with-Intel-iwl4965-WiFi/m-p/329796#M44440</guid>
      <dc:creator>haoranwang</dc:creator>
      <dc:date>2014-10-28T08:07:06Z</dc:date>
    </item>
  </channel>
</rss>

