Lines Matching defs:dwKeyIndex
1279 unsigned long dwKeyIndex = (unsigned long)(wrq->flags & IW_ENCODE_INDEX);
1299 if (dwKeyIndex > WLAN_WEP_NKEYS) {
1304 if(dwKeyIndex<1&&((wrq->flags&IW_ENCODE_NOKEY)==0)){//set default key
1306 dwKeyIndex=pDevice->byKeyIndex;
1308 else dwKeyIndex=0;
1309 }else dwKeyIndex--;
1327 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Set 40 bit wep key, index= %d\n", (int)dwKeyIndex);
1343 (unsigned long)(dwKeyIndex | (1 << 31)),
1353 pDevice->byKeyIndex = (unsigned char)dwKeyIndex;
1369 if(pkeytab->GroupKey[(unsigned char)dwKeyIndex].uKeyLength==0){
1374 pDevice->byKeyIndex =(unsigned char)dwKeyIndex;
1375 pkeytab->dwGTKeyIndex =dwKeyIndex | (1 << 31);
1376 pkeytab->GroupKey[(unsigned char)dwKeyIndex].dwKeyIndex=dwKeyIndex | (1 << 31);
1404 if (dwKeyIndex > WLAN_WEP_NKEYS) {
1409 if (dwKeyIndex > 0)
1410 dwKeyIndex--;
1422 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Set 40 bit wep key, index= %d\n", (int)dwKeyIndex);
1445 pDevice->byKeyIndex = (unsigned char)dwKeyIndex;