[v3] ath10k: rebuild crypto header in rx data frames

Kalle Valo kvalo at qca.qualcomm.com
Tue Oct 31 08:00:21 PDT 2017


Sebastian Gottschall <s.gottschall at dd-wrt.com> writes:

> the following patchlines in the v3 patch look wrong
>
> +               /* ICV */
> +               if (status->flag & RX_FLAG_ICV_STRIPPED &&
> +                   enctype != HTT_RX_MPDU_ENCRYPT_AES_CCM_WPA2)
> +                       skb_trim(msdu, msdu->len -
> +                                ath10k_htt_rx_crypto_tail_len(ar,
> enctype));
>
>
> the enctype != wpa2 isnt enough since it also belongs to ccmp-256,
> gcmp modes etc.

4.14 doesn't support CCMP-256 nor GCMP modes yet. Did you check the
separate patch for 4.15:

https://patchwork.kernel.org/patch/10029097/

-- 
Kalle Valo


More information about the ath10k mailing list