MACsec: Allow EAPOL version 3 to be configured
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
49be483b28
commit
0836c04b30
2 changed files with 8 additions and 0 deletions
|
@ -26,7 +26,11 @@ struct ieee802_1x_hdr {
|
|||
#pragma pack(pop)
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#ifdef CONFIG_MACSEC
|
||||
#define EAPOL_VERSION 3
|
||||
#else /* CONFIG_MACSEC */
|
||||
#define EAPOL_VERSION 2
|
||||
#endif /* CONFIG_MACSEC */
|
||||
|
||||
enum { IEEE802_1X_TYPE_EAP_PACKET = 0,
|
||||
IEEE802_1X_TYPE_EAPOL_START = 1,
|
||||
|
|
|
@ -3784,7 +3784,11 @@ static const struct global_parse_data global_fields[] = {
|
|||
{ FUNC_NO_VAR(no_ctrl_interface), 0 },
|
||||
{ STR(ctrl_interface_group), 0 } /* deprecated */,
|
||||
#endif /* CONFIG_CTRL_IFACE */
|
||||
#ifdef CONFIG_MACSEC
|
||||
{ INT_RANGE(eapol_version, 1, 3), 0 },
|
||||
#else /* CONFIG_MACSEC */
|
||||
{ INT_RANGE(eapol_version, 1, 2), 0 },
|
||||
#endif /* CONFIG_MACSEC */
|
||||
{ INT(ap_scan), 0 },
|
||||
{ FUNC(bgscan), 0 },
|
||||
{ INT(disable_scan_offload), 0 },
|
||||
|
|
Loading…
Reference in a new issue