|
@@ -291,12 +291,14 @@ int RXbBulkInProcessData(struct vnt_private *pDevice, struct vnt_rcb *pRCB,
|
|
|
|
|
|
if (BytesToIndicate != FrameSize) {
|
|
|
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"------- WRONG Length 1\n");
|
|
|
+ pStats->rx_frame_errors++;
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
if ((BytesToIndicate > 2372) || (BytesToIndicate <= 40)) {
|
|
|
// Frame Size error drop this packet.
|
|
|
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "---------- WRONG Length 2\n");
|
|
|
+ pStats->rx_frame_errors++;
|
|
|
return false;
|
|
|
}
|
|
|
|
|
@@ -314,6 +316,7 @@ int RXbBulkInProcessData(struct vnt_private *pDevice, struct vnt_rcb *pRCB,
|
|
|
(BytesToIndicate < (*pwPLCP_Length)) ) {
|
|
|
|
|
|
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"Wrong PLCP Length %x\n", (int) *pwPLCP_Length);
|
|
|
+ pStats->rx_frame_errors++;
|
|
|
return false;
|
|
|
}
|
|
|
for ( ii=RATE_1M;ii<MAX_RATE;ii++) {
|