qcacld-3.0: Replace IEEE80211_PMKID_LEN with PMKID_LEN

Replace IEEE80211_PMKID_LEN with PMKID_LEN which is defined
in wlan_cmn_ieee80211.h.

Change-Id: I0b59d4cbd6522e799e66b3b674b5a0cfa53b039a
CRs-Fixed: 2395980
This commit is contained in:
Srinivas Girigowda
2019-02-11 15:45:34 -08:00
committed by nshrivas
parent 6f20f2e4ba
commit 3beefb408c
3 changed files with 2 additions and 6 deletions

View File

@@ -91,6 +91,4 @@ typedef struct ieee80211_rx_status {
} ieee80211_recv_status;
#endif /* EXTERNAL_USE_ONLY */
#define IEEE80211_PMKID_LEN 16
#endif

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2017, 2019 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
@@ -58,8 +58,6 @@
#define FILS_SHA256_PKM_LEN 32
#define FILS_SHA384_PKM_LEN 48
#define PMKID_LEN 16
#define MAX_PRF_INTERATIONS_COUNT 255
/* 9.4.2.180 FILS Session element */

View File

@@ -1271,7 +1271,7 @@ void populate_fils_connect_params(struct mac_context *mac_ctx,
fils_info->fils_pmk_len);
qdf_mem_copy(fils_join_rsp->fils_pmkid, fils_info->fils_pmkid,
IEEE80211_PMKID_LEN);
PMKID_LEN);
fils_join_rsp->kek_len = fils_info->kek_len;
qdf_mem_copy(fils_join_rsp->kek, fils_info->kek, fils_info->kek_len);