<?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 Wifi is getting disconnected after some time in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1594760#M201156</link>
    <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configured access point in imx8m mini board which is having LBEE5ZZ1PJ Murata's Qualcomm based wifi chip. It is using qca9377 driver. Access point is configured correctly as I am able to connect my phone to this AP using password which is mentioned in /etc/hostapd.conf. After few minutes (5 to 7 minutes) my phone is getting disconnected and when trying to reconnect as AP was not down, it is giving authentication error. tried to connect different device as well at that time but same authentication error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logs of hostapd at time of disconnection is as below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ 352.112379] br0: port 2(wlan0) entered disabled state&lt;BR /&gt;wlan0: AP-STA-DISCONNECTED 9c:28:f7:30:7e:1a&lt;BR /&gt;wlan0: INTERFACE-DISABLED&lt;BR /&gt;wlan0: INTERFACE-ENABLED&lt;BR /&gt;wlan0: IEEE 802.11 driver had channel switch: freq=2437, ht=0, vht_ch=0x0, offset=0, width=0 (20 MHz (no HT)), cf1=2437, cf2=0&lt;BR /&gt;wlan0: CTRL-EVENT-CHANNEL-SWITCH freq=2437 ht_enabled=0 ch_offset=0 ch_width=20 MHz (no HT) cf1=2437 cf2=0 dfs=0&lt;BR /&gt;[ 353.133767] br0: port 2(wlan0) entered blocking state&lt;BR /&gt;[ 353.138869] br0: port 2(wlan0) entered forwarding state&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps for configuring AP is as below:&lt;/P&gt;&lt;P&gt;ip link set wlan0 up&lt;BR /&gt;iw wlan0 set power_save off&lt;BR /&gt;ip addr flush dev wlan0&lt;/P&gt;&lt;P&gt;hostapd /etc/hostapd.conf&lt;/P&gt;&lt;P&gt;brctl addbr br0&lt;BR /&gt;brctl addif br0 eth0&lt;BR /&gt;ip link set dev br0 address 00:04:9F:06:EA:A2&lt;BR /&gt;ip addr flush dev eth0&lt;/P&gt;&lt;P&gt;ip addr add 192.168.0.5/24 dev br0&lt;BR /&gt;ip link set dev br0 up&lt;/P&gt;&lt;P&gt;ip link set dev eth0 up&lt;BR /&gt;ip link set dev wlan0 up&lt;/P&gt;&lt;P&gt;ip addr flush dev eth0&lt;BR /&gt;ip addr flush dev wlan0&lt;/P&gt;&lt;P&gt;udhcpd -f /etc/udhcpd.conf &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yash&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 13:10:27 GMT</pubDate>
    <dc:creator>yash12345yash</dc:creator>
    <dc:date>2023-02-07T13:10:27Z</dc:date>
    <item>
      <title>Wifi is getting disconnected after some time</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1594760#M201156</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I configured access point in imx8m mini board which is having LBEE5ZZ1PJ Murata's Qualcomm based wifi chip. It is using qca9377 driver. Access point is configured correctly as I am able to connect my phone to this AP using password which is mentioned in /etc/hostapd.conf. After few minutes (5 to 7 minutes) my phone is getting disconnected and when trying to reconnect as AP was not down, it is giving authentication error. tried to connect different device as well at that time but same authentication error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logs of hostapd at time of disconnection is as below :&amp;nbsp;&lt;/P&gt;&lt;P&gt;[ 352.112379] br0: port 2(wlan0) entered disabled state&lt;BR /&gt;wlan0: AP-STA-DISCONNECTED 9c:28:f7:30:7e:1a&lt;BR /&gt;wlan0: INTERFACE-DISABLED&lt;BR /&gt;wlan0: INTERFACE-ENABLED&lt;BR /&gt;wlan0: IEEE 802.11 driver had channel switch: freq=2437, ht=0, vht_ch=0x0, offset=0, width=0 (20 MHz (no HT)), cf1=2437, cf2=0&lt;BR /&gt;wlan0: CTRL-EVENT-CHANNEL-SWITCH freq=2437 ht_enabled=0 ch_offset=0 ch_width=20 MHz (no HT) cf1=2437 cf2=0 dfs=0&lt;BR /&gt;[ 353.133767] br0: port 2(wlan0) entered blocking state&lt;BR /&gt;[ 353.138869] br0: port 2(wlan0) entered forwarding state&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps for configuring AP is as below:&lt;/P&gt;&lt;P&gt;ip link set wlan0 up&lt;BR /&gt;iw wlan0 set power_save off&lt;BR /&gt;ip addr flush dev wlan0&lt;/P&gt;&lt;P&gt;hostapd /etc/hostapd.conf&lt;/P&gt;&lt;P&gt;brctl addbr br0&lt;BR /&gt;brctl addif br0 eth0&lt;BR /&gt;ip link set dev br0 address 00:04:9F:06:EA:A2&lt;BR /&gt;ip addr flush dev eth0&lt;/P&gt;&lt;P&gt;ip addr add 192.168.0.5/24 dev br0&lt;BR /&gt;ip link set dev br0 up&lt;/P&gt;&lt;P&gt;ip link set dev eth0 up&lt;BR /&gt;ip link set dev wlan0 up&lt;/P&gt;&lt;P&gt;ip addr flush dev eth0&lt;BR /&gt;ip addr flush dev wlan0&lt;/P&gt;&lt;P&gt;udhcpd -f /etc/udhcpd.conf &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yash&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 13:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1594760#M201156</guid>
      <dc:creator>yash12345yash</dc:creator>
      <dc:date>2023-02-07T13:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Wifi is getting disconnected after some time</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1596249#M201294</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I founded root cause of this. wpa_supplicant was running on boot and after stoping it my access point works fine. But, I am surprised how wpa_supplicant affects access point after few minutes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yash&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 06:26:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1596249#M201294</guid>
      <dc:creator>yash12345yash</dc:creator>
      <dc:date>2023-02-09T06:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Wifi is getting disconnected after some time</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1597362#M201380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210785"&gt;@yash12345yash&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This thing happens because of the CSA&amp;nbsp; - channel switch announcement.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically what happens whenever a single chipset's single radio handles hostapd &amp;amp; wpa_supplicant both the utility &amp;amp; if they're both not running on the same channel then whatever channel STA is up on, AP will follow it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So that's why whenever one tries to bring the&amp;nbsp;AP but if the supplicant is already running&amp;nbsp;on early boot as mentioned then wpa_supplicant can affect AP.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;One should stop the wpa_supp service to get started on boot.&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada.&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Feb 2023 13:30:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1597362#M201380</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-02-10T13:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Wifi is getting disconnected after some time</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1669901#M207640</link>
      <description>&lt;P&gt;i am trying the same qca9377 with imx8mm-lppdr4-evk but not able registered. can you pls provide me steps to follow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 05:01:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Wifi-is-getting-disconnected-after-some-time/m-p/1669901#M207640</guid>
      <dc:creator>Udhay_</dc:creator>
      <dc:date>2023-06-15T05:01:02Z</dc:date>
    </item>
  </channel>
</rss>

