Home
last modified time | relevance | path

Searched refs:PayloadLen (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/staging/vt6655/
Ddpc.c1157 unsigned int PayloadLen = FrameSize; in s_bHandleRxEncryption() local
1172 PayloadLen -= 6; in s_bHandleRxEncryption()
1243 PayloadLen -= (WLAN_HDR_ADDR3_LEN + 4 + 4); // 24 is 802.11 header,4 is IV, 4 is crc in s_bHandleRxEncryption()
1247 rc4_encrypt(&pDevice->SBox, pbyIV+4, pbyIV+4, PayloadLen); in s_bHandleRxEncryption()
1249 if (ETHbIsBufferCrc32Ok(pbyIV+4, PayloadLen)) { in s_bHandleRxEncryption()
1257 PayloadLen -= (WLAN_HDR_ADDR3_LEN + 8 + 4); // 24 is 802.11 header, 8 is IV&ExtIV, 4 is crc in s_bHandleRxEncryption()
1274 rc4_encrypt(&pDevice->SBox, pbyIV+8, pbyIV+8, PayloadLen); in s_bHandleRxEncryption()
1275 if (ETHbIsBufferCrc32Ok(pbyIV+8, PayloadLen)) { in s_bHandleRxEncryption()
1280 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"PayloadLen = %d\n", PayloadLen); in s_bHandleRxEncryption()
1304 unsigned int PayloadLen = FrameSize; in s_bHostWepRxEncryption() local
[all …]
/linux-2.6.39/drivers/staging/vt6656/
Ddpc.c1157 unsigned int PayloadLen = FrameSize; in s_bHandleRxEncryption() local
1172 PayloadLen -= 6; in s_bHandleRxEncryption()
1243 PayloadLen -= (WLAN_HDR_ADDR3_LEN + 4 + 4); // 24 is 802.11 header,4 is IV, 4 is crc in s_bHandleRxEncryption()
1247 rc4_encrypt(&pDevice->SBox, pbyIV+4, pbyIV+4, PayloadLen); in s_bHandleRxEncryption()
1249 if (ETHbIsBufferCrc32Ok(pbyIV+4, PayloadLen)) { in s_bHandleRxEncryption()
1257 PayloadLen -= (WLAN_HDR_ADDR3_LEN + 8 + 4); // 24 is 802.11 header, 8 is IV&ExtIV, 4 is crc in s_bHandleRxEncryption()
1274 rc4_encrypt(&pDevice->SBox, pbyIV+8, pbyIV+8, PayloadLen); in s_bHandleRxEncryption()
1275 if (ETHbIsBufferCrc32Ok(pbyIV+8, PayloadLen)) { in s_bHandleRxEncryption()
1280 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"PayloadLen = %d\n", PayloadLen); in s_bHandleRxEncryption()
1305 unsigned int PayloadLen = FrameSize; in s_bHostWepRxEncryption() local
[all …]
/linux-2.6.39/drivers/staging/ath6kl/htc2/
Dhtc_recv.c255 payloadLen = A_GET_UINT16_FIELD(pBuf, struct htc_frame_hdr, PayloadLen); in HTCProcessRecvHeader()
642 pPacket->ActualLength = pHdr->PayloadLen + HTC_HDR_LENGTH; in HTCWaitforControlMessage()
725 if (pHdr->PayloadLen > HTC_MAX_PAYLOAD_LENGTH) { in AllocAndPrepareRxPackets()
727 pHdr->PayloadLen, (u32)HTC_MAX_PAYLOAD_LENGTH)); in AllocAndPrepareRxPackets()
754 …fullLength = DEV_CALC_RECV_PADDED_LEN(&target->Device,pHdr->PayloadLen + sizeof(struct htc_frame_h… in AllocAndPrepareRxPackets()
776 INC_HTC_EP_STAT(pEndpoint,RxAllocThreshBytes,pHdr->PayloadLen); in AllocAndPrepareRxPackets()
838 pHdr->PayloadLen, fullLength, pPacket->BufferLength)); in AllocAndPrepareRxPackets()
856 pPacket->ActualLength = pHdr->PayloadLen + HTC_HDR_LENGTH; in AllocAndPrepareRxPackets()
Dhtc_internal.h206 A_SET_UINT16_FIELD(pHdrBuf,struct htc_frame_hdr,PayloadLen,(u16)(pP)->ActualLength); \
/linux-2.6.39/drivers/staging/ath6kl/include/common/
Dhtc.h74 u16 PayloadLen; /* length of data (including trailer) that follows the header */ member