Skip to content

ath10k: implement PN replay protection for SDIO

Kalle Valo ath10k linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ath10k: add struct for high latency PN replay protectiondrivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/htt.h+47 -42 replies
2/5ath10k: add handler for HTT_T2H_MSG_TYPE_SEC_IND eventdrivers/net/wireless/ath/ath10k/htt_rx.c+46 -00 replies
3/5ath10k: add PN replay protection for high latency devicesdrivers/net/wireless/ath/ath10k/htt_rx.c+95 -20 replies
4/5ath10k: add fragmentation handler for high latency devicesdrivers/net/wireless/ath/ath10k/htt.h drivers/net/wireless/ath/ath10k/htt_rx.c+243 -00 replies
5/5ath10k: enable QCA6174 hw3.2 SDIO hardwaredrivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/hw.h drivers/net/wireless/ath/ath10k/sdio.c+29 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ath10k: implement PN replay protection for SDIO

HTT High Latency devices (SDIO and USB) need PN replay protection in host driver, implemented in this patchset. Also support for QCA6174 hw3.2 SDIO devices is enabled as now all the necessary pieces have now been implemented.

For replay protection of TKIP, CCMP and GCMP ath10k_htt_rx_pn_check_replay_hl() will check PN to see if the frame is received before. This is implemented in patch "ath10k: add PN replay protection for high latency devices"

The replay protection on fragmented MSDU with CCMP and GCMP is done by ath10k_htt_rx_proc_rx_frag_ind_hl(), implemented in patch "ath10k: add fragment packet handler for high latency". The fragments will be reassembled by mac80211 in ieee80211_rx_h_defragment(). Also mac80211 will verify the Michael MIC in ieee80211_rx_h_michael_mic_verify().

Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00007-QCARMSWP-1.

Wen Gong (5):
ath10k: add struct for high latency PN replay protection
ath10k: add handler for HTT_T2H_MSG_TYPE_SEC_IND event
ath10k: add PN replay protection for high latency devices
ath10k: add fragmentation handler for high latency devices
ath10k: enable QCA6174 hw3.2 SDIO hardware

 drivers/net/wireless/ath/ath10k/core.c   |  27 +++
 drivers/net/wireless/ath/ath10k/core.h   |   8 +
 drivers/net/wireless/ath/ath10k/htt.h    |  56 ++++-
 drivers/net/wireless/ath/ath10k/htt_rx.c | 373 ++++++++++++++++++++++++++++++-
 drivers/net/wireless/ath/ath10k/hw.h     |   1 +
 drivers/net/wireless/ath/ath10k/sdio.c   |   2 +-
 6 files changed, 460 insertions(+), 7 deletions(-)
Signature · 7 lines
2.7.4


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k