[go: nahoru, domu]

Searched refs:pMACHeader (Results 1 - 6 of 6) sorted by relevance

/drivers/staging/vt6655/
H A Dwctl.h38 #define IS_TYPE_DATA(pMACHeader) \
39 ((((PS802_11Header) pMACHeader)->wFrameCtl & TYPE_802_11_MASK) == TYPE_802_11_DATA)
41 #define IS_TYPE_MGMT(pMACHeader) \
42 ((((PS802_11Header) pMACHeader)->wFrameCtl & TYPE_802_11_MASK) == TYPE_802_11_MGMT)
44 #define IS_TYPE_CONTROL(pMACHeader) \
45 ((((PS802_11Header) pMACHeader)->wFrameCtl & TYPE_802_11_MASK) == TYPE_802_11_CTL)
47 #define IS_FC_MOREDATA(pMACHeader) \
48 ((((PS802_11Header) pMACHeader)->wFrameCtl & FC_MOREDATA) == FC_MOREDATA)
50 #define IS_FC_POWERMGT(pMACHeader) \
51 ((((PS802_11Header) pMACHeader)
[all...]
H A Dwctl.c59 * pMACHeader - 802.11 MAC Header of received packet
67 bool WCTLbIsDuplicate(PSCache pCache, PS802_11Header pMACHeader) argument
73 if (IS_FC_RETRY(pMACHeader)) {
77 if ((pCacheEntry->wFmSequence == pMACHeader->wSeqCtl) &&
79 pMACHeader->abyAddr2)) {
88 pCacheEntry->wFmSequence = pMACHeader->wSeqCtl;
89 memcpy(&(pCacheEntry->abyAddr2[0]), &(pMACHeader->abyAddr2[0]), ETH_ALEN);
101 * pMACHeader - 802.11 MAC Header of received packet
109 PS802_11Header pMACHeader)
116 pMACHeader
108 WCTLuSearchDFCB(struct vnt_private *pDevice, PS802_11Header pMACHeader) argument
137 WCTLuInsertDFCB(struct vnt_private *pDevice, PS802_11Header pMACHeader) argument
173 WCTLbHandleFragment(struct vnt_private *pDevice, PS802_11Header pMACHeader, unsigned int cbFrameLength, bool bWEP, bool bExtIV) argument
[all...]
H A Ddpc.c154 PS802_11Header pMACHeader; local
157 pMACHeader = (PS802_11Header) (pbyRxBufferAddr + cbHeaderSize);
159 s_vGetDASA((unsigned char *)pMACHeader, &cbHeaderSize, &pDevice->sRxEthHeader);
234 PS802_11Header pMACHeader; local
237 pMACHeader = (PS802_11Header) (pbyRxBufferAddr + cbHeaderSize);
239 if ((pMACHeader->wFrameCtl & FC_TODS) == 0) {
240 if (pMACHeader->wFrameCtl & FC_FROMDS) {
242 psEthHeader->abyDstAddr[ii] = pMACHeader->abyAddr1[ii];
243 psEthHeader->abySrcAddr[ii] = pMACHeader->abyAddr3[ii];
248 psEthHeader->abyDstAddr[ii] = pMACHeader
310 PS802_11Header pMACHeader; local
1090 PS802_11Header pMACHeader = (PS802_11Header)(pbyFrame); local
1127 PS802_11Header pMACHeader; local
[all...]
H A Daes_ccmp.c246 PS802_11Header pMACHeader = (PS802_11Header) pbyFrame; local
267 memcpy(&(abyNonce[1]), pMACHeader->abyAddr2, ETH_ALEN);
284 byTmp = (unsigned char)(pMACHeader->wFrameCtl & 0xff);
286 byTmp = (unsigned char)(pMACHeader->wFrameCtl >> 8);
289 memcpy(&(MIC_HDR1[4]), pMACHeader->abyAddr1, ETH_ALEN);
290 memcpy(&(MIC_HDR1[10]), pMACHeader->abyAddr2, ETH_ALEN);
293 memcpy(&(MIC_HDR2[0]), pMACHeader->abyAddr3, ETH_ALEN);
294 byTmp = (unsigned char)(pMACHeader->wSeqCtl & 0xff);
298 memcpy(&(MIC_HDR2[8]), pMACHeader->abyAddr4, ETH_ALEN);
H A Drxtx.c201 PS802_11Header pMACHeader = (PS802_11Header)pbyHdrBuf; local
267 memcpy(mic_hdr->mic_addr2, pMACHeader->abyAddr2, ETH_ALEN);
285 memcpy(mic_hdr->addr1, pMACHeader->abyAddr1, ETH_ALEN);
286 memcpy(mic_hdr->addr2, pMACHeader->abyAddr2, ETH_ALEN);
289 memcpy(mic_hdr->addr3, pMACHeader->abyAddr3, ETH_ALEN);
291 cpu_to_le16(pMACHeader->wFrameCtl & 0xc78f);
292 mic_hdr->seq_ctrl = cpu_to_le16(pMACHeader->wSeqCtl & 0xf);
295 memcpy(mic_hdr->addr4, pMACHeader->abyAddr4, ETH_ALEN);
2098 PS802_11Header pMACHeader = (PS802_11Header)pbyBufferAddr; local
2100 memset(pMACHeader,
2161 PS802_11Header pMACHeader; local
2449 PS802_11Header pMACHeader; local
2604 PS802_11Header pMACHeader; local
[all...]
H A Dbssdb.c1222 PS802_11Header pMACHeader; local
1292 pMACHeader = (PS802_11Header)(pbyBuffer + uFIFOHeaderSize);
1294 if (BSSDBbIsSTAInNodeDB((void *)pMgmt, &(pMACHeader->abyAddr1[0]), &uNodeIndex)) {

Completed in 71 milliseconds