summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2018-02-07 23:30:04 -0800
committerspuligil <spuligil@codeaurora.org>2018-02-07 23:30:04 -0800
commitdbf0d64061d41376913fd31030bab4951b8a617c (patch)
tree171ea1c2f05aac635848eca4e34586d2c4e2c09c
parentfc56ec4f4a4dc9dbad914da5bff6da4e3a056033 (diff)
fw-api: CL 4101399 - update fw common interface files
Change-Id: Ide6bab3d541dbf42d239db0e06117d27a4ab04b2 WMI: dynamically negotiate max_nlo_ssids value CRs-Fixed: 1107600
-rwxr-xr-xfw/wmi_unified.h30
-rwxr-xr-xfw/wmi_version.h2
2 files changed, 31 insertions, 1 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index e22f1dc76ba5..7e074577abe0 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -2211,6 +2211,15 @@ typedef struct {
* bits 31:28 -> CRM sub ID
*/
A_UINT32 fw_build_vers_ext;
+ /* max_nlo_ssids - dynamically negotiated maximum number of SSIDS for NLO
+ * This limit is the maximum number of SSIDs that can be configured in the
+ * target for Network List Offload (i.e. scanning for a preferred network).
+ * If this value is 0x0, the target supports WMI_NLO_MAX_SSIDS (16).
+ * If this value is non-zero, the host should send back in the
+ * WMI_INIT message's wmi_resource_config.max_nlo_ssids a value that
+ * is equal to or less than the target capability limit reported here.
+ */
+ A_UINT32 max_nlo_ssids;
} wmi_service_ready_ext_event_fixed_param;
typedef enum {
@@ -2726,6 +2735,27 @@ typedef struct {
/* Max no of STA with which TWT sessions can be formed by the AP */
A_UINT32 twt_ap_sta_count;
+
+ /* max_nlo_ssids - dynamically negotiated maximum number of SSIDS for NLO
+ * This parameter provides the final specification for the maximum number
+ * of SSIDs for the target to support for Network List Offload's scanning
+ * for preferred networks.
+ * This wmi_resource_config.max_nlo_ssids must be <= the max_nlo_ssids
+ * field from the target's WMI_SERVICE_READY_EXT_EVENT message.
+ * (If the target didn't provide a max_nlo_ssids field in the
+ * WMI_SERVICE_READY_EXT message, or if the SERVICE_READY_EXT msg's
+ * max_nlo_ssids value was 0x0, the target doesn't support dynamic
+ * negotiation of max NLO SSIDs, and WMI_NLO_MAX_SSIDS (=16) applies.)
+ * If this wmi_resource_config.max_nlo_ssids field is absent or 0x0,
+ * the host does not support dynamic negotiation of max NLO SSIDs.
+ * In such a case, the target will respond as follows:
+ * If the target supports at least WMI_NLO_MAX_SSIDS, the target will
+ * use the statically-configured WMI_NLO_MAX_SSIDS value.
+ * If the target supports less than WMI_NLO_MAX_SSIDS, the target will
+ * abort its boot-up, due to receiving an invalid/unsupported
+ * configuration specification.
+ */
+ A_UINT32 max_nlo_ssids;
} wmi_resource_config;
#define WMI_RSRC_CFG_FLAG_SET(word32, flag, value) \
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index e96d14f9346e..d8a0371cd938 100755
--- a/fw/wmi_version.h
+++ b/fw/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_ 498
+#define __WMI_REVISION_ 499
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work