summaryrefslogtreecommitdiff
path: root/scripts/coccinelle/iterators/itnull.cocci
diff options
context:
space:
mode:
authorWen Gong <wgong@codeaurora.org>2019-04-26 09:41:09 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-04-29 17:37:34 +0300
commit130c77495708c61f0aa839e436a8a3a973824b19 (patch)
treec06ca5a41c881e133e9e64ca834340be368994e2 /scripts/coccinelle/iterators/itnull.cocci
parent28ce53b6cfda35d25ca3bbf2665e84be38a5f9dd (diff)
ath10k: add PN replay protection for high latency devices
On high latency devices (SDIO, USB) ath10k did not do PN replay check, a data frame with an invalid PN number was not discard as it should have been. So this patch implements PN replay in ath10k. PN replay check for fragmented frames is implemented in followup patch. With low latency devices (PCI, AHB) hardware can store the data frames's content to host memory directly and the firmware can fully reorder data frames, and do PN replay check at the same time. But for high latency devices all data frames will be received and stored in firmware's memory and it is hard to do full reorder because of the memory size limitations in the firmware. This is why the PN replay protections needs to be implemented in host driver. Tested on QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00007-QCARMSWP-1. Signed-off-by: Wen Gong <wgong@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'scripts/coccinelle/iterators/itnull.cocci')
0 files changed, 0 insertions, 0 deletions