Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 12:52:52 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        "D'Arcy Cain" <darcy@druid.net>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: WiFi hotspot keeps dropping
Message-ID:  <CAJ-VmokRR=CEpraKkF-HOF9khU5XtB4=L2LnKqisunotrqS%2B_Q@mail.gmail.com>
In-Reply-To: <a7760ba2-98dd-d9e5-aede-6b523c5533a4@druid.net>
References:  <07f4e7f5-095e-e89e-2c55-d283ca62149c@druid.net> <CAJ-Vmo=yNcRg4wpwO1hiDkkog8ZHfx%2BZXaP59OERO0iYp3%2BuwQ@mail.gmail.com> <CAJ-Vmo=AfhsAy=bmg%2Brg%2BSJe=PdcMYunnJG_H1d8i0Roz-p8LQ@mail.gmail.com> <a7760ba2-98dd-d9e5-aede-6b523c5533a4@druid.net>

next in thread | previous in thread | raw e-mail | index | archive | help
OH wow, I only JUST saw this, sorry!


On Sun, 21 Jun 2020 at 03:40, D'Arcy Cain <darcy@druid.net> wrote:

> On 2020-06-19 12:14, Adrian Chadd wrote:
> > [snip] Also, did you plug in something USB-3 related recently? :-)
> >
> > USB-3 / USB-C's signaling frequency interferes with 2.4GHz :-)
>
> No.  The only USB-C I have is my phone which I have never plugged into the
> computer.
>
> Here's another data point.  It seems that I don't necessarily have to
> restart hostapd.  If I do "ifconfig wlan0 scan" it comes back as well.
>
>
Ok, when it next happens, do this:

sysctl dev.ath.0.forcebstuck=1

.. that forces a stuck beacon event, which resets the NIC. I wonder if the
problem is the NIC is now deaf. I fixed some issues in FreeBSD-HEAD around
noise floor calibration failures which led to NIC deafness, but you won't
even SEE that debugging unless you've compiled a custom kernel with the
above options.

Please let me know if you need any help compiling up a custom kernel.



-adrian

-- 
> D'Arcy J.M. Cain <darcy@druid.net>         |  Democracy is three wolves
> http://www.druid.net/darcy/                |  and a sheep voting on
> +1 416 788 2246     (DoD#0082)    (eNTP)   |  what's for dinner.
> IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokRR=CEpraKkF-HOF9khU5XtB4=L2LnKqisunotrqS%2B_Q>