mesh(SAE) key setting failed with wcn3620

Masashi Honma masashi.honma at gmail.com
Wed Apr 27 19:02:20 PDT 2016


I'm trying to use mesh(IEEE802.11s) with wcn3620(DragonBoard 410c).
Now I could ping without encryption.
But It fails with encryption.
Because setting key to hardware fails.

wpa_supplicant sets 3 keys to driver.

1) alg=AES_CMAC, index=4
2) alg=CCMP, index=1
3) alg=CCMP, index=0

I modified wcn36xx to return -ENOSPC if alg=AES_CMAC.
Because 1) is not supported by hardware.
2),3) will be hardware encrypted.

But setting key 2) causes error.
wcn36xx_smd_set_bsskey() in wcn36xx_set_key() fails with return code 16.
Because wcn36xx_smd_rsp_status_check() in wcn36xx_smd_set_bsskey()
fails with return code 16.
So firmware looks returns error code.

With WPA2(CCMP), key 2) could be set to hardware without error.

Using software encryption for key 2) does not work also.

What is a meaning of return code 16 ?
And how to avoid this error ?

Regards,
Masashi Honma.



More information about the wcn36xx mailing list