]> git.ipfire.org Git - thirdparty/hostap.git/commit
MACsec: Add option to always include ICV Indicator
authorMartínek Petr <petr.martinek@elvac.eu>
Tue, 25 Feb 2025 08:18:06 +0000 (08:18 +0000)
committerJouni Malinen <j@w1.fi>
Sun, 2 Mar 2025 17:30:15 +0000 (19:30 +0200)
commita4d2288dec3833ea7940db7fb07cc1c0268d3516
tree9ccc4d9d47141ebed24ecaca80a23a65e22d3b49
parentd7b8fc93a757d770bede539c8704b910ca95e96c
MACsec: Add option to always include ICV Indicator

Some older MACsec switches incorrectly require ICV Indicator to be
present even when ICV has default length (Cisco C3560CX). To allow
communication with such devices option include-icv-indicator was added
to always include ICV Indicator.

Similar option is found in configuration of some other switches:

Cisco:
include-icv-indicator - this parameter configures inclusion of the
optional ICV Indicator as part of the transmitted MACsec Key Agreement
PDU (MKPDU). This configuration is necessary for MACsec to interoperate
with routers that run software prior to IOS XR version 6.1.3. This
configuration is also important in a service provider WAN setup where
MACsec interoperates with other vendor MACsec implementations that
expect ICV indicator to be present in the MKPDU.

fortiswitch:
include-mka-icv-ind: The MACsec Key Agreement (MKA) integrity check
value (ICV) indicator is always included. (enabled by default)

Signed-off-by: Petr Martínek <petr.martinek at elvac.eu>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.h
src/ap/wpa_auth_kay.c
src/pae/ieee802_1x_kay.c
src/pae/ieee802_1x_kay.h
wpa_supplicant/config.c
wpa_supplicant/config_file.c
wpa_supplicant/config_ssid.h
wpa_supplicant/wpa_supplicant.conf
wpa_supplicant/wpas_kay.c