Przeglądaj źródła

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
gaurank kathpalia 7 lat temu
rodzic
commit
85694d84b9

+ 3 - 1
pmo/dispatcher/inc/wlan_pmo_gtk_public_struct.h

@@ -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
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
  * any purpose with or without fee is hereby granted, provided that the
@@ -45,6 +45,7 @@
  * @kek_len: KEK Length
  * @kek_len: KEK Length
  * @replay_counter: replay_counter
  * @replay_counter: replay_counter
  * @bssid: bssid
  * @bssid: bssid
+ * @is_fils_connection: is current connection with peer FILS or not.
  */
  */
 struct pmo_gtk_req {
 struct pmo_gtk_req {
 	uint32_t flags;
 	uint32_t flags;
@@ -53,6 +54,7 @@ struct pmo_gtk_req {
 	uint32_t kek_len;
 	uint32_t kek_len;
 	uint64_t replay_counter;
 	uint64_t replay_counter;
 	struct qdf_mac_addr bssid;
 	struct qdf_mac_addr bssid;
+	bool is_fils_connection;
 };
 };
 
 
 /**
 /**