diff options
| author | Nitesh Shah <niteshs@qti.qualcomm.com> | 2016-07-08 01:29:55 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-07-18 18:02:33 +0530 |
| commit | 1e8bd1f677dd37a2f509c90f512ef53dd8d42417 (patch) | |
| tree | 19bf4473e3a9a0bfbc55eafc77a768bf712c2e86 | |
| parent | b95522895b7b12bf7db5469d53699afc354b7c37 (diff) | |
qcacld-2.0: CL 1546701 - update fw common interface files
Adding connect_ie interface for Roaming offload.
Change-Id: I8263688aec3895af57555a5db14d4459848c0cc5
CRs-fixed: 865207
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_tlv_defs.h | 6 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_unified.h | 34 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_version.h | 2 |
3 files changed, 36 insertions, 6 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_tlv_defs.h b/CORE/SERVICES/COMMON/wmi_tlv_defs.h index 38522e444071..814bbf6d9d20 100644 --- a/CORE/SERVICES/COMMON/wmi_tlv_defs.h +++ b/CORE/SERVICES/COMMON/wmi_tlv_defs.h @@ -723,6 +723,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_pdev_set_reorder_timeout_val_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_peer_set_rx_blocksize_cmd_fixed_param, WMITLV_TAG_STRUC_WMI_PDEV_SET_WAKEUP_CONFIG_CMDID_fixed_param, + WMITLV_TAG_STRUC_wmi_tlv_buf_len_param, } WMITLV_TAG_ID; /* @@ -1292,8 +1293,9 @@ WMITLV_CREATE_PARAM_STRUC(WMI_RMV_BCN_FILTER_CMDID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_offload_tlv_param, offload_param, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_11i_offload_tlv_param, offload_11i_param, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_11r_offload_tlv_param, offload_11r_param, WMITLV_SIZE_VAR) \ - WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ese_offload_tlv_param, offload_ese_param, WMITLV_SIZE_VAR) - + WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_ese_offload_tlv_param, offload_ese_param, WMITLV_SIZE_VAR) \ + WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wmi_tlv_buf_len_param, assoc_ie_len_param, WMITLV_SIZE_VAR) \ + WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, assoc_ie_buf, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SCAN_MODE); /* Roam scan Rssi Threshold Cmd */ diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h index 8a68d5fa5ba3..ba8fda5f977e 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -532,7 +532,7 @@ typedef enum { /** configure thresholds for MAWC */ WMI_ROAM_CONFIGURE_MAWC_CMDID, /** configure MultiBand Operation(refer WFA MBO spec) parameter */ - WMI_ROAM_SET_MBO_PARAM_CMDID, + WMI_ROAM_SET_MBO_PARAM_CMDID, /* DEPRECATED */ /** offload scan specific commands */ /** set offload scan AP profile */ @@ -2433,6 +2433,23 @@ typedef struct { A_UINT32 ie_data[1]; } wmi_ie_data; +/** + * TLV used for length/buffer + */ +typedef struct { + /** + * TLV tag and len; tag equals + * WMITLV_TAG_STRUC_wmi_tlv_buf_len_param + */ + A_UINT32 tlv_header; + A_UINT32 buf_len; /** Length of buf */ + /** + * Following this structure is the TLV byte stream of buf + * of length buf_len: + * A_UINT8 buf[]; + * + */ +} wmi_tlv_buf_len_param; typedef struct { /** Len of the SSID */ @@ -13640,6 +13657,15 @@ typedef struct { A_UINT32 qtimer_high; } wmi_vdev_tsf_report_event_fixed_param; +/** + * ie_id values: + * 0 to 255 are used for individual IEEE802.11 Information Element types + */ +#define WMI_SET_VDEV_IE_ID_SCAN_SET_DEFAULT_IE 256 + +/* source values: */ +#define WMI_SET_VDEV_IE_SOURCE_HOST 0x0 + typedef struct { /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_set_ie_cmd_fixed_param */ A_UINT32 tlv_header; @@ -13648,6 +13674,8 @@ typedef struct { /** unique id to identify the ie_data as defined by ieee 802.11 spec */ A_UINT32 ie_id; /** ie_len corresponds to num of bytes in ie_data[] */ A_UINT32 ie_len; + /** source of this command */ + A_UINT32 ie_source; /* see WMI_SET_VDEV_IE_SOURCE_ defs */ /** * Following this structure is the TLV byte stream of ie data of length ie_buf_len: * A_UINT8 ie_data[]; */ @@ -14030,7 +14058,7 @@ typedef struct { * 1 - Allow to connect to MBO AP only * Bit 1-31 : reserved. */ -#define WMI_ROAM_MBO_FLAG_MBO_ONLY_MODE (1<<0) +#define WMI_ROAM_MBO_FLAG_MBO_ONLY_MODE (1<<0) /* DEPRECATED */ typedef struct { /* TLV tag and len; tag equals @@ -14042,7 +14070,7 @@ typedef struct { A_UINT32 enable; /** MBO flags, refer to definition of MBO flags*/ A_UINT32 flags; -} wmi_roam_set_mbo_fixed_param; +} wmi_roam_set_mbo_fixed_param; /* DEPRECATED */ typedef struct { /* TLV tag and len; tag equals diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index 1864b93f2ee5..fce837d2e14c 100644 --- a/CORE/SERVICES/COMMON/wmi_version.h +++ b/CORE/SERVICES/COMMON/wmi_version.h @@ -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_ 274 +#define __WMI_REVISION_ 275 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
