CHROMIUM: mac80211: add packet filter logic

Adding packet filtering logic so that
corrupted packets are filtered right away
as soon as we receive them.

BUG=b:181758870
TEST=Ran the long run test by running the multicast
traffic and didn't find the packets drop due
to the invalid pn value or corrupted header.

Change-Id: I69bc869c79bcfdd447ed2039861bbe7e2b65b042
Signed-off-by: Manikanta Pubbisetty <mpubbise@codeaurora.org>
Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3080025
Reviewed-by: Srinivasa Duvvuri <sduvvuri@google.com>
Reviewed-by: SHAMANTHA KUMAR PERAMACHANAHALLI RAMARAO <shamanthakumar@google.com>
Commit-Queue: Julan Hsu <julanhsu@google.com>
Tested-by: DHEERAJ KANIYALA MELINAPANJA <dmelinapanja@google.com>
Tested-by: SHAMANTHA KUMAR PERAMACHANAHALLI RAMARAO <shamanthakumar@google.com>
3 files changed