[PATCH v2] MLD STA: Add support for parsing MLO KDEs

Peer, Ilan ilan.peer at intel.com
Tue Sep 13 00:01:27 PDT 2022


Hi,

> +#define MAX_NUM_MLO_LINKS 15
> +	bool mlo_gtk_found;
> +	bool mlo_igtk_found;

Maybe use here a bitmask to track the received GTK/IGTK/BIGTK? I think this could simplify things in later patches.

> +	const u8 *mlo_gtk[MAX_NUM_MLO_LINKS];
> +	size_t mlo_gtk_len[MAX_NUM_MLO_LINKS];
> +	const u8 *mlo_igtk[MAX_NUM_MLO_LINKS];
> +	size_t mlo_igtk_len[MAX_NUM_MLO_LINKS];
> +	const u8 *mlo_bigtk[MAX_NUM_MLO_LINKS];
> +	size_t mlo_bigtk_len[MAX_NUM_MLO_LINKS];
> +	const u8 *mlo_link[MAX_NUM_MLO_LINKS];
> +	size_t mlo_link_len[MAX_NUM_MLO_LINKS];
>  };

Regards,

Ilan.



More information about the Hostap mailing list