Home
last modified time | relevance | path

Searched refs:MAC_ADDR_LEN (Results 1 – 25 of 47) sorted by relevance

12

/drivers/staging/rt2860/
Dmlme.h709 UCHAR Addr1[MAC_ADDR_LEN];
710 UCHAR Addr2[MAC_ADDR_LEN];
711 UCHAR Addr3[MAC_ADDR_LEN];
735 UCHAR DAAddr1[MAC_ADDR_LEN];
736 UCHAR SAAddr2[MAC_ADDR_LEN];
853 UCHAR Bssid[MAC_ADDR_LEN];
854 UCHAR Ta[MAC_ADDR_LEN];
860 UCHAR Addr1[MAC_ADDR_LEN];
861 UCHAR Addr2[MAC_ADDR_LEN];
868 UCHAR Addr1[MAC_ADDR_LEN];
[all …]
Drtmp.h93 extern UCHAR BROADCAST_ADDR[MAC_ADDR_LEN];
94 extern UCHAR MULTICAST_ADDR[MAC_ADDR_LEN];
95 extern UCHAR ZERO_MAC_ADDR[MAC_ADDR_LEN];
195 UCHAR Addr1[MAC_ADDR_LEN];
196 UCHAR Addr2[MAC_ADDR_LEN];
197 UCHAR Addr3[MAC_ADDR_LEN];
841 NdisMoveMemory(_p, _pMac1, MAC_ADDR_LEN); \
842 NdisMoveMemory((_p + MAC_ADDR_LEN), _pMac2, MAC_ADDR_LEN); \
843 NdisMoveMemory((_p + MAC_ADDR_LEN * 2), _pType, LENGTH_802_3_TYPE); \
910 …ADDR_EQUAL(pAddr1,pAddr2) RTMPEqualMemory((PVOID)(pAddr1), (PVOID)(pAddr2), MAC_ADDR_LEN)
[all …]
/drivers/staging/rt2870/
Dmlme.h728 UCHAR Addr1[MAC_ADDR_LEN];
729 UCHAR Addr2[MAC_ADDR_LEN];
730 UCHAR Addr3[MAC_ADDR_LEN];
754 UCHAR DAAddr1[MAC_ADDR_LEN];
755 UCHAR SAAddr2[MAC_ADDR_LEN];
872 UCHAR Bssid[MAC_ADDR_LEN];
873 UCHAR Ta[MAC_ADDR_LEN];
879 UCHAR Addr1[MAC_ADDR_LEN];
880 UCHAR Addr2[MAC_ADDR_LEN];
887 UCHAR Addr1[MAC_ADDR_LEN];
[all …]
Drtmp.h194 extern UCHAR BROADCAST_ADDR[MAC_ADDR_LEN];
195 extern UCHAR MULTICAST_ADDR[MAC_ADDR_LEN];
196 extern UCHAR ZERO_MAC_ADDR[MAC_ADDR_LEN];
296 UCHAR Addr1[MAC_ADDR_LEN];
297 UCHAR Addr2[MAC_ADDR_LEN];
298 UCHAR Addr3[MAC_ADDR_LEN];
774 NdisMoveMemory(_p, _pMac1, MAC_ADDR_LEN); \
775 NdisMoveMemory((_p + MAC_ADDR_LEN), _pMac2, MAC_ADDR_LEN); \
776 NdisMoveMemory((_p + MAC_ADDR_LEN * 2), _pType, LENGTH_802_3_TYPE); \
841 …ADDR_EQUAL(pAddr1,pAddr2) RTMPEqualMemory((PVOID)(pAddr1), (PVOID)(pAddr2), MAC_ADDR_LEN)
[all …]
/drivers/staging/rt2860/common/
Drtmp_tkip.c513 RTMPTkipAppend(&pAd->PrivateInfo.Tx, pDA, MAC_ADDR_LEN); in RTMPInitMICEngine()
515 RTMPTkipAppend(&pAd->PrivateInfo.Tx, pSA, MAC_ADDR_LEN); in RTMPInitMICEngine()
559 RTMPTkipAppend(&pAd->PrivateInfo.Rx, pDA, MAC_ADDR_LEN); in RTMPTkipCompareMICValue()
561 RTMPTkipAppend(&pAd->PrivateInfo.Rx, pSA, MAC_ADDR_LEN); in RTMPTkipCompareMICValue()
626 RTMPTkipAppend(&pAd->PrivateInfo.Rx, pDA, MAC_ADDR_LEN); in RTMPTkipCompareMICValueWithLLC()
628 RTMPTkipAppend(&pAd->PrivateInfo.Rx, pSA, MAC_ADDR_LEN); in RTMPTkipCompareMICValueWithLLC()
1102 UCHAR TA[MAC_ADDR_LEN]; in RTMPSoftDecryptTKIP()
1103 UCHAR DA[MAC_ADDR_LEN]; in RTMPSoftDecryptTKIP()
1104 UCHAR SA[MAC_ADDR_LEN]; in RTMPSoftDecryptTKIP()
1170 NdisMoveMemory(DA, pData+4, MAC_ADDR_LEN); in RTMPSoftDecryptTKIP()
[all …]
Dcmm_sanity.c130 if (NdisEqualMemory(pAd->MacTab.Content[pInfo->Wcid].Addr, pInfo->Addr, MAC_ADDR_LEN) == 0) in MlmeDelBAReqSanity()
1398 NdisMoveMemory(pDA, Ptr, MAC_ADDR_LEN); in PeerDlsReqSanity()
1399 Ptr += MAC_ADDR_LEN; in PeerDlsReqSanity()
1402 NdisMoveMemory(pSA, Ptr, MAC_ADDR_LEN); in PeerDlsReqSanity()
1403 Ptr += MAC_ADDR_LEN; in PeerDlsReqSanity()
1515 NdisMoveMemory(pDA, Ptr, MAC_ADDR_LEN); in PeerDlsRspSanity()
1516 Ptr += MAC_ADDR_LEN; in PeerDlsRspSanity()
1519 NdisMoveMemory(pSA, Ptr, MAC_ADDR_LEN); in PeerDlsRspSanity()
1520 Ptr += MAC_ADDR_LEN; in PeerDlsRspSanity()
1619 NdisMoveMemory(pDA, Ptr, MAC_ADDR_LEN); in PeerDlsTearDownSanity()
[all …]
Dcmm_wpa.c194 NdisMoveMemory(temp, &concatenation[CurrPos], MAC_ADDR_LEN); in WpaCountPTK()
259 curr = MAC_ADDR_LEN; in GenRandom()
/drivers/staging/rt2870/common/
Drtmp_tkip.c514 RTMPTkipAppend(&pAd->PrivateInfo.Tx, pDA, MAC_ADDR_LEN); in RTMPInitMICEngine()
516 RTMPTkipAppend(&pAd->PrivateInfo.Tx, pSA, MAC_ADDR_LEN); in RTMPInitMICEngine()
560 RTMPTkipAppend(&pAd->PrivateInfo.Rx, pDA, MAC_ADDR_LEN); in RTMPTkipCompareMICValue()
562 RTMPTkipAppend(&pAd->PrivateInfo.Rx, pSA, MAC_ADDR_LEN); in RTMPTkipCompareMICValue()
627 RTMPTkipAppend(&pAd->PrivateInfo.Rx, pDA, MAC_ADDR_LEN); in RTMPTkipCompareMICValueWithLLC()
629 RTMPTkipAppend(&pAd->PrivateInfo.Rx, pSA, MAC_ADDR_LEN); in RTMPTkipCompareMICValueWithLLC()
1105 UCHAR TA[MAC_ADDR_LEN]; in RTMPSoftDecryptTKIP()
1106 UCHAR DA[MAC_ADDR_LEN]; in RTMPSoftDecryptTKIP()
1107 UCHAR SA[MAC_ADDR_LEN]; in RTMPSoftDecryptTKIP()
1173 NdisMoveMemory(DA, pData+4, MAC_ADDR_LEN); in RTMPSoftDecryptTKIP()
[all …]
Dcmm_sanity.c138 if (NdisEqualMemory(pAd->MacTab.Content[pInfo->Wcid].Addr, pInfo->Addr, MAC_ADDR_LEN) == 0) in MlmeDelBAReqSanity()
1428 NdisMoveMemory(pDA, Ptr, MAC_ADDR_LEN); in PeerDlsReqSanity()
1429 Ptr += MAC_ADDR_LEN; in PeerDlsReqSanity()
1432 NdisMoveMemory(pSA, Ptr, MAC_ADDR_LEN); in PeerDlsReqSanity()
1433 Ptr += MAC_ADDR_LEN; in PeerDlsReqSanity()
1545 NdisMoveMemory(pDA, Ptr, MAC_ADDR_LEN); in PeerDlsRspSanity()
1546 Ptr += MAC_ADDR_LEN; in PeerDlsRspSanity()
1549 NdisMoveMemory(pSA, Ptr, MAC_ADDR_LEN); in PeerDlsRspSanity()
1550 Ptr += MAC_ADDR_LEN; in PeerDlsRspSanity()
1649 NdisMoveMemory(pDA, Ptr, MAC_ADDR_LEN); in PeerDlsTearDownSanity()
[all …]
Dcmm_wpa.c197 NdisMoveMemory(temp, &concatenation[CurrPos], MAC_ADDR_LEN); in WpaCountPTK()
262 curr = MAC_ADDR_LEN; in GenRandom()
/drivers/staging/rt2860/sta/
Dauth_rsp.c121 UCHAR Addr2[MAC_ADDR_LEN]; in PeerDeauthAction()
134 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in PeerDeauthAction()
Dassoc.c722 MAC_ADDR_LEN, ApAddr, in MlmeReassocReqAction()
864 CalcMicBufferLen = MAC_ADDR_LEN; in MlmeReassocReqAction()
866 CalcMicBufferLen += MAC_ADDR_LEN; in MlmeReassocReqAction()
1039 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in MlmeDisassocReqAction()
1064 UCHAR Addr2[MAC_ADDR_LEN]; in PeerAssocRspAction()
1110 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in PeerAssocRspAction()
1111 memcpy(wrqu.ap_addr.sa_data, pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in PeerAssocRspAction()
1172 UCHAR Addr2[MAC_ADDR_LEN]; in PeerReassocRspAction()
1215 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in PeerReassocRspAction()
1216 memcpy(wrqu.ap_addr.sa_data, pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in PeerReassocRspAction()
[all …]
Ddls.c208 UCHAR DA[MAC_ADDR_LEN], SA[MAC_ADDR_LEN]; in PeerDlsReqAction()
304 NdisMoveMemory(pAd->StaCfg.DLSEntry[i].MacAddr, SA, MAC_ADDR_LEN); in PeerDlsReqAction()
588 UCHAR DA[MAC_ADDR_LEN], SA[MAC_ADDR_LEN]; in PeerDlsRspAction()
1135 UCHAR DA[MAC_ADDR_LEN], SA[MAC_ADDR_LEN]; in PeerDlsTearDownAction()
1687 …Packet.Body_Len[1] = sizeof(KEY_DESCRIPTER) - MAX_LEN_OF_RSNIE + 6 + MAC_ADDR_LEN; // data field… in RTMPSendSTAKeyRequest()
1716 NdisMoveMemory(&Packet.KeyDesc.KeyData[6], pDA, MAC_ADDR_LEN); in RTMPSendSTAKeyRequest()
1803 …Packet.Body_Len[1] = sizeof(KEY_DESCRIPTER) - MAX_LEN_OF_RSNIE + 6 + MAC_ADDR_LEN; // data field… in RTMPSendSTAKeyHandShake()
1831 NdisMoveMemory(&Packet.KeyDesc.KeyData[6], pDA, MAC_ADDR_LEN); in RTMPSendSTAKeyHandShake()
2121 UCHAR mac[MAC_ADDR_LEN]; in Set_DlsAddEntry_Proc()
2170 UCHAR macAddr[MAC_ADDR_LEN]; in Set_DlsTearDownEntry_Proc()
Dsync.c596 UCHAR Bssid[MAC_ADDR_LEN], Addr2[MAC_ADDR_LEN]; in PeerBeaconAtScanAction()
736 UCHAR Bssid[MAC_ADDR_LEN], Addr2[MAC_ADDR_LEN]; in PeerBeaconAtJoinAction()
860 NdisMoveMemory(pAd->MlmeAux.Bssid, Bssid, MAC_ADDR_LEN); in PeerBeaconAtJoinAction()
998 UCHAR Bssid[MAC_ADDR_LEN], Addr2[MAC_ADDR_LEN]; in PeerBeacon()
1436 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in PeerBeacon()
1437 memcpy(wrqu.ap_addr.sa_data, pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in PeerBeacon()
1611 UCHAR Addr2[MAC_ADDR_LEN]; in PeerProbeReqAction()
Dauth.c198 UCHAR Addr2[MAC_ADDR_LEN]; in PeerAuthRspAtSeq2Action()
318 UCHAR Addr2[MAC_ADDR_LEN]; in PeerAuthRspAtSeq4Action()
Dconnect.c344 NdisZeroMemory(pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in CntlOidSsidProc()
423 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in CntlOidSsidProc()
424 memcpy(wrqu.ap_addr.sa_data, pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in CntlOidSsidProc()
561 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in CntlOidRTBssidProc()
562 memcpy(wrqu.ap_addr.sa_data, pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in CntlOidRTBssidProc()
1691 RTMPMoveMemory(pAd->MacTab.Content[BSSID_WCID].Addr, pAd->CommonCfg.Bssid, MAC_ADDR_LEN); in LinkUp()
2126 NdisZeroMemory(pAd->CommonCfg.Bssid, MAC_ADDR_LEN); in LinkDown()
2284 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in LinkDown()
/drivers/staging/rt2870/sta/
Dauth_rsp.c121 UCHAR Addr2[MAC_ADDR_LEN]; in PeerDeauthAction()
133 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in PeerDeauthAction()
Dassoc.c701 MAC_ADDR_LEN, ApAddr, in MlmeReassocReqAction()
843 CalcMicBufferLen = MAC_ADDR_LEN; in MlmeReassocReqAction()
845 CalcMicBufferLen += MAC_ADDR_LEN; in MlmeReassocReqAction()
1018 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in MlmeDisassocReqAction()
1043 UCHAR Addr2[MAC_ADDR_LEN]; in PeerAssocRspAction()
1141 UCHAR Addr2[MAC_ADDR_LEN]; in PeerReassocRspAction()
1184 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in PeerReassocRspAction()
1185 memcpy(wrqu.ap_addr.sa_data, pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in PeerReassocRspAction()
1392 UCHAR Addr2[MAC_ADDR_LEN]; in PeerDisassocAction()
1446 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in PeerDisassocAction()
[all …]
Ddls.c208 UCHAR DA[MAC_ADDR_LEN], SA[MAC_ADDR_LEN]; in PeerDlsReqAction()
304 NdisMoveMemory(pAd->StaCfg.DLSEntry[i].MacAddr, SA, MAC_ADDR_LEN); in PeerDlsReqAction()
588 UCHAR DA[MAC_ADDR_LEN], SA[MAC_ADDR_LEN]; in PeerDlsRspAction()
1135 UCHAR DA[MAC_ADDR_LEN], SA[MAC_ADDR_LEN]; in PeerDlsTearDownAction()
1692 …Packet.Body_Len[1] = sizeof(KEY_DESCRIPTER) - MAX_LEN_OF_RSNIE + 6 + MAC_ADDR_LEN; // data field… in RTMPSendSTAKeyRequest()
1721 NdisMoveMemory(&Packet.KeyDesc.KeyData[6], pDA, MAC_ADDR_LEN); in RTMPSendSTAKeyRequest()
1808 …Packet.Body_Len[1] = sizeof(KEY_DESCRIPTER) - MAX_LEN_OF_RSNIE + 6 + MAC_ADDR_LEN; // data field… in RTMPSendSTAKeyHandShake()
1836 NdisMoveMemory(&Packet.KeyDesc.KeyData[6], pDA, MAC_ADDR_LEN); in RTMPSendSTAKeyHandShake()
2130 UCHAR mac[MAC_ADDR_LEN]; in Set_DlsAddEntry_Proc()
2179 UCHAR macAddr[MAC_ADDR_LEN]; in Set_DlsTearDownEntry_Proc()
Dsync.c545 UCHAR Bssid[MAC_ADDR_LEN], Addr2[MAC_ADDR_LEN]; in PeerBeaconAtScanAction()
687 UCHAR Bssid[MAC_ADDR_LEN], Addr2[MAC_ADDR_LEN]; in PeerBeaconAtJoinAction()
811 NdisMoveMemory(pAd->MlmeAux.Bssid, Bssid, MAC_ADDR_LEN); in PeerBeaconAtJoinAction()
949 UCHAR Bssid[MAC_ADDR_LEN], Addr2[MAC_ADDR_LEN]; in PeerBeacon()
1405 UCHAR Addr2[MAC_ADDR_LEN]; in PeerProbeReqAction()
Dauth.c198 UCHAR Addr2[MAC_ADDR_LEN]; in PeerAuthRspAtSeq2Action()
318 UCHAR Addr2[MAC_ADDR_LEN]; in PeerAuthRspAtSeq4Action()
Dconnect.c374 NdisZeroMemory(pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in CntlOidSsidProc()
453 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in CntlOidSsidProc()
454 memcpy(wrqu.ap_addr.sa_data, pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in CntlOidSsidProc()
598 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in CntlOidRTBssidProc()
599 memcpy(wrqu.ap_addr.sa_data, pAd->MlmeAux.Bssid, MAC_ADDR_LEN); in CntlOidRTBssidProc()
1741 RTMPMoveMemory(pAd->MacTab.Content[BSSID_WCID].Addr, pAd->CommonCfg.Bssid, MAC_ADDR_LEN); in LinkUp()
2158 NdisZeroMemory(pAd->CommonCfg.Bssid, MAC_ADDR_LEN); in LinkDown()
2319 memset(wrqu.ap_addr.sa_data, 0, MAC_ADDR_LEN); in LinkDown()
/drivers/scsi/qla4xxx/
Dql4_def.h116 #define MAC_ADDR_LEN 6 /* in bytes */ macro
367 uint8_t my_mac[MAC_ADDR_LEN];
/drivers/net/
Dgianfar.c200 memcpy(dev->dev_addr, mac_addr, MAC_ADDR_LEN); in gfar_of_init()
2148 u8 zero_arr[MAC_ADDR_LEN] = {0,0,0,0,0,0}; in gfar_clear_exact_match()
2171 u32 result = ether_crc(MAC_ADDR_LEN, addr); in gfar_set_hash_for_addr()
2192 char tmpbuf[MAC_ADDR_LEN]; in gfar_set_mac_for_addr()
2200 for (idx = 0; idx < MAC_ADDR_LEN; idx++) in gfar_set_mac_for_addr()
2201 tmpbuf[MAC_ADDR_LEN - 1 - idx] = addr[idx]; in gfar_set_mac_for_addr()
Dsis190.c58 #define MAC_ADDR_LEN 6 macro
1562 for (i = 0; i < MAC_ADDR_LEN / 2; i++) { in sis190_get_mac_addr_from_eeprom()
1613 for (i = 0; i < MAC_ADDR_LEN; i++) { in sis190_get_mac_addr_from_apc()
1652 for (i = 0; i < MAC_ADDR_LEN; i++) in sis190_init_rxfilter()

12