summaryrefslogtreecommitdiff
path: root/package/broadcom-wl/src/driver/proto/eap.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-06-14 11:00:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-06-14 11:00:30 +0000
commitb6fb8fd82131e12518ad05921f9994eeb1143001 (patch)
treec019a2ae14806f18c767eae96b3420c5a42d7246 /package/broadcom-wl/src/driver/proto/eap.h
parentefa4f944363ae632afee1d9bb185391558ba56c9 (diff)
downloadmtk-20170518-b6fb8fd82131e12518ad05921f9994eeb1143001.zip
mtk-20170518-b6fb8fd82131e12518ad05921f9994eeb1143001.tar.gz
mtk-20170518-b6fb8fd82131e12518ad05921f9994eeb1143001.tar.bz2
rename broadcom-wl to broadcom-wl-old
SVN-Revision: 21794
Diffstat (limited to 'package/broadcom-wl/src/driver/proto/eap.h')
-rw-r--r--package/broadcom-wl/src/driver/proto/eap.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/package/broadcom-wl/src/driver/proto/eap.h b/package/broadcom-wl/src/driver/proto/eap.h
deleted file mode 100644
index 04a10f6..0000000
--- a/package/broadcom-wl/src/driver/proto/eap.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Extensible Authentication Protocol (EAP) definitions
- *
- * See
- * RFC 2284: PPP Extensible Authentication Protocol (EAP)
- *
- * Copyright (C) 2002 Broadcom Corporation
- *
- */
-
-#ifndef _eap_h_
-#define _eap_h_
-
-/* EAP packet format */
-typedef struct {
- unsigned char code; /* EAP code */
- unsigned char id; /* Current request ID */
- unsigned short length; /* Length including header */
- unsigned char type; /* EAP type (optional) */
- unsigned char data[1]; /* Type data (optional) */
-} eap_header_t;
-
-#define EAP_HEADER_LEN 4
-
-/* EAP codes */
-#define EAP_REQUEST 1
-#define EAP_RESPONSE 2
-#define EAP_SUCCESS 3
-#define EAP_FAILURE 4
-
-/* EAP types */
-#define EAP_IDENTITY 1
-#define EAP_NOTIFICATION 2
-#define EAP_NAK 3
-#define EAP_MD5 4
-#define EAP_OTP 5
-#define EAP_GTC 6
-#define EAP_TLS 13
-#define EAP_EXPANDED 254
-#define BCM_EAP_SES 10
-#define BCM_EAP_EXP_LEN 12 /* EAP_LEN 5 + 3 bytes for SMI ID + 4 bytes for ven type */
-#define BCM_SMI_ID 0x113d
-
-#endif /* _eap_h_ */