From acacaa33efc0aa79d58f00bbacc9db6b8c2da676 Mon Sep 17 00:00:00 2001 From: spuligil Date: Sun, 2 Nov 2025 12:01:42 -0800 Subject: [PATCH] fw-api: CL 30839654 - update fw common interface files Change-Id: If37f224e01f36acd050db62a3a80df9d15cc3684 CRs-Fixed: 3830439 --- fw/enet.h | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/fw/enet.h b/fw/enet.h index 54a561eb1db8..d8f84c595287 100644 --- a/fw/enet.h +++ b/fw/enet.h @@ -92,8 +92,8 @@ typedef PREPACK struct { } POSTPACK vlan_hdr_t; #define ETHERTYPE_IS_EAPOL_WAPI(typeorlen) \ - ((typeorlen) == ETHERTYPE_PAE || \ - (typeorlen) == ETHERTYPE_WAI) + ((typeorlen) == ETHERTYPE_PAE || \ + (typeorlen) == ETHERTYPE_WAI) #define IS_ETHERTYPE(_typeOrLen) ((_typeOrLen) >= 0x0600) @@ -102,11 +102,11 @@ typedef PREPACK struct { #endif #ifndef ETHERTYPE_AARP -#define ETHERTYPE_AARP 0x80f3 /* Internal QCA AARP protocol */ +#define ETHERTYPE_AARP 0x80f3 /* Internal QCA AARP protocol */ #endif #ifndef ETHERTYPE_IPX -#define ETHERTYPE_IPX 0x8137 /* IPX over DIX protocol */ +#define ETHERTYPE_IPX 0x8137 /* IPX over DIX protocol */ #endif #ifndef ETHERTYPE_ARP @@ -133,6 +133,18 @@ typedef PREPACK struct { #define ETHERTYPE_PAE 0x888E /* EAP over LAN (EAPOL) */ #endif + #ifndef EAPOL_KEY_TYPE + #define EAPOL_KEY_TYPE 0x3 /* EAP over LAN (EAPOL) */ + #endif + + #ifndef EAPOL_PAIRKEY + #define EAPOL_PAIRKEY 0x008 + #endif + + #ifndef EAPOL_GRPKEY + #define EAPOL_GRPKEY 0x00 + #endif + #ifndef ETHERTYPE_WAI #define ETHERTYPE_WAI 0x88B4 /* WAPI */ #endif