[PATCH] ath10k: add new cipher suite support

Rajkumar Manoharan rmanohar at qti.qualcomm.com
Mon Sep 25 13:58:40 PDT 2017


> Am 22.09.2017 um 23:17 schrieb Rajkumar Manoharan:
> > -	ar->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);
> > +
> > +	/* QCA988x and QCA6174 family chips do not support CCMP-256,
> GCMP-128
> > +	 * and GCMP-256 ciphers in hardware.
> > +	 */
> > +	if (!ar->hw_params.n_cipher_suites)
> > +		ar->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);
> this is a bug. you do not set ar->hw->wiphy->n_cipher_suites if its non zero. this
> breaks ath10k crypto support for all chipsets except for QCA998X
>
Oops.. My bad.. I overlooked it. Will send next version.

-Rajkumar


More information about the ath10k mailing list