[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF4oh-Np5HZzdCxjycrvr_-RS0ZdC4Y3AyCi89=Lo1gQnSSowg@mail.gmail.com>
Date: Tue, 10 Dec 2024 00:08:19 +0300
From: Alex Shumsky <alexthreed@...il.com>
To: Arend van Spriel <arend.vanspriel@...adcom.com>
Cc: linux-wireless@...r.kernel.org, Alexey Berezhok <a@...repo.ru>,
Alvin Šipraga <ALSI@...g-olufsen.dk>,
Hector Martin <marcan@...can.st>, Janne Grunau <j@...nau.net>, Kalle Valo <kvalo@...nel.org>,
Kees Cook <kees@...nel.org>, Neal Gompa <neal@...pa.dev>,
Wolfram Sang <wsa+renesas@...g-engineering.com>, brcm80211-dev-list.pdl@...adcom.com,
brcm80211@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] brcmfmac: fix RSSI report in AP mode
On Tue, Nov 26, 2024 at 2:13 PM Arend van Spriel
<arend.vanspriel@...adcom.com> wrote:
>
> On 11/22/2024 10:03 PM, Alex Shumsky wrote:
> > After commit 9a1590934d9a ("brcmfmac: correctly report average RSSI in
> > station info") it is required from firmware to provide rx_lastpkt_rssi.
> > If this field is not provided brcmfmac doesn't report any RSSI at all.
> > Unfortunately some firmwares doesn't provide it. One example is firmware
> > for BCM43455 found in Raspbberry Pi.
> > See https://github.com/raspberrypi/linux/issues/4574
> >
> > Fix it by falling back to rssi field if rx_lastpkt_rssi is not provided
> > (like it was before 9a1590934d9a).
>
> Sounds like a reasonable approach. However, I would like to learn more
> about the issue. Maybe it is a per-vendor issue so I am interested what
> the sta_info version is that we get from firmware. It is printed in
> brcmf_cfg80211_get_station() with brcmf_dbg(). You can make it a
> bphy_err() call instead or enable TRACE level debug messages in the driver.
>
> Also would be good to know the firmware version and kernel version of
> the BCM43455.
>
> Regards,
> Arend
I've just checked sta version in trace logs:
brcmf_cfg80211_get_station version 4
Firmware I currently use:
BCM4345/6 wl0: Aug 29 2023 01:47:08 version 7.45.265 (28bca26 CY) FWID
01-b677b91b
https://github.com/murata-wireless/cyw-fmac-fw/blob/e024d0c0a3ab241f547cb44303de7e1b49f0ca78/cyfmac43455-sdio.bin
I'm not sure what firmware version is used in the raspberry pi distro.
>From raspberry forums it looks, like:
Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa
CY) FWID 01-703fd60
Powered by blists - more mailing lists