qcacld-3.0: Fix GTK offload req params

Currently the host sends the fixed gtk offload params
and the FILS TLV params, even when the FILS feature is disabled
in the host, which force firmware to pick the KEK from the
FILS TLV structure rather than from the fixed param structure,
which further leads to GTK re-keying feature fail.

Fix is to send only the fixed params in case when host doesnt
supports FILS.

Change-Id: I5b3b3fd503c7cb9c4d7933074fd483086b113204
CRs-Fixed: 2244725
This commit is contained in:
gaurank kathpalia
2018-07-10 16:49:10 +05:30
committed by nshrivas
vanhempi 0f71751691
commit 82a1b2b802
4 muutettua tiedostoa jossa 15 lisäystä ja 9 poistoa

Näytä tiedosto

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -45,6 +45,7 @@
* @kek_len: KEK Length
* @replay_counter: replay_counter
* @bssid: bssid
* @is_fils_connection: is current connection with peer FILS or not.
*/
struct pmo_gtk_req {
uint32_t flags;
@@ -53,6 +54,7 @@ struct pmo_gtk_req {
uint32_t kek_len;
uint64_t replay_counter;
struct qdf_mac_addr bssid;
bool is_fils_connection;
};
/**