[PATCH] Enable MACsec HW offload in driver_macsec_linux if supported
Jouni Malinen
j at w1.fi
Mon Nov 28 07:54:39 PST 2022
On Mon, Nov 28, 2022 at 02:04:19PM +0100, Benny Lønstrup Ammitzbøll wrote:
> On 26.11.2022 11.14, Jouni Malinen wrote:
> > This breaks the build with many existing systems since enum
> > macsec_offload is not defined. In other words, this would need some kind
> > of conditional build mechanism to try to include this only if the needed
> > defines are available.
> Since this is the driver code for linux MACsec I assume that those many
> existing systems are older versions of linux from before the macsec_offload
> was added. How do I check for this?
The most convenient option would be to be able to do #ifdef on something
new defined in the header file that defines these items. Alas, that
might not be available. If there is no convenient automated mechanism
for this, this might require a new wpa_supplicant/hostapd build option
to add safely.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list