Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2025 22:56:16 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>, "Bjoern A. Zeeb" <bz@freebsd.org>,  FreeBSD Wireless <freebsd-wireless@freebsd.org>
Subject:   Re: Update on AlderLake stuck on 2.4G
Message-ID:  <CAN6yY1sequUk2sQZJheeJrG3=-GUB5uZQzuBUZUisTobCd8xKQ@mail.gmail.com>
In-Reply-To: <CAJ-Vmomi_RRpjkbo5uPHMRKczZEvE=FWX8QkdXThLxxZ-JKqVg@mail.gmail.com>
References:  <CAN6yY1sV1CEbMtAq1e2H4WYVWVhh8xpk%2Bk8sQSZE=3Y0ZAFXMw@mail.gmail.com> <5p15584o-0o27-7qqr-8sss-9p82q3rsp587@SerrOFQ.bet> <CAJ-VmokMWFYX7ARMMwkG3QWUsqaV5U3Qh6GGKg5UOk%2BUVtMnmw@mail.gmail.com> <CAN6yY1t5sO7poiz7nGQgUF8tiOm0fN12odZm_D38SOczJQt_aw@mail.gmail.com> <CAJ-Vmomi_RRpjkbo5uPHMRKczZEvE=FWX8QkdXThLxxZ-JKqVg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Interesting. Looks like a scan is hung.When I start a superuser scan, I log
exactly two lines:
May  5 22:45:22 ptavv kernel: wlan0: ieee80211_scanreq: vap
0xfffffe0167a47010 iv_state 0x5 (RUN) flags 0x1b duration 0x7fffffff
mindwell 0 maxdwell 0 nssid 0
May  5 22:45:22 ptavv kernel: wlan0: ieee80211_swscan_start_scan_locked:
active scan already in progress


On Mon, May 5, 2025 at 10:14 PM Adrian Chadd <adrian@freebsd.org> wrote:

> hi,
>
> it should start logging stuff to the kernel log! Try looking at the dmesg
> output :)
>
>
> We don't have a useful tracing mechanism besides that right now.
>
>
>
> -adrian
>
>
> On Mon, 5 May 2025 at 21:59, Kevin Oberman <rkoberman@gmail.com> wrote:
>
>> On Sun, May 4, 2025 at 1:29 PM Adrian Chadd <adrian@freebsd.org> wrote:
>>
>>>
>>>
>>> On Sun, 4 May 2025 at 10:41, Bjoern A. Zeeb <bz@freebsd.org> wrote:
>>>
>>>> On Sun, 4 May 2025, Kevin Oberman wrote:
>>>>
>>>> Hi,
>>>>
>>>> > I have now located and am now running on an ASUS RT-ARCH13 router
>>>> connected
>>>> > to Comcast. This device claims WiFi5 compliance with 11ac and CCMP.
>>>> >
>>>> > Still stuck at 11ng and only connects at 2.4G.
>>>> >
>>>> >> ifconfig wlan0
>>>> > wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0
>>>> mtu 1500
>>>> > options=0
>>>> > ether 70:a8:d3:df:3c:de
>>>> > inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255
>>>> > groups: wlan
>>>> > ssid babcom channel 11 (2462 MHz 11g ht/20) bssid 4c:ed:fb:37:b0:20
>>>> > regdomain FCC country US authmode WPA2/802.11i privacy ON
>>>> > deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
>>>> > protmode CTS -ampdu ampdulimit 64k -amsdutx amsdurx shortgi
>>>> > -ldpctx ldpcrx -uapsd wme roaming MANUAL
>>>> > parent interface: iwlwifi0
>>>> > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
>>>> > status: associated
>>>> > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>>> >
>>>> > My AP shows up as: 11   54M  -51:-96   100 EP   HTCAP VHTCAP
>>>> VHTOPMODE WME
>>>> > ATH RSN
>>>> > The 5G SSID does not show up at all, though my phone shows it and
>>>> connects
>>>> > successfully. Attempts to manually scan return instantly and list scan
>>>> > always list the exact same data including S/N, so it does not seem to
>>>> > actually scan.
>>>>
>>>
>>> Is there still that scan bug where an interrupted scan never finishes,
>>> and thus "ifconfig wlan0 scan" always returns cached scan results?
>>> I thought that was fixed years ago. :/
>>>
>>> Also, Kevin, is this on iwlwifi? That should be doing offloaded
>>> scanning, right bz? So as long as we send a well crafted firmware
>>> message with a useful dwell time, it should be seeing the beacons?
>>>
>>> What dwell time is being configured when doing scanning on iwlwifi?
>>>
>>>
>>>
>>> -adrian
>>>
>>>
>>>>
>>>> You are #5 reporting this lately of either not seeing the SSID or it
>>>> taking ages to show up.  I initially started with 1 then 3 people.
>>>> Some say another AP n their mesh further away does show up in scan
>>>> results but the one next to them does not.
>>>>
>>>> There is also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286493
>>>> (for the "takes ages" to assoc).
>>>>
>>>>
>>>> If you run `ifconifg wlan0 scan` as super user; sometimes you have to
>>>> try
>>>> 10-15 times; eventually it hangs;  then give it some time and if it
>>>> doens't return after 30-60s ^c and do a list scan manually.
>>>>
>>>> There's something really fishy going on somewhere but we don't know yet.
>>>>
>>>>
>>> Hm, can you re-do the scan with scan debugging enabled?
>>>
>>> wlandebug -i wlan0 +scan
>>>
>>> let's see what the scan engine sees, in case it's tossing out frames for
>>> some reason.
>>>
>>>
>>>
>>> -adrian
>>>
>>> --
>>>> Bjoern A. Zeeb                                                     r15:7
>>>>
>>>>
>> I'm afraid that I am baffled as to running wlandebug. The man page didn't
>> help much.
>>
>> When I run the command, it prints out a single line and exits. Is there
>> something I need to do to collect data when I start a scan?
>> --
>> Kevin Oberman, Part time kid herder and retired Network Engineer
>> E-mail: rkoberman@gmail.com
>> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>>
>

-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

[-- Attachment #2 --]
<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Interesting. Looks like a scan is hung.When I start a superuser scan, I log exactly two lines:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">May  5 22:45:22 ptavv kernel: wlan0: ieee80211_scanreq: vap 0xfffffe0167a47010 iv_state 0x5 (RUN) flags 0x1b duration 0x7fffffff mindwell 0 maxdwell 0 nssid 0<br>May  5 22:45:22 ptavv kernel: wlan0: ieee80211_swscan_start_scan_locked: active scan already in progress<br><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, May 5, 2025 at 10:14 PM Adrian Chadd &lt;<a href="mailto:adrian@freebsd.org">adrian@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>hi,</div><div><br></div><div>it should start logging stuff to the kernel log! Try looking at the dmesg output :)</div><div><br></div><div><br></div><div>We don&#39;t have a useful tracing mechanism besides that right now.</div><div><br></div><div><br></div><div><br></div><div>-adrian</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 5 May 2025 at 21:59, Kevin Oberman &lt;<a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">On Sun, May 4, 2025 at 1:29 PM Adrian Chadd &lt;<a href="mailto:adrian@freebsd.org" target="_blank">adrian@freebsd.org</a>&gt; wrote:</div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 4 May 2025 at 10:41, Bjoern A. Zeeb &lt;<a href="mailto:bz@freebsd.org" target="_blank">bz@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 4 May 2025, Kevin Oberman wrote:<br>
<br>
Hi,<br>
<br>
&gt; I have now located and am now running on an ASUS RT-ARCH13 router connected<br>
&gt; to Comcast. This device claims WiFi5 compliance with 11ac and CCMP.<br>
&gt;<br>
&gt; Still stuck at 11ng and only connects at 2.4G.<br>
&gt;<br>
&gt;&gt; ifconfig wlan0<br>
&gt; wlan0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500<br>
&gt; options=0<br>
&gt; ether 70:a8:d3:df:3c:de<br>
&gt; inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255<br>
&gt; groups: wlan<br>
&gt; ssid babcom channel 11 (2462 MHz 11g ht/20) bssid 4c:ed:fb:37:b0:20<br>
&gt; regdomain FCC country US authmode WPA2/802.11i privacy ON<br>
&gt; deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60<br>
&gt; protmode CTS -ampdu ampdulimit 64k -amsdutx amsdurx shortgi<br>
&gt; -ldpctx ldpcrx -uapsd wme roaming MANUAL<br>
&gt; parent interface: iwlwifi0<br>
&gt; media: IEEE 802.11 Wireless Ethernet MCS mode 11ng<br>
&gt; status: associated<br>
&gt; nd6 options=29&lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&gt;<br>
&gt;<br>
&gt; My AP shows up as: 11   54M  -51:-96   100 EP   HTCAP VHTCAP VHTOPMODE WME<br>
&gt; ATH RSN<br>
&gt; The 5G SSID does not show up at all, though my phone shows it and connects<br>
&gt; successfully. Attempts to manually scan return instantly and list scan<br>
&gt; always list the exact same data including S/N, so it does not seem to<br>
&gt; actually scan.<br></blockquote><div><br></div><div>Is there still that scan bug where an interrupted scan never finishes, and thus &quot;ifconfig wlan0 scan&quot; always returns cached scan results?</div><div>I thought that was fixed years ago. :/</div><div><br></div><div>Also, Kevin, is this on iwlwifi? That should be doing offloaded scanning, right bz? So as long as we send a well crafted firmware</div><div>message with a useful dwell time, it should be seeing the beacons?</div><div><br></div><div>What dwell time is being configured when doing scanning on iwlwifi?</div><div><br></div><div><br></div><div><br></div><div>-adrian</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
You are #5 reporting this lately of either not seeing the SSID or it<br>
taking ages to show up.  I initially started with 1 then 3 people.<br>
Some say another AP n their mesh further away does show up in scan<br>
results but the one next to them does not.<br>
<br>
There is also <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286493" rel="noreferrer" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286493</a><br>;
(for the &quot;takes ages&quot; to assoc).<br>
<br>
<br>
If you run `ifconifg wlan0 scan` as super user; sometimes you have to try<br>
10-15 times; eventually it hangs;  then give it some time and if it<br>
doens&#39;t return after 30-60s ^c and do a list scan manually.<br>
<br>
There&#39;s something really fishy going on somewhere but we don&#39;t know yet.<br>
<br></blockquote><div><br></div><div>Hm, can you re-do the scan with scan debugging enabled?</div><div><br></div><div>wlandebug -i wlan0 <a class="gmail_plusreply" id="m_-1338673852004747224m_1808883581653320861m_6459306767603830143plusReplyChip-0">+scan</a></div><div><a class="gmail_plusreply" id="m_-1338673852004747224m_1808883581653320861m_6459306767603830143plusReplyChip-0"><br></a></div><div><a class="gmail_plusreply" id="m_-1338673852004747224m_1808883581653320861m_6459306767603830143plusReplyChip-0">let&#39;s see what the scan engine sees, in case it&#39;s tossing out frames for some reason.</a></div><div><a class="gmail_plusreply" id="m_-1338673852004747224m_1808883581653320861m_6459306767603830143plusReplyChip-0"><br></a></div><div><a class="gmail_plusreply" id="m_-1338673852004747224m_1808883581653320861m_6459306767603830143plusReplyChip-0"><br></a></div><div><a class="gmail_plusreply" id="m_-1338673852004747224m_1808883581653320861m_6459306767603830143plusReplyChip-0"><br></a></div><div><a class="gmail_plusreply" id="m_-1338673852004747224m_1808883581653320861m_6459306767603830143plusReplyChip-0">-adrian</a></div><div><a class="gmail_plusreply" id="m_-1338673852004747224m_1808883581653320861m_6459306767603830143plusReplyChip-0"><br></a> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-- <br>
Bjoern A. Zeeb                                                     r15:7<br>
<br>
</blockquote></div></div>
</blockquote></div><div><br clear="all"></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">I&#39;m afraid that I am baffled as to running wlandebug. The man page didn&#39;t help much.</div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:tahoma,sans-serif;font-size:small" class="gmail_default">When I run the command, it prints out a single line and exits. Is there something I need to do to collect data when I start a scan?</div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kevin Oberman, Part time kid herder and retired Network Engineer<br>E-mail: <a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Kevin Oberman, Part time kid herder and retired Network Engineer<br>E-mail: <a href="mailto:rkoberman@gmail.com" target="_blank">rkoberman@gmail.com</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div></div></div></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sequUk2sQZJheeJrG3=-GUB5uZQzuBUZUisTobCd8xKQ>