Prechádzať zdrojové kódy

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

use WMI svc ready sys_cap_info bits 1:0 for RXTX_LED and RFKILL enable flags

Change-Id: I31e1473e29eea9cdd6e5b130954a23496f31f778
CRs-Fixed: 1107600
spuligil 7 rokov pred
rodič
commit
56aad39b84
2 zmenil súbory, kde vykonal 10 pridanie a 1 odobranie
  1. 9 0
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 9 - 0
fw/wmi_unified.h

@@ -2012,6 +2012,10 @@ typedef struct {
     A_UINT32 vht_supp_mcs; /* VHT Supported MCS Set field Rx/Tx same */
     A_UINT32 hw_min_tx_power;
     A_UINT32 hw_max_tx_power;
+    /* sys_cap_info:
+     * bits  1:0  - RXTX LED + RFKILL enable flags (see WMI_LEDRFKILL_FLAGS)
+     * bits 31:2  - reserved (must be set to zero)
+     */
     A_UINT32 sys_cap_info;
     A_UINT32 min_pkt_size_enable; /* Enterprise mode short pkt enable */
     /** Max beacon and Probe Response IE offload size (includes
@@ -2080,6 +2084,11 @@ typedef struct {
  */
 } wmi_service_ready_event_fixed_param;
 
+typedef enum {
+    WMI_RXTX_LED_ENABLE         = 0x00000001,
+    WMI_RFKILL_ENABLE           = 0x00000002,
+} WMI_LEDRFKILL_FLAGS;
+
 #define WMI_SERVICE_SEGMENT_BM_SIZE32 4 /* 4x A_UINT32 = 128 bits */
 typedef struct {
     A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_service_available_event_fixed_param */

+ 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_ 434
+#define __WMI_REVISION_ 435
 
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work