• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/common/

Lines Matching refs:pMsg

64 				  u8 RSNIE_LEN, struct rt_eapol_packet * pMsg);
67 u8 * PTK, struct rt_eapol_packet * pMsg);
2331 u8 RSNIE_Len, struct rt_eapol_packet * pMsg)
2342 pMsg->ProVer = EAPOL_VER;
2343 pMsg->ProType = EAPOLKey;
2346 SET_u16_TO_ARRARY(pMsg->Body_Len, LEN_EAPOL_KEY_MSG);
2350 pMsg->KeyDesc.Type = WPA2_KEY_DESC;
2352 pMsg->KeyDesc.Type = WPA1_KEY_DESC;
2365 pMsg->KeyDesc.KeyInfo.KeyDescVer = KeyDescVer;
2369 pMsg->KeyDesc.KeyInfo.KeyType = GROUPKEY;
2371 pMsg->KeyDesc.KeyInfo.KeyType = PAIRWISEKEY;
2375 pMsg->KeyDesc.KeyInfo.KeyIndex = DefaultKeyIdx;
2378 pMsg->KeyDesc.KeyInfo.Install = 1;
2382 pMsg->KeyDesc.KeyInfo.KeyAck = 1;
2385 pMsg->KeyDesc.KeyInfo.KeyMic = 1;
2389 pMsg->KeyDesc.KeyInfo.Secure = 1;
2394 pMsg->KeyDesc.KeyInfo.EKD_DL = 1;
2397 *(u16 *) (&pMsg->KeyDesc.KeyInfo) =
2398 cpu2le16(*(u16 *) (&pMsg->KeyDesc.KeyInfo));
2404 pMsg->KeyDesc.KeyLength[1] =
2410 pMsg->KeyDesc.KeyLength[1] =
2418 NdisMoveMemory(pMsg->KeyDesc.ReplayCounter, pEntry->R_Counter,
2427 NdisMoveMemory(pMsg->KeyDesc.KeyNonce, KeyNonce,
2433 NdisMoveMemory(pMsg->KeyDesc.KeyIv, &KeyNonce[16],
2435 pMsg->KeyDesc.KeyIv[15] += 2;
2441 NdisMoveMemory(pMsg->KeyDesc.KeyRsc, TxRSC, 6);
2444 NdisZeroMemory(pMsg->KeyDesc.KeyMic, LEN_KEY_DESC_MIC);
2450 DefaultKeyIdx, GTK, RSNIE, RSNIE_Len, pMsg);
2454 CalculateMIC(KeyDescVer, pEntry->PTK, pMsg);
2462 CONV_ARRARY_TO_u16(pMsg->Body_Len)));
2465 CONV_ARRARY_TO_u16(pMsg->KeyDesc.KeyLength)));
2493 u8 RSNIE_LEN, struct rt_eapol_packet * pMsg)
2523 SET_u16_TO_ARRARY(pMsg->KeyDesc.KeyDataLen, 0);
2622 NdisMoveMemory(ekey, pMsg->KeyDesc.KeyIv,
2634 NdisMoveMemory(pMsg->KeyDesc.KeyData, Rc4GTK, data_offset);
2636 NdisMoveMemory(pMsg->KeyDesc.KeyData, Key_Data, data_offset);
2640 SET_u16_TO_ARRARY(pMsg->KeyDesc.KeyDataLen, data_offset);
2641 INC_u16_TO_ARRARY(pMsg->Body_Len, data_offset);
2664 u8 * PTK, struct rt_eapol_packet * pMsg)
2680 CONV_ARRARY_TO_u16(pMsg->Body_Len) + 4, pMsg,
2696 NdisMoveMemory(pMsg->KeyDesc.KeyMic, mic, LEN_KEY_DESC_MIC);