Re: [PATCH wireless-next v2 06/11] wifi: brcmsmac: pass the band to the PLCP and frame timing helpers

From: Arend van Spriel

Date: Thu Dec 03 2026 - 04:16:49 EST


On Fri, 27 Nov 2026 14:11:36 +0800, Ragul Balaji <ragulbaby@xxxxxxxxx> wrote:
> The functions computing the PLCP headers, frame and response times,
> RTS/CTS durations, L-SIG lengths and PHY control words take the driver
> state, but only use the band type, PHY type and basic rate table of the
> current band from it. Pass those instead and give the functions the
> brcmu_ prefix, so that they can move to brcmutil for other drivers of
> the d11 core.
>
> Their error messages lose the device name, and BRCMS_ISLCNPHY() and
> BRCMS_ISSSLPNPHY() become plain PHY type tests, which they are for the
> PHY types brcmsmac supports.
>
> Signed-off-by: Ragul Balaji <ragulbaby@xxxxxxxxx>
> Signed-off-by: Ho Jie Feng <hjf3108@xxxxxxxxx>
> ---
> .../broadcom/brcm80211/brcmsmac/ampdu.c | 31 ++-
> .../broadcom/brcm80211/brcmsmac/main.c | 249 +++++++++---------
> .../broadcom/brcm80211/brcmsmac/main.h | 10 +-
> 3 files changed, 150 insertions(+), 140 deletions(-)

You may add my acknowledgement in v3.

Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>

Regards,
Arend