Home
last modified time | relevance | path

Searched refs:pTransmitKey (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/staging/vt6655/
Dwroute.c77 PSKeyItem pTransmitKey = NULL; in ROUTEbRelay() local
107 if(KeybGetTransmitKey(&(pDevice->sKey), pbyBSSID, GROUP_KEY, &pTransmitKey) == false) { in ROUTEbRelay()
108 pTransmitKey = NULL; in ROUTEbRelay()
117 pTransmitKey = &STempKey; in ROUTEbRelay()
118 pTransmitKey->byCipherSuite = pMgmt->sNodeDBTable[uNodeIndex].byCipherSuite; in ROUTEbRelay()
119 pTransmitKey->dwKeyIndex = pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex; in ROUTEbRelay()
120 pTransmitKey->uKeyLength = pMgmt->sNodeDBTable[uNodeIndex].uWepKeyLength; in ROUTEbRelay()
121 pTransmitKey->dwTSC47_16 = pMgmt->sNodeDBTable[uNodeIndex].dwTSC47_16; in ROUTEbRelay()
122 pTransmitKey->wTSC15_0 = pMgmt->sNodeDBTable[uNodeIndex].wTSC15_0; in ROUTEbRelay()
123 memcpy(pTransmitKey->abyKey, in ROUTEbRelay()
[all …]
Drxtx.c123 PSKeyItem pTransmitKey,
177 PSKeyItem pTransmitKey, unsigned int uNodeIndex, unsigned int *puMACfragNum);
207 PSKeyItem pTransmitKey, in s_vFillTxKey() argument
223 if (pTransmitKey == NULL) in s_vFillTxKey()
228 byKeyIndex = pTransmitKey->dwKeyIndex & 0xf; in s_vFillTxKey()
230 if (pTransmitKey->byCipherSuite == KEY_CTL_WEP) { in s_vFillTxKey()
231 if (pTransmitKey->uKeyLength == WLAN_WEP232_KEYLEN ){ in s_vFillTxKey()
233 memcpy(pDevice->abyPRNG+3, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
236 memcpy(pbyBuf+3, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
237 if(pTransmitKey->uKeyLength == WLAN_WEP40_KEYLEN) { in s_vFillTxKey()
[all …]
Drxtx.h70 PSKeyItem pTransmitKey,
79 PSEthernetHeader psEthHeader, unsigned char *pPacket, PSKeyItem pTransmitKey,
Ddevice_main.c2129 PSKeyItem pTransmitKey = NULL; in device_dma0_xmit() local
2166 uMACfragNum = cbGetFragCount(pDevice, pTransmitKey, cbFrameBodySize, &pDevice->sTxEthHeader); in device_dma0_xmit()
2220 pTransmitKey = &STempKey; in device_dma0_xmit()
2221 pTransmitKey->byCipherSuite = pMgmt->sNodeDBTable[uNodeIndex].byCipherSuite; in device_dma0_xmit()
2222 pTransmitKey->dwKeyIndex = pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex; in device_dma0_xmit()
2223 pTransmitKey->uKeyLength = pMgmt->sNodeDBTable[uNodeIndex].uWepKeyLength; in device_dma0_xmit()
2224 pTransmitKey->dwTSC47_16 = pMgmt->sNodeDBTable[uNodeIndex].dwTSC47_16; in device_dma0_xmit()
2225 pTransmitKey->wTSC15_0 = pMgmt->sNodeDBTable[uNodeIndex].wTSC15_0; in device_dma0_xmit()
2226 memcpy(pTransmitKey->abyKey, in device_dma0_xmit()
2228 pTransmitKey->uKeyLength in device_dma0_xmit()
[all …]
Dbssdb.c494 PSKeyItem pTransmitKey = NULL; in BSSbInsertToBSSList() local
509 … ((KeybGetTransmitKey(&(pDevice->sKey), pDevice->abyBSSID, PAIRWISE_KEY, &pTransmitKey) == true) || in BSSbInsertToBSSList()
510 … (KeybGetTransmitKey(&(pDevice->sKey), pDevice->abyBSSID, GROUP_KEY, &pTransmitKey) == true)) { in BSSbInsertToBSSList()
Dwmgr.c1337 PSKeyItem pTransmitKey; in s_vMgrRxAuthenSequence_1() local
1397 …if(KeybGetTransmitKey(&(pDevice->sKey), pDevice->abyBroadcastAddr, GROUP_KEY, &pTransmitKey) == tr… in s_vMgrRxAuthenSequence_1()
1398 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pTransmitKey->uKeyLength+3); in s_vMgrRxAuthenSequence_1()
/linux-2.6.39/drivers/staging/vt6656/
Drxtx.c181 PSKeyItem pTransmitKey,
191 PSKeyItem pTransmitKey,
323 PSKeyItem pTransmitKey, in s_vFillTxKey() argument
338 if (pTransmitKey == NULL) in s_vFillTxKey()
343 pDevice->byKeyIndex = pTransmitKey->dwKeyIndex & 0xf; in s_vFillTxKey()
345 if (pTransmitKey->byCipherSuite == KEY_CTL_WEP) { in s_vFillTxKey()
346 if (pTransmitKey->uKeyLength == WLAN_WEP232_KEYLEN ){ in s_vFillTxKey()
348 memcpy(pDevice->abyPRNG+3, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
351 memcpy(pbyBuf+3, pTransmitKey->abyKey, pTransmitKey->uKeyLength); in s_vFillTxKey()
352 if(pTransmitKey->uKeyLength == WLAN_WEP40_KEYLEN) { in s_vFillTxKey()
[all …]
Dbssdb.c489 PSKeyItem pTransmitKey = NULL; in BSSbInsertToBSSList() local
506 … ((KeybGetTransmitKey(&(pDevice->sKey), pDevice->abyBSSID, PAIRWISE_KEY, &pTransmitKey) == TRUE) || in BSSbInsertToBSSList()
507 … (KeybGetTransmitKey(&(pDevice->sKey), pDevice->abyBSSID, GROUP_KEY, &pTransmitKey) == TRUE)) { in BSSbInsertToBSSList()
Drxtx.h678 PSKeyItem pTransmitKey,
Dwmgr.c1257 PSKeyItem pTransmitKey; in s_vMgrRxAuthenSequence_1() local
1317 …if(KeybGetTransmitKey(&(pDevice->sKey), pDevice->abyBroadcastAddr, GROUP_KEY, &pTransmitKey) == TR… in s_vMgrRxAuthenSequence_1()
1318 rc4_init(&pDevice->SBox, pDevice->abyPRNG, pTransmitKey->uKeyLength+3); in s_vMgrRxAuthenSequence_1()