diff options
author | Wen Gong <[email protected]> | 2021-05-11 20:02:52 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2021-05-11 20:15:05 +0200 |
commit | a1166b2653db2f3de7338b9fb8a0f6e924b904ee (patch) | |
tree | 1e32facb58f0d8967310a7f0f15e0bf30ccde393 /scripts/gdb/linux/timerlist.py | |
parent | 3edc6b0d6c061a70d8ca3c3c72eb1f58ce29bfb1 (diff) |
ath10k: add CCMP PN replay protection for fragmented frames for PCIe
PN replay check for not fragmented frames is finished in the firmware,
but this was not done for fragmented frames when ath10k is used with
QCA6174/QCA6377 PCIe. mac80211 has the function
ieee80211_rx_h_defragment() for PN replay check for fragmented frames,
but this does not get checked with QCA6174 due to the
ieee80211_has_protected() condition not matching the cleared Protected
bit case.
Validate the PN of received fragmented frames within ath10k when CCMP is
used and drop the fragment if the PN is not correct (incremented by
exactly one from the previous fragment). This applies only for
QCA6174/QCA6377 PCIe.
Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00110-QCARMSWP-1
Cc: [email protected]
Signed-off-by: Wen Gong <[email protected]>
Signed-off-by: Jouni Malinen <[email protected]>
Link: https://lore.kernel.org/r/20210511200110.9ba2664866a4.I756e47b67e210dba69966d989c4711ffc02dc6bc@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions