Re: [PATCH wireless-next v2 01/11] wifi: brcmsmac: make d11.h self-contained
From: Arend van Spriel
Date: Thu Dec 03 2026 - 04:15:03 EST
On Fri, 27 Nov 2026 14:11:31 +0800, Ragul Balaji <ragulbaby@xxxxxxxxx> wrote:
> d11.h includes pub.h and dma.h, but it needs only the two DMA register
> layouts from dma.h for struct d11regs and nothing from pub.h. Move
> struct dma32diag and struct dma64regs into d11.h next to the register
> map that embeds them, and drop both includes.
>
> The TXFID_* masks describe the TxFrameID field of struct d11txh.
> Define them in d11.h next to the header that carries the field,
> so that it can be shared with other code.
>
> pub.h and d11.h both define the PHY types of the PhyVersion register,
> with the same values. Add the ones that only pub.h has, PHY_TYPE_A,
> PHY_TYPE_G, PHY_TYPE_LP and PHY_TYPE_HT, to d11.h, and drop the list
> in pub.h.
>
> This prepares d11.h for use outside brcmsmac. No functional change.
>
> Signed-off-by: Ragul Balaji <ragulbaby@xxxxxxxxx>
> Signed-off-by: Ho Jie Feng <hjf3108@xxxxxxxxx>
> ---
> .../broadcom/brcm80211/brcmsmac/ampdu.c | 1 +
> .../broadcom/brcm80211/brcmsmac/d11.h | 43 ++++++++++++++++++-
> .../broadcom/brcm80211/brcmsmac/dma.h | 27 ------------
> .../broadcom/brcm80211/brcmsmac/main.h | 11 +----
> .../broadcom/brcm80211/brcmsmac/phy/phy_hal.h | 1 +
> .../broadcom/brcm80211/brcmsmac/pub.h | 10 -----
> .../broadcom/brcm80211/brcmsmac/rate.h | 1 +
> 7 files changed, 45 insertions(+), 49 deletions(-)
You may add my acknowledgement in v3.
Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Regards,
Arend