diff options
| author | Wen Gong | 2019-04-26 08:41:07 +0200 |
|---|---|---|
| committer | Kalle Valo | 2019-04-29 16:37:13 +0200 |
| commit | e1bddde9737ac4687ca6e2fe6c95f67a9bec353b (patch) | |
| tree | 68dd91bfd566ff15d1da505de17a3fca2dace582 /drivers/net/wireless/ath/ath10k/core.h | |
| parent | ath10k: sdio: add missing error check (diff) | |
| download | kernel-qcow2-linux-e1bddde9737ac4687ca6e2fe6c95f67a9bec353b.tar.gz kernel-qcow2-linux-e1bddde9737ac4687ca6e2fe6c95f67a9bec353b.tar.xz kernel-qcow2-linux-e1bddde9737ac4687ca6e2fe6c95f67a9bec353b.zip | |
ath10k: add struct for high latency PN replay protection
Add the struct for PN replay protection and fragment packet
handler.
Also fix the bitmask of HTT_RX_DESC_HL_INFO_MCAST_BCAST to match what's currently
used by SDIO firmware. The defines are not used yet so it's safe to modify
them. Remove the conflicting HTT_RX_DESC_HL_INFO_FRAGMENT as
it's not either used in ath10k.
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 'drivers/net/wireless/ath/ath10k/core.h')
| -rw-r--r-- | drivers/net/wireless/ath/ath10k/core.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index f22cb3f49034..02e53fb85814 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -400,6 +400,14 @@ struct ath10k_peer { /* protected by ar->data_lock */ struct ieee80211_key_conf *keys[WMI_MAX_KEY_INDEX + 1]; + union htt_rx_pn_t tids_last_pn[ATH10K_TXRX_NUM_EXT_TIDS]; + bool tids_last_pn_valid[ATH10K_TXRX_NUM_EXT_TIDS]; + union htt_rx_pn_t frag_tids_last_pn[ATH10K_TXRX_NUM_EXT_TIDS]; + u32 frag_tids_seq[ATH10K_TXRX_NUM_EXT_TIDS]; + struct { + enum htt_security_types sec_type; + int pn_len; + } rx_pn[ATH10K_HTT_TXRX_PEER_SECURITY_MAX]; }; struct ath10k_txq { |
