Date: Fri, 1 Apr 2022 22:46:02 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: "J.R. Oldroyd" <fbsd@opal.com> Cc: Takashi Inoue <inoue.takashi@nihon-u.ac.jp>, FreeBSD wireless mailing list <wireless@freebsd.org> Subject: Re: wifimgr with iwlwifi Message-ID: <alpine.BSF.2.00.2204012242080.68830@ai.fobar.qr> In-Reply-To: <20220326165218.4934d148@opal.com> References: <86sfr5o9hj.fsf@kpiecuch.pl> <2dadd936-7bd6-ad0a-e2f8-b6f0e677b785@nihon-u.ac.jp> <CAN6yY1tQjNUN4r2R3OYkFNSagcGkiA3y1XgU40h5Qe-mz-=Ozw@mail.gmail.com> <20220326165218.4934d148@opal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Mar 2022, J.R. Oldroyd wrote: Hi, > On Sat, 26 Mar 2022 09:58:12 -0700 Kevin Oberman <rkoberman@gmail.com> wrote: >> >> On Sat, Mar 26, 2022 at 3:28 AM Takashi Inoue <inoue.takashi@nihon-u.ac.jp> >> wrote: >> >>> Do you use "wifimgr" which is a GUI tool to select AP. >>> When I use "if_iwlfiwi.ko", wave strength displayed >>> in wifimgr is 0 for all access point. >>> Do you see this phenomenon? Or, does someone see this? >>> >>> Best, >>> Takashi >>> >> >> I'll have to leave the wifimge to others. > > Wifimgr parses the output of "ifconfig -v wlanN list scan" in order to > compute the number of bars to display for the signal strength. > > With the iwm driver, I see s/n values like -49:-96 for my network. I am actually not sure if the values in iwm are correct; there is a factor-2 calculation in there which I believe is only done for max tx power of older cards based on eeprom values but not for the rssi anymore in iwlwifi. I haven't started digging where that originated, so hard to say. > But with the iwlwifi driver, the values for the same network are -121:-96 . > > This large negative value for the signal strength is causing wifimgr > to compute the number of bars as 0. Quick shot. I just pushed two changes to main for anyone who wants to try. If you are on stable/13 and want to test them early you can (unitl they'll be merged): git cherry-pick -x 4a22cd6c4e5f4fc4a38aa7400742d4005c5ae3de git cherry-pick -x 60970a328e280b25b05f1d9a9de1ef91af573c4a Let me know if values start to look more reasonable. Happy weekend, Bjoern -- Bjoern A. Zeeb r15:7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2204012242080.68830>