fw-api: CL 2857005 - update fw common interface files

WMI interface change to support PMKID caching in roaming offload

Change-Id: I4b316840a753c497495b8a74397fcc4015c467a6
CRs-Fixed: 1107600
This commit is contained in:
Sandeep Puligilla 2017-02-13 11:49:04 -08:00 • committed by qcabuildsw
commit 6f322f8d9d
3 changed files with 20 additions and 3 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2010-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2010-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@ -144,6 +144,7 @@ typedef enum {
PAIRWISE_USAGE = 0x00,
GROUP_USAGE = 0x01,
TX_USAGE = 0x02, /* default Tx Key - Static WEP only */
PMK_USAGE = 0x04, /* PMK cache */
} KEY_USAGE;
/*
* List of Events (target to host)

View file

@ -8480,7 +8480,8 @@ typedef struct {
/* flags for 11i offload */
#define WMI_ROAM_OFFLOAD_FLAG_OKC_ENABLED 0 /* okc is enabled */
/* from bit 1 to bit 31 are reserved */
#define WMI_ROAM_OFFLOAD_FLAG_PMK_CACHE_DISABLED 1 /* pmk caching is disabled */
/* from bit 2 to bit 31 are reserved */
#define WMI_SET_ROAM_OFFLOAD_OKC_ENABLED(flag) do { \
(flag) |= (1 << WMI_ROAM_OFFLOAD_FLAG_OKC_ENABLED); \
@ -8493,6 +8494,21 @@ typedef struct {
#define WMI_GET_ROAM_OFFLOAD_OKC_ENABLED(flag) \
((flag) & (1 << WMI_ROAM_OFFLOAD_FLAG_OKC_ENABLED))
#define WMI_SET_ROAM_OFFLOAD_PMK_CACHE_ENABLED(flag) \
do { \
(flag) &= ~(1 << WMI_ROAM_OFFLOAD_FLAG_PMK_CACHE_DISABLED); \
} while (0)
#define WMI_SET_ROAM_OFFLOAD_PMK_CACHE_DISABLED(flag) \
do { \
(flag) |= (1 << WMI_ROAM_OFFLOAD_FLAG_PMK_CACHE_DISABLED); \
} while (0)
#define WMI_GET_ROAM_OFFLOAD_PMK_CACHE_DISABLED(flag) \
((flag) & (1 << WMI_ROAM_OFFLOAD_FLAG_PMK_CACHE_DISABLED))
/* This TLV will be filled only in case of wpa-psk/wpa2-psk */
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_11i_offload_fixed_param */

View file

@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_ 0
/** WMI revision number has to be incremented when there is a
* change that may or may not break compatibility. */
#define __WMI_REVISION_ 345
#define __WMI_REVISION_ 346
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work