Re: [PATCH 08/13] wifi: brcmfmac: Handle larger firmware band lists
From: Arend van Spriel
Date: Tue Nov 03 2026 - 09:50:42 EST
On Fri, 25 Sep 2026 23:43:43 +1000, Michael Reeves <michael.reeves077@xxxxxxxxx> wrote:
> From: Michael Reeves <michael.reeves077@xxxxxxxxx>
>
> Some firmware returns more than two entries from BRCMF_C_GET_BANDLIST.
> The fixed two-band response buffer cannot accommodate these lists.
>
> Use a larger bounded buffer and register only the 2.4 GHz and 5 GHz
> bands handled by this driver path. Ignore duplicate or unknown entries
> so they do not prevent wiphy setup. Skip unsupported bands in chanspec
> lists and scan results before decoding channels.
>
Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Regards,
Arend
> Co-developed-by: Hector Martin <marcan@xxxxxxxxx>
> Signed-off-by: Hector Martin <marcan@xxxxxxxxx>
> Signed-off-by: Michael Reeves <michael.reeves077@xxxxxxxxx>
> ---
> .../broadcom/brcm80211/brcmfmac/cfg80211.c | 48 +++++++++++++++++++---
> 1 file changed, 43 insertions(+), 5 deletions(-)