1 /** @file AssocAp_src_rom.h 2 * 3 * @brief This file contains define check rsn/wpa ie 4 * 5 * Copyright (C) 2014-2017, Marvell International Ltd. 6 * 7 * This software file (the "File") is distributed by Marvell International 8 * Ltd. under the terms of the GNU General Public License Version 2, June 1991 9 * (the "License"). You may use, redistribute and/or modify this File in 10 * accordance with the terms and conditions of the License, a copy of which 11 * is available by writing to the Free Software Foundation, Inc., 12 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 13 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 14 * 15 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 16 * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE 17 * ARE EXPRESSLY DISCLAIMED. The License provides additional details about 18 * this warranty disclaimer. 19 */ 20 21 /****************************************************** 22 Change log: 23 03/07/2014: Initial version 24 ******************************************************/ 25 #ifndef ASSOCAP_SRV_ROM_H_ 26 #define ASSOCAP_SRV_ROM_H_ 27 28 #include "wltypes.h" 29 #include "IEEE_types.h" 30 #include "keyMgmtStaTypes.h" 31 #include "keyMgmtApTypes_rom.h" 32 #include "authenticator.h" 33 34 WL_STATUS assocSrvAp_checkRsnWpa(cm_Connection *connPtr, 35 apKeyMgmtInfoStaRom_t *pKeyMgmtInfo, 36 Cipher_t apWpaCipher, 37 Cipher_t apWpa2Cipher, 38 Cipher_t apMcstCipher, 39 UINT16 apAuthKey, 40 SecurityMode_t *pSecType, 41 IEEEtypes_RSNElement_t *pRsn, 42 IEEEtypes_WPAElement_t *pWpa, 43 BOOLEAN validate4WayHandshakeIE); 44 45 SINT32 assocSrvAp_CheckSecurity(cm_Connection *connPtr, 46 IEEEtypes_WPSElement_t *pWps, 47 IEEEtypes_RSNElement_t *pRsn, 48 IEEEtypes_WPAElement_t *pWpa, 49 IEEEtypes_WAPIElement_t *pWapi, 50 IEEEtypes_StatusCode_t *pResult); 51 #endif 52