diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-01-25 11:44:24 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-01-26 11:20:52 +0200 |
commit | 30ce7f4456ae40e970d9e82fe63c5e55147af0c0 (patch) | |
tree | 06b61298712b3cc88b4fbcbaff9d72fc04576655 /drivers/bus | |
parent | 3675302de8e946b9f8db44f55abbac1742f95706 (diff) | |
download | linux-30ce7f4456ae40e970d9e82fe63c5e55147af0c0.tar.bz2 |
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 'drivers/bus')
0 files changed, 0 insertions, 0 deletions