Searched refs:dwKeyIndex (Results 1 – 11 of 11) sorted by relevance
/drivers/staging/vt6655/ |
D | key.c | 129 unsigned long dwKeyIndex, in KeybGetKey() argument 141 if (dwKeyIndex == 0xFFFFFFFF) { in KeybGetKey() 148 } else if (dwKeyIndex < MAX_GROUP_KEY) { in KeybGetKey() 149 if (pTable->KeyTable[i].GroupKey[dwKeyIndex].bKeyValid) { in KeybGetKey() 150 *pKey = &(pTable->KeyTable[i].GroupKey[dwKeyIndex]); in KeybGetKey() 183 unsigned long dwKeyIndex, in KeybSetKey() argument 197 pr_debug("Enter KeybSetKey: %lX\n", dwKeyIndex); in KeybSetKey() 208 if ((dwKeyIndex & PAIRWISE_KEY) != 0) { in KeybSetKey() 216 if ((dwKeyIndex & 0x000000FF) >= MAX_GROUP_KEY) in KeybSetKey() 218 pKey = &(pTable->KeyTable[i].GroupKey[dwKeyIndex & 0x000000FF]); in KeybSetKey() [all …]
|
D | key.h | 65 unsigned long dwKeyIndex; member 102 unsigned long dwKeyIndex, 109 unsigned long dwKeyIndex, 120 unsigned long dwKeyIndex, 132 unsigned long dwKeyIndex, 156 unsigned long dwKeyIndex, 167 unsigned long dwKeyIndex,
|
D | hostap.c | 411 unsigned long dwKeyIndex = 0; in hostap_set_encryption() local 451 pMgmt->sNodeDBTable[iNodeIndex].dwKeyIndex, in hostap_set_encryption() 458 pMgmt->sNodeDBTable[iNodeIndex].dwKeyIndex = 0; in hostap_set_encryption() 481 dwKeyIndex = (unsigned long)(param->u.crypt.idx); in hostap_set_encryption() 483 pDevice->byKeyIndex = (unsigned char)dwKeyIndex; in hostap_set_encryption() 485 dwKeyIndex |= (1 << 31); in hostap_set_encryption() 491 dwKeyIndex & ~(BIT30 | USE_KEYRSC), in hostap_set_encryption() 501 dwKeyIndex |= (1 << 30); /* set pairwise key */ in hostap_set_encryption() 504 dwKeyIndex & ~(USE_KEYRSC), in hostap_set_encryption() 524 pMgmt->sNodeDBTable[iNodeIndex].dwKeyIndex = dwKeyIndex; in hostap_set_encryption() [all …]
|
D | wpactl.c | 192 unsigned long dwKeyIndex = 0; in wpa_set_keys() local 232 dwKeyIndex = (unsigned long)(param->u.wpa_key.key_index); in wpa_set_keys() 235 if (dwKeyIndex > 3) { in wpa_set_keys() 239 pDevice->byKeyIndex = (unsigned char)dwKeyIndex; in wpa_set_keys() 241 dwKeyIndex |= (1 << 31); in wpa_set_keys() 244 dwKeyIndex & ~(BIT30 | USE_KEYRSC), in wpa_set_keys() 279 dwKeyIndex |= 1 << 29; in wpa_set_keys() 294 dwKeyIndex |= (1 << 31); in wpa_set_keys() 338 dwKeyIndex, in wpa_set_keys() 346 dwKeyIndex, in wpa_set_keys() [all …]
|
D | iwctl.c | 1221 unsigned long dwKeyIndex = (unsigned long)(wrq->flags & IW_ENCODE_INDEX); in iwctl_siwencode() local 1241 if (dwKeyIndex > WLAN_WEP_NKEYS) { in iwctl_siwencode() 1246 if (dwKeyIndex < 1 && ((wrq->flags & IW_ENCODE_NOKEY) == 0)) {//set default key in iwctl_siwencode() 1248 dwKeyIndex = pDevice->byKeyIndex; in iwctl_siwencode() 1250 dwKeyIndex = 0; in iwctl_siwencode() 1252 dwKeyIndex--; in iwctl_siwencode() 1269 (int)dwKeyIndex); in iwctl_siwencode() 1284 (unsigned long)(dwKeyIndex | (1 << 31)), in iwctl_siwencode() 1294 pDevice->byKeyIndex = (unsigned char)dwKeyIndex; in iwctl_siwencode() 1309 if (pkeytab->GroupKey[(unsigned char)dwKeyIndex].uKeyLength == 0) { in iwctl_siwencode() [all …]
|
D | wroute.c | 113 pTransmitKey->dwKeyIndex = pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex; in ROUTEbRelay()
|
D | ioctl.c | 67 unsigned long dwKeyIndex = 0; in private_ioctl() local 225 dwKeyIndex = ii | (1 << 31); in private_ioctl() 227 dwKeyIndex = ii; in private_ioctl() 230 dwKeyIndex, in private_ioctl()
|
D | bssdb.h | 189 unsigned long dwKeyIndex; member
|
D | dpc.c | 426 pKey->dwKeyIndex = pMgmt->sNodeDBTable[iSANodeIndex].dwKeyIndex; in device_receive_frame() 692 } else if ((pKey->dwKeyIndex & BIT28) == 0) { in device_receive_frame()
|
D | device_main.c | 1809 pTransmitKey->dwKeyIndex = pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex; in device_dma0_xmit() 2002 pTransmitKey->dwKeyIndex = pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex; in device_xmit() 2105 pTransmitKey->dwKeyIndex); in device_xmit() 2118 (pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex & PAIRWISE_KEY)) { in device_xmit() 2120 pTransmitKey->dwKeyIndex); in device_xmit()
|
D | rxtx.c | 211 byKeyIndex = pTransmitKey->dwKeyIndex & 0xf; in s_vFillTxKey() 1497 } else if ((pTransmitKey->dwKeyIndex & AUTHENTICATOR_KEY) != 0) { in s_cbFillTxBufHead() 2858 pTransmitKey->dwKeyIndex = pMgmt->sNodeDBTable[uNodeIndex].dwKeyIndex; in vDMA0_tx_80211()
|