Searched refs:PayloadLen (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/vt6655/
H A Ddpc.c1152 unsigned int PayloadLen = FrameSize; local
1167 PayloadLen -= 6;
1238 PayloadLen -= (WLAN_HDR_ADDR3_LEN + 4 + 4); // 24 is 802.11 header,4 is IV, 4 is crc
1242 rc4_encrypt(&pDevice->SBox, pbyIV+4, pbyIV+4, PayloadLen);
1244 if (ETHbIsBufferCrc32Ok(pbyIV+4, PayloadLen)) {
1252 PayloadLen -= (WLAN_HDR_ADDR3_LEN + 8 + 4); // 24 is 802.11 header, 8 is IV&ExtIV, 4 is crc
1269 rc4_encrypt(&pDevice->SBox, pbyIV+8, pbyIV+8, PayloadLen);
1270 if (ETHbIsBufferCrc32Ok(pbyIV+8, PayloadLen)) {
1275 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"PayloadLen = %d\n", PayloadLen);
1299 unsigned int PayloadLen = FrameSize; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/vt6656/
H A Ddpc.c1159 unsigned int PayloadLen = FrameSize; local
1174 PayloadLen -= 6;
1245 PayloadLen -= (WLAN_HDR_ADDR3_LEN + 4 + 4); // 24 is 802.11 header,4 is IV, 4 is crc
1249 rc4_encrypt(&pDevice->SBox, pbyIV+4, pbyIV+4, PayloadLen);
1251 if (ETHbIsBufferCrc32Ok(pbyIV+4, PayloadLen)) {
1259 PayloadLen -= (WLAN_HDR_ADDR3_LEN + 8 + 4); // 24 is 802.11 header, 8 is IV&ExtIV, 4 is crc
1276 rc4_encrypt(&pDevice->SBox, pbyIV+8, pbyIV+8, PayloadLen);
1277 if (ETHbIsBufferCrc32Ok(pbyIV+8, PayloadLen)) {
1282 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"PayloadLen = %d\n", PayloadLen);
1307 unsigned int PayloadLen = FrameSize; local
[all...]

Completed in 71 milliseconds