diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-01-25 11:44:24 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-01-26 10:20:52 +0100 |
commit | 30ce7f4456ae40e970d9e82fe63c5e55147af0c0 (patch) | |
tree | 06b61298712b3cc88b4fbcbaff9d72fc04576655 /net/8021q | |
parent | mt76: pass the per-vif wcid to the core for multicast rx (diff) | |
download | linux-30ce7f4456ae40e970d9e82fe63c5e55147af0c0.tar.xz linux-30ce7f4456ae40e970d9e82fe63c5e55147af0c0.zip |
mt76: validate rx CCMP PN
Apparently hardware does not perform CCMP PN validation in hardware, so
we need to take care of this in the driver. This is important for
protecting against replay attacks.
Since validation of fragmented frames is more complex, the CCMP header
for those is preserved. To keep the counter in sync, the first fragment
is verified by both mt76 and mac80211, and all other fragments only by
mac80211.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions