wlan: Recovery logic for bigger received packet

In current code, kernel crash if DXE copied more then VPKT_SIZE_BUFFER.
Rather then crashing kernel, we can recover by discarding
this packet. We are storing RXBD, PMI bytes, skb head and tail
in a global circular buffer before discarding this packet. When
DXE copies more then 4096 bytes, no point in recovering as it
can corrupt next packet. So crash only when packet lengh is
more then one page(4096 bytes).

Change-Id: I8a676ca6f41d1bbaf3f76b9eb7c1efbbadd5c2ec
CRs-Fixed: 968395
5 files changed
tree: a381b84090a21f1509be73a918f121400cf7effd
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile