From 9a7fab474940ce2e8cfe78a63745883c691d65a9 Mon Sep 17 00:00:00 2001 From: snandini Date: Sat, 5 Aug 2017 14:02:40 -0700 Subject: [PATCH] fw-api: CL 3335076 - update fw common interface files Add a new field to beacon template command to specify the frequency of sending CSA switch count event to host Change-Id: Icc23e4a2baedd7d52c4626630095c83890a2df99 CRs-Fixed: 1107600 --- fw/wmi_unified.h | 12 ++++++++++++ fw/wmi_version.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index f7d2fa5598..e228935592 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -7951,6 +7951,13 @@ typedef struct { */ A_UINT32 ext_csa_switch_count_offset; /* units = bytes */ + /** Specify when to send the CSA switch count status from FW to host. + * See WMI_CSA_EVENT_BMAP* below for more information. + * E.g. if CSA switch count event is needed to be sent when the switch count + * is 0, 1, 4 and 5, set the bitmap to (0X80000033) + */ + A_UINT32 csa_event_bitmap; + /* * The TLVs follows: * wmi_bcn_prb_info bcn_prb_info; <-- beacon probe capabilities and IEs @@ -7958,6 +7965,11 @@ typedef struct { */ } wmi_bcn_tmpl_cmd_fixed_param; +#define WMI_CSA_EVENT_BMAP_VALID_MASK 0X80000000 /* Follow bitmap for sending the CSA switch count event */ +#define WMI_CSA_EVENT_BMAP_SWITCH_COUNT_ZERO 0 /* Send only when the switch count becomes zero, added for backward compatibility + Same can also be achieved by setting bitmap to 0X80000001 */ +#define WMI_CSA_EVENT_BMAP_ALL 0XFFFFFFFF /* Send CSA switch count event for every update to switch count */ + typedef struct { A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_prb_tmpl_cmd_fixed_param */ /** unique id identifying the VDEV, generated by the caller */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index e1af40006c..d86b05c197 100644 --- 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_ 423 +#define __WMI_REVISION_ 424 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work