1/* 2 * Exposed interfaces of wlc_auth.c 3 * 4 * Copyright (C) 2014, Broadcom Corporation 5 * All Rights Reserved. 6 * 7 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation; 8 * the contents of this file may not be disclosed to third parties, copied 9 * or duplicated in any form, in whole or in part, without the prior 10 * written permission of Broadcom Corporation. 11 * 12 * $Id: wlc_auth.h,v 1.1.1.1 2010-02-04 00:44:37 $ 13 */ 14 15#ifndef _wlc_auth_h_ 16#define _wlc_auth_h_ 17 18/* Values for type parameter of wlc_set_auth() */ 19#define AUTH_UNUSED 0 /* Authenticator unused */ 20#define AUTH_WPAPSK 1 /* Used for WPA-PSK */ 21 22 23/* Install WPA PSK material in authenticator */ 24extern int wlc_auth_set_pmk(authenticator_t *auth, wsec_pmk_t *psk); 25extern bool wlc_set_auth(authenticator_t *auth, int type, uint8 *sup_ies, uint sup_ies_len, 26 uint8 *auth_ies, uint auth_ies_len, sta_parms_t *scb); 27 28extern bool wlc_auth_eapol(authenticator_t *auth, eapol_header_t *eapol_hdr, 29 bool encrypted, sta_parms_t *scb); 30 31extern void wlc_auth_retry_timer(void *arg); 32 33extern void wlc_auth_initialize_gkc(authenticator_t *auth); 34 35#endif /* _wlc_auth_h_ */ 36