Home
last modified time | relevance | path

Searched refs:pRSN (Results 1 – 18 of 18) sorted by relevance

/linux-3.4.99/drivers/staging/vt6656/
Dwpa.c110 PWLAN_IE_RSN_EXT pRSN in WPA_ParseRSN() argument
119 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"WPA_ParseRSN: [%d]\n", pRSN->len); in WPA_ParseRSN()
122 if ((pRSN->len >= 6) // oui1(4)+ver(2) in WPA_ParseRSN()
123 && (pRSN->byElementID == WLAN_EID_RSN_WPA) && !memcmp(pRSN->abyOUI, abyOUI01, 4) in WPA_ParseRSN()
124 && (pRSN->wVersion == 1)) { in WPA_ParseRSN()
128 if (pRSN->len >= 10) //oui1(4)+ver(2)+GKSuite(4) in WPA_ParseRSN()
130 if ( !memcmp(pRSN->abyMulticast, abyOUI01, 4)) in WPA_ParseRSN()
132 else if ( !memcmp(pRSN->abyMulticast, abyOUI02, 4)) in WPA_ParseRSN()
134 else if ( !memcmp(pRSN->abyMulticast, abyOUI03, 4)) in WPA_ParseRSN()
136 else if ( !memcmp(pRSN->abyMulticast, abyOUI04, 4)) in WPA_ParseRSN()
[all …]
Dwpa2.c112 PWLAN_IE_RSN pRSN in WPA2vParseRSN() argument
120 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"WPA2_ParseRSN: [%d]\n", pRSN->len); in WPA2vParseRSN()
124 if (pRSN->len == 2) { // ver(2) in WPA2vParseRSN()
125 if ((pRSN->byElementID == WLAN_EID_RSN) && (pRSN->wVersion == 1)) { in WPA2vParseRSN()
131 if (pRSN->len < 6) { // ver(2) + GK(4) in WPA2vParseRSN()
137 if ((pRSN->byElementID == WLAN_EID_RSN) && in WPA2vParseRSN()
138 (pRSN->wVersion == 1)) { in WPA2vParseRSN()
142 pbyOUI = &(pRSN->abyRSN[0]); in WPA2vParseRSN()
160 if (pRSN->len == 6) { in WPA2vParseRSN()
165 if (pRSN->len >= 8) { // ver(2) + GK(4) + PK count(2) in WPA2vParseRSN()
[all …]
Dwmgr.c1897 sFrame.pRSN, in s_vMgrRxBeacon()
1917 sFrame.pRSN, in s_vMgrRxBeacon()
3331 sFrame.pRSN = (PWLAN_IE_RSN)(sFrame.pBuf + sFrame.len); in s_MgrMakeBeacon()
3332 memcpy(sFrame.pRSN, pMgmt->abyWPAIE, pMgmt->wWPAIELen); in s_MgrMakeBeacon()
3467 sFrame.pRSN = (PWLAN_IE_RSN)(sFrame.pBuf + sFrame.len); in s_MgrMakeProbeResponse()
3468 memcpy(sFrame.pRSN, pMgmt->abyWPAIE, pMgmt->wWPAIELen); in s_MgrMakeProbeResponse()
3643 sFrame.pRSN = (PWLAN_IE_RSN)(sFrame.pBuf + sFrame.len); in s_MgrMakeAssocRequest()
3644 sFrame.pRSN->byElementID = WLAN_EID_RSN; in s_MgrMakeAssocRequest()
3645 sFrame.pRSN->len = 6; //Version(2)+GK(4) in s_MgrMakeAssocRequest()
3646 sFrame.pRSN->wVersion = 1; in s_MgrMakeAssocRequest()
[all …]
Dwpa.h69 PWLAN_IE_RSN_EXT pRSN
81 PWLAN_IE_RSN_EXT pRSN
D80211mgr.c176 if (pFrame->pRSN == NULL) in vMgrDecodeBeacon()
177 pFrame->pRSN = (PWLAN_IE_RSN)pItem; in vMgrDecodeBeacon()
389 if (pFrame->pRSN == NULL) in vMgrDecodeAssocRequest()
390 pFrame->pRSN = (PWLAN_IE_RSN)pItem; in vMgrDecodeAssocRequest()
559 if (pFrame->pRSN == NULL) in vMgrDecodeReassocRequest()
560 pFrame->pRSN = (PWLAN_IE_RSN)pItem; in vMgrDecodeReassocRequest()
747 if (pFrame->pRSN == NULL) in vMgrDecodeProbeResponse()
748 pFrame->pRSN = (PWLAN_IE_RSN)pItem; in vMgrDecodeProbeResponse()
Dwpa2.h62 void WPA2vParseRSN(PKnownBSS pBSSNode, PWLAN_IE_RSN pRSN);
Dbssdb.c349 PWLAN_IE_RSN pRSN, in BSSbInsertToBSSList() argument
449 if (pRSN != NULL) { in BSSbInsertToBSSList()
450 unsigned int uLen = pRSN->len + 2; in BSSbInsertToBSSList()
453 (unsigned int) (ULONG_PTR) ((PBYTE) pRSN - pbyIEs))) { in BSSbInsertToBSSList()
455 memcpy(pBSSList->byRSNIE, pRSN, uLen); in BSSbInsertToBSSList()
456 WPA2vParseRSN(pBSSList, pRSN); in BSSbInsertToBSSList()
530 PWLAN_IE_RSN pRSN, in BSSbUpdateToBSSList() argument
611 if (pRSN != NULL) { in BSSbUpdateToBSSList()
612 unsigned int uLen = pRSN->len + 2; in BSSbUpdateToBSSList()
614 (unsigned int) (ULONG_PTR) ((PBYTE) pRSN - pbyIEs))) { in BSSbUpdateToBSSList()
[all …]
D80211mgr.h540 PWLAN_IE_RSN pRSN; member
593 PWLAN_IE_RSN pRSN; member
637 PWLAN_IE_RSN pRSN; member
695 PWLAN_IE_RSN pRSN; member
Dbssdb.h251 PWLAN_IE_RSN pRSN,
269 PWLAN_IE_RSN pRSN,
/linux-3.4.99/drivers/staging/vt6655/
Dwpa.c110 PWLAN_IE_RSN_EXT pRSN in WPA_ParseRSN() argument
119 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"WPA_ParseRSN: [%d]\n", pRSN->len); in WPA_ParseRSN()
122 if ((pRSN->len >= 6) // oui1(4)+ver(2) in WPA_ParseRSN()
123 && (pRSN->byElementID == WLAN_EID_RSN_WPA) && !memcmp(pRSN->abyOUI, abyOUI01, 4) in WPA_ParseRSN()
124 && (pRSN->wVersion == 1)) { in WPA_ParseRSN()
128 if (pRSN->len >= 10) //oui1(4)+ver(2)+GKSuite(4) in WPA_ParseRSN()
130 if ( !memcmp(pRSN->abyMulticast, abyOUI01, 4)) in WPA_ParseRSN()
132 else if ( !memcmp(pRSN->abyMulticast, abyOUI02, 4)) in WPA_ParseRSN()
134 else if ( !memcmp(pRSN->abyMulticast, abyOUI03, 4)) in WPA_ParseRSN()
136 else if ( !memcmp(pRSN->abyMulticast, abyOUI04, 4)) in WPA_ParseRSN()
[all …]
Dwpa2.c113 PWLAN_IE_RSN pRSN in WPA2vParseRSN() argument
121 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"WPA2_ParseRSN: [%d]\n", pRSN->len); in WPA2vParseRSN()
125 if (pRSN->len == 2) { // ver(2) in WPA2vParseRSN()
126 if ((pRSN->byElementID == WLAN_EID_RSN) && (pRSN->wVersion == 1)) { in WPA2vParseRSN()
132 if (pRSN->len < 6) { // ver(2) + GK(4) in WPA2vParseRSN()
138 if ((pRSN->byElementID == WLAN_EID_RSN) && in WPA2vParseRSN()
139 (pRSN->wVersion == 1)) { in WPA2vParseRSN()
143 pbyOUI = &(pRSN->abyRSN[0]); in WPA2vParseRSN()
161 if (pRSN->len == 6) { in WPA2vParseRSN()
166 if (pRSN->len >= 8) { // ver(2) + GK(4) + PK count(2) in WPA2vParseRSN()
[all …]
Dwmgr.c1960 sFrame.pRSN, in s_vMgrRxBeacon()
1981 sFrame.pRSN, in s_vMgrRxBeacon()
3398 sFrame.pRSN = (PWLAN_IE_RSN)(sFrame.pBuf + sFrame.len); in s_MgrMakeBeacon()
3399 memcpy(sFrame.pRSN, pMgmt->abyWPAIE, pMgmt->wWPAIELen); in s_MgrMakeBeacon()
3591 sFrame.pRSN = (PWLAN_IE_RSN)(sFrame.pBuf + sFrame.len); in s_MgrMakeProbeResponse()
3592 memcpy(sFrame.pRSN, pMgmt->abyWPAIE, pMgmt->wWPAIELen); in s_MgrMakeProbeResponse()
3784 sFrame.pRSN = (PWLAN_IE_RSN)(sFrame.pBuf + sFrame.len); in s_MgrMakeAssocRequest()
3785 sFrame.pRSN->byElementID = WLAN_EID_RSN; in s_MgrMakeAssocRequest()
3786 sFrame.pRSN->len = 6; //Version(2)+GK(4) in s_MgrMakeAssocRequest()
3787 sFrame.pRSN->wVersion = 1; in s_MgrMakeAssocRequest()
[all …]
Dwpa.h69 PWLAN_IE_RSN_EXT pRSN
81 PWLAN_IE_RSN_EXT pRSN
D80211mgr.c176 if (pFrame->pRSN == NULL) { in vMgrDecodeBeacon()
177 pFrame->pRSN = (PWLAN_IE_RSN)pItem; in vMgrDecodeBeacon()
401 if (pFrame->pRSN == NULL) { in vMgrDecodeAssocRequest()
402 pFrame->pRSN = (PWLAN_IE_RSN)pItem; in vMgrDecodeAssocRequest()
581 if (pFrame->pRSN == NULL) { in vMgrDecodeReassocRequest()
582 pFrame->pRSN = (PWLAN_IE_RSN)pItem; in vMgrDecodeReassocRequest()
776 if (pFrame->pRSN == NULL) { in vMgrDecodeProbeResponse()
777 pFrame->pRSN = (PWLAN_IE_RSN)pItem; in vMgrDecodeProbeResponse()
Dbssdb.c382 PWLAN_IE_RSN pRSN, in BSSbInsertToBSSList() argument
483 if (pRSN != NULL) { in BSSbInsertToBSSList()
484 unsigned int uLen = pRSN->len + 2; in BSSbInsertToBSSList()
485 if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSN - pbyIEs))) { in BSSbInsertToBSSList()
487 memcpy(pBSSList->byRSNIE, pRSN, uLen); in BSSbInsertToBSSList()
488 WPA2vParseRSN(pBSSList, pRSN); in BSSbInsertToBSSList()
598 PWLAN_IE_RSN pRSN, in BSSbUpdateToBSSList() argument
683 if (pRSN != NULL) { in BSSbUpdateToBSSList()
684 unsigned int uLen = pRSN->len + 2; in BSSbUpdateToBSSList()
685 if (uLen <= (uIELength - (unsigned int)((unsigned char *)pRSN - pbyIEs))) { in BSSbUpdateToBSSList()
[all …]
D80211mgr.h524 PWLAN_IE_RSN pRSN; member
577 PWLAN_IE_RSN pRSN; member
618 PWLAN_IE_RSN pRSN; member
673 PWLAN_IE_RSN pRSN; member
Dwpa2.h69 PWLAN_IE_RSN pRSN
Dbssdb.h278 PWLAN_IE_RSN pRSN,
300 PWLAN_IE_RSN pRSN,