ath10k: update GCMP & GCMP-256 cipher suite number for WCN3990
TLV based firmware ex. QCA6174, WCN3990 expects key cipher value set to 9 while non-TLV firmware expects key cipher value set to 8 for enabling GCMP and GCMP-256 cipher suites. To fix this problem, attach the key cipher suite values based on wmi version. Tested HW: WCN3990 Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1 Signed-off-by: Abhishek Ambure <aambure@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

gecommit door
Kalle Valo

bovenliggende
7ba31e6e0c
commit
7d94f862d6
@@ -2060,9 +2060,11 @@ ath10k_wmi_tlv_op_gen_vdev_install_key(struct ath10k *ar,
|
||||
size_t len;
|
||||
void *ptr;
|
||||
|
||||
if (arg->key_cipher == WMI_CIPHER_NONE && arg->key_data != NULL)
|
||||
if (arg->key_cipher == ar->wmi_key_cipher[WMI_CIPHER_NONE] &&
|
||||
arg->key_data)
|
||||
return ERR_PTR(-EINVAL);
|
||||
if (arg->key_cipher != WMI_CIPHER_NONE && arg->key_data == NULL)
|
||||
if (arg->key_cipher != ar->wmi_key_cipher[WMI_CIPHER_NONE] &&
|
||||
!arg->key_data)
|
||||
return ERR_PTR(-EINVAL);
|
||||
|
||||
len = sizeof(*tlv) + sizeof(*cmd) +
|
||||
|
Verwijs in nieuw issue
Block a user