1981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* 2981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * rsn.h 3981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 4981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved. 5981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * All rights reserved. 6981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 7981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * Redistribution and use in source and binary forms, with or without 8981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * modification, are permitted provided that the following conditions 9981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * are met: 10981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 11981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * * Redistributions of source code must retain the above copyright 12981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * notice, this list of conditions and the following disclaimer. 13981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * * Redistributions in binary form must reproduce the above copyright 14981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * notice, this list of conditions and the following disclaimer in 15981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * the documentation and/or other materials provided with the 16981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * distribution. 17981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * * Neither the name Texas Instruments nor the names of its 18981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * contributors may be used to endorse or promote products derived 19981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * from this software without specific prior written permission. 20981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 21981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 24981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 25981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 27981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 33981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 34981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/** \file assocSM.h 35981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \brief 802.11 Association SM 36981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * 37981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt * \see assocSM.c 38981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt */ 39981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 40981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 41981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/***************************************************************************/ 42981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* */ 43981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* MODULE: assocSM.h */ 44981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* PURPOSE: 802.11 Association SM */ 45981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* */ 46981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/***************************************************************************/ 47981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 48981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#ifndef _RSN_H 49981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define _RSN_H 50981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 51981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#include "rsnApi.h" 52981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#include "paramOut.h" 53981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#include "siteHash.h" 54981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 55981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* Constants */ 56981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define RSN_MAX_IDENTITY_LEN 64 57981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define RSN_MAX_PASSWD_LEN 128 58981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 59981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define RSN_MAX_NUMBER_OF_EVENTS 6 60981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define RSN_MAX_NUMBER_OF_BANNED_SITES 16 61981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define RSN_MIC_FAILURE_REPORT_TIMEOUT 500 62981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define RSN_MIC_FAILURE_TIMEOUT (60000 + RSN_MIC_FAILURE_REPORT_TIMEOUT) 63981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define RSN_MAIN_KEYS_SESSION_TIMEOUT RSN_AUTH_FAILURE_TIMEOUT 64981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#define RSN_MIC_FAILURE_RE_KEY_TIMEOUT 3000 65981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 66981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* Enumerations */ 67981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef enum 68981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt{ 69981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt MIC_FAILURE_FALSE, 70981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt MIC_FAILURE_TRUE, 71981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt MIC_FAILURE_BLOCK 72981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt} rsn_micFailureStatus_e; 73981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 74981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef enum 75981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt{ 76981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt GROUP_KEY_UPDATE_FALSE, 77981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt GROUP_KEY_UPDATE_TRUE 78981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt} rsn_groupKeyUpdate_e; 79981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 80981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef enum 81981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt{ 82981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt PAIRWISE_KEY_UPDATE_FALSE, 83981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt PAIRWISE_KEY_UPDATE_TRUE 84981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt} rsn_pairwiseKeyUpdate_e; 85981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 86981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 87981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* Typedefs */ 88981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef struct _rsn_t rsn_t; 89981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 90981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_eventCallback_t)(void* pCtx, void *pData); 91981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_setPaeConfig_t)(rsn_t *pRsn, TRsnPaeConfig *pPaeConfig); 92981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_getNetworkMode_t)(rsn_t *pRsn, ERsnNetworkMode *pNetMode); 93981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 94981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_setKey_t)(rsn_t *pMainSec, TSecurityKeys *pKey); 95981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_removeKey_t)(rsn_t *pMainSec, TSecurityKeys *pKey); 96981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_setDefaultKeyId_t)(rsn_t *pMainSec, TI_UINT8 keyId); 97981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_reportStatus_t)(rsn_t *pRsn, TI_STATUS rsnStatus); 98981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_sendEapol_t)(rsn_t *pRsn, TI_UINT8 *pPacket, TI_UINT32 length); 99981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef TI_STATUS (*rsn_getSiteEntry_t)(rsn_t *pRsn, TMacAddr *macAddress, siteEntry_t *curSiteEntry); 100981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 101981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef struct 102981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt{ 103981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_eventCallback_t eventFunc; 104981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt void *pCtx; 105981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt} rsn_eventStruct_t; 106981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 107981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef struct 108981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt{ 109981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt char id[RSN_MAX_IDENTITY_LEN]; /**< User identity string */ 110981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_UINT8 idLength; /**< User identity string length */ 111981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt char password[RSN_MAX_PASSWD_LEN]; /**< User password string */ 112981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_UINT8 pwdLength; /**< User password string length */ 113981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt} authIdentity_t; 114981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 115981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidttypedef struct 116981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt{ 117981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt ERsnSiteBanLevel banLevel; 118981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_UINT32 banStartedMs; 119981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_UINT32 banDurationMs; 120981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TMacAddr siteBssid; 121981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt} rsn_siteBanEntry_t; 122981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 123981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidtstruct _rsn_t 124981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt{ 125981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_eventStruct_t events[RSN_MAX_NUMBER_OF_EVENTS]; 126981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TRsnPaeConfig paeConfig; 127981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_BOOL PrivacyOptionImplemented; 128981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 129981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TSecurityKeys keys[MAX_KEYS_NUM]; 130981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_BOOL keys_en [MAX_KEYS_NUM]; 131981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_UINT8 defaultKeyId; 132981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_BOOL defaultKeysOn; 133981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_BOOL wepDefaultKeys[MAX_KEYS_NUM]; 134981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_BOOL wepStaticKey; 135981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_groupKeyUpdate_e eGroupKeyUpdate; 136981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_pairwiseKeyUpdate_e ePairwiseKeyUpdate; 137981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt OS_802_11_EAP_TYPES eapType; 138981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 139981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_siteBanEntry_t bannedSites[RSN_MAX_NUMBER_OF_BANNED_SITES]; 140981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_UINT8 numOfBannedSites; 141981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 142981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hMicFailureReportWaitTimer; 143981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hMicFailureGroupReKeyTimer; 144981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hMicFailurePairwiseReKeyTimer; 145981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_BOOL bPairwiseMicFailureFilter; 146981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 147981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt struct _admCtrl_t *pAdmCtrl; 148981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt struct _mainSec_t *pMainSecSm; 149981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 150981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt struct _keyParser_t *pKeyParser; 151981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 152981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hTxCtrl; 153981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hRx; 154981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hConn; 155981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hCtrlData; 156981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hTWD; 157981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hSiteMgr; 158981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hReport; 159981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hOs; 160981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hXCCMngr; 161981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hEvHandler; 162981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hSmeSm; 163981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hAPConn; 164981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hMlme; 165981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hPowerMgr; 166981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hTimer; 167981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_HANDLE hCurrBss; 168981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 169981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_setPaeConfig_t setPaeConfig; 170981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_getNetworkMode_t getNetworkMode; 171981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_setKey_t setKey; 172981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_removeKey_t removeKey; 173981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_setDefaultKeyId_t setDefaultKeyId; 174981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt rsn_reportStatus_t reportStatus; 175981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 176981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_UINT32 rsnStartedTs; 177981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt TI_UINT32 rsnCompletedTs; 178653850f71f9caaa41af19cadbab24bb5e655daf4Dmitry Shmidt TI_BOOL bRsnExternalMode; 179981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt}; 180981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 181981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* Structures */ 182981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 183981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* External data definitions */ 184981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 185981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* External functions definitions */ 186981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 187981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt/* Function prototypes */ 188981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 189981801b95b81e6d1c7a2085967406e86af0f08fcDmitry ShmidtTI_STATUS rsn_reportStatus(rsn_t *pRsn, TI_STATUS status); 190981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 191981801b95b81e6d1c7a2085967406e86af0f08fcDmitry ShmidtTI_STATUS rsn_setPaeConfig(rsn_t *pRsn, TRsnPaeConfig *pPaeConfig); 192981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 193981801b95b81e6d1c7a2085967406e86af0f08fcDmitry ShmidtTI_STATUS rsn_getNetworkMode(rsn_t *pRsn, ERsnNetworkMode *pNetMode); 194981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 195981801b95b81e6d1c7a2085967406e86af0f08fcDmitry ShmidtTI_STATUS rsn_setKey(rsn_t *pMainSec, TSecurityKeys *pKey); 196981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 197981801b95b81e6d1c7a2085967406e86af0f08fcDmitry ShmidtTI_STATUS rsn_removeKey(rsn_t *pMainSec, TSecurityKeys *pKey); 198981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 199981801b95b81e6d1c7a2085967406e86af0f08fcDmitry ShmidtTI_STATUS rsn_setDefaultKeyId(rsn_t *pMainSec, TI_UINT8 keyId); 200981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 201981801b95b81e6d1c7a2085967406e86af0f08fcDmitry ShmidtTI_STATUS rsn_setDefaultKeys(rsn_t *pHandle); 202981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 203653850f71f9caaa41af19cadbab24bb5e655daf4Dmitry ShmidtTI_BOOL rsn_getPortStatus(rsn_t *pRsn); 204981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 205981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt#endif 206981801b95b81e6d1c7a2085967406e86af0f08fcDmitry Shmidt 207