浏览代码

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
snandini 7 年之前
父节点
当前提交
9a7fab4749
共有 2 个文件被更改,包括 13 次插入1 次删除
  1. 12 0
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 12 - 0
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 */

+ 1 - 1
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