Home
last modified time | relevance | path

Searched refs:pIe (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/common/
H A Dparser_rom.c85 ROM_parser_getIEPtr(void *priv, uint8 *pIe, IEPointers_t *pIePointers) in ROM_parser_getIEPtr() argument
88 switch (*pIe) { in ROM_parser_getIEPtr()
90 pIePointers->pSsid = (IEEEtypes_SsIdElement_t *)pIe; in ROM_parser_getIEPtr()
94 pIePointers->pDsParam = (IEEEtypes_DsParamElement_t *)pIe; in ROM_parser_getIEPtr()
98 pIePointers->pTim = (IEEEtypes_TimElement_t *)pIe; in ROM_parser_getIEPtr()
103 (IEEEtypes_SuppRatesElement_t *)pIe; in ROM_parser_getIEPtr()
108 = (IEEEtypes_ExtSuppRatesElement_t *)pIe; in ROM_parser_getIEPtr()
112 pIePointers->pErpInfo = (IEEEtypes_ERPInfoElement_t *)pIe; in ROM_parser_getIEPtr()
116 pIePointers->pIbssParam = (IEEEtypes_IbssParamElement_t *)pIe; in ROM_parser_getIEPtr()
120 pIePointers->pCountry = (IEEEtypes_CountryInfoElement_t *)pIe; in ROM_parser_getIEPtr()
[all …]
H A Dparser.c99 ieBufValidate(UINT8 *pIe, int bufLen) in ieBufValidate() argument
102 UINT8 ieLen = *(pIe + 1); in ieBufValidate()
107 pIe += ieLen + 2; in ieBufValidate()
114 GetIEPointers(void *priv, UINT8 *pIe, int bufLen, IEPointers_t *pIePointers) in GetIEPointers() argument
121 if (bufLen < (*(pIe + 1) + 2)) { in GetIEPointers()
126 switch (*pIe) { in GetIEPointers()
128 pIePointers->pRsn = (IEEEtypes_RSNElement_t *)pIe; in GetIEPointers()
131 pIePointers->pWapi = (IEEEtypes_WAPIElement_t *)pIe; in GetIEPointers()
140 if (ROM_parser_getIEPtr(priv, pIe, pIePointers) == in GetIEPointers()
142 if ((*pIe) == ELEM_ID_VENDOR_SPECIFIC) { in GetIEPointers()
[all …]
H A Dparser.h60 extern int ieBufValidate(UINT8 *pIe, int bufLen);
62 extern int GetIEPointers(void *priv, UINT8 *pIe,
65 extern BOOLEAN parser_getAssocIEs(void *priv, UINT8 *pIe,
70 UINT8 *pIe, int bufLen);
72 extern UINT8 parser_countNumInfoElements(UINT8 *pIe, int bufLen);
H A Dparser_rom.h130 extern BOOLEAN ROM_parser_getIEPtr(void *priv, uint8 *pIe,
132 extern BOOLEAN ROM_parser_getAssocIEPtr(void *priv, uint8 *pIe,
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/
H A DkeyMgmtAp_rom.c361 KeyData_CopyWPAWP2(hostsa_private *priv, EAPOL_KeyMsg_Tx_t *pTxEAPOL, void *pIe) in KeyData_CopyWPAWP2() argument
365 (IEEEtypes_InfoElementHdr_t *)pIe; in KeyData_CopyWPAWP2()
367 if (!pIe) { in KeyData_CopyWPAWP2()
375 pIe, pTxEAPOL->keyMsg.key_material_len); in KeyData_CopyWPAWP2()
460 IEEEtypes_InfoElementHdr_t *pIe, in keyMgmtAp_FormatWPARSN_IE_internal() argument
470 IEEEtypes_RSNElement_t *pRsn = (IEEEtypes_RSNElement_t *)pIe; in keyMgmtAp_FormatWPARSN_IE_internal()
471 IEEEtypes_WPAElement_t *pWpa = (IEEEtypes_WPAElement_t *)pIe; in keyMgmtAp_FormatWPARSN_IE_internal()
480 pIe->ElementId = (isRsn == 1) ? ELEM_ID_RSN : ELEM_ID_VENDOR_SPECIFIC; in keyMgmtAp_FormatWPARSN_IE_internal()
547 ieLength = (unsigned long)pBuf - (unsigned long)pIe; in keyMgmtAp_FormatWPARSN_IE_internal()
548 pIe->Len = ieLength - sizeof(IEEEtypes_InfoElementHdr_t); in keyMgmtAp_FormatWPARSN_IE_internal()
[all …]
H A DkeyMgmtSta_rom.c550 parseKeyKDE(phostsa_private priv, IEEEtypes_InfoElementHdr_t *pIe) in parseKeyKDE() argument
555 if (pIe->ElementId == ELEM_ID_VENDOR_SPECIFIC) { in parseKeyKDE()
556 pKde = (KDE_t *)pIe; in parseKeyKDE()
580 IEEEtypes_InfoElementHdr_t *pIe; in parseKeyKDE_DataType() local
595 pIe = (IEEEtypes_InfoElementHdr_t *)pData; in parseKeyKDE_DataType()
597 if (pIe->ElementId == ELEM_ID_VENDOR_SPECIFIC) { in parseKeyKDE_DataType()
598 pKde = parseKeyKDE(priv, pIe); in parseKeyKDE_DataType()
602 } else if (pIe->Len == 0) { in parseKeyKDE_DataType()
610 dataLen -= (pIe->Len + sizeof(IEEEtypes_InfoElementHdr_t)); in parseKeyKDE_DataType()
611 pData += (pIe->Len + sizeof(IEEEtypes_InfoElementHdr_t)); in parseKeyKDE_DataType()
H A DkeyMgmtAp.h58 IEEEtypes_InfoElementHdr_t *pIe,
H A DkeyMgmtAp_rom.h73 EAPOL_KeyMsg_Tx_t *pTxEAPOL, void *pIe);
H A Dauthenticator_api.h40 t_void *pconnPtr, t_u8 *pIe,
H A DkeyMgmtApStaCommon.h71 IEEEtypes_WPAElement_t *pIe,
H A DkeyMgmtAp.c531 UINT8 *pIe = NULL; in ProcessPWKMsg2() local
542 pIe = (UINT8 *)rx_eapol_ptr->key_data; in ProcessPWKMsg2()
543 ieLen = pIe[1] + sizeof(IEEEtypes_InfoElementHdr_t); in ProcessPWKMsg2()
544 GetIEPointers((void *)priv, pIe, ieLen, &iePointers); in ProcessPWKMsg2()
H A DkeyMgmtApStaCommon.c425 supplicantParseWpaIe(phostsa_private priv, IEEEtypes_WPAElement_t *pIe, in supplicantParseWpaIe() argument
432 IEEEtypes_WPAElement_t *pTemp = pIe; in supplicantParseWpaIe()
H A DkeyMgmtSta.c2133 supplicantParseAndFormatWpaIe(phostsa_private priv, IEEEtypes_WPAElement_t *pIe,
2140 IEEEtypes_WPAElement_t *pTemp = pIe;
2147 (UINT8 *)pIe + sizeof(IEEEtypes_InfoElementHdr_t) + pIe->Len;
2184 cp_size = (UINT8 *)(&pTemp->PwsKeyCnt) - (UINT8 *)pIe;
2185 memcpy(util_fns, pos, (UINT8 *)pIe, cp_size);
H A DkeyMgmtSta_rom.h48 IEEEtypes_InfoElementHdr_t *pIe);
H A Dauthenticator_api.c696 t_void *pconnPtr, t_u8 *pIe, t_u8 ieLen) in authenticator_get_sta_security_info() argument
706 ieLen = GetIEPointers((t_void *)priv, pIe, ieLen, &iePointers); in authenticator_get_sta_security_info()