Просмотр исходного кода

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

Change-Id: I8d42bee26b71890c4ac9343986b782312e678e22
CRs-Fixed: 2262693
spuligil 1 год назад
Родитель
Сommit
a325494194
2 измененных файлов с 10 добавлено и 3 удалено
  1. 9 2
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 9 - 2
fw/wmi_unified.h

@@ -6162,8 +6162,15 @@ typedef struct {
 
 
 #define MAX_NUM_CHAN_PER_WMI_CMD     58    /* each WMI cmd can hold 58 channel entries at most */
-#define APPEND_TO_EXISTING_CHAN_LIST 1
-#define CHANNEL_MAX_BANDWIDTH_VALID  2
+#define WMI_APPEND_TO_EXISTING_CHAN_LIST    0x1
+#define WMI_CHANNEL_MAX_BANDWIDTH_VALID     0x2
+#define WMI_HONOR_HOST_6GHZ_CHANNEL_PASSIVE 0x4
+/*
+ * To preserve backwards compatibility, retain old names (without WMI_ prefix)
+ * as aliases for the corrected names (with WMI_ prefix).
+ */
+#define APPEND_TO_EXISTING_CHAN_LIST WMI_APPEND_TO_EXISTING_CHAN_LIST
+#define CHANNEL_MAX_BANDWIDTH_VALID WMI_CHANNEL_MAX_BANDWIDTH_VALID
 
 typedef struct {
     A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_scan_chan_list_cmd_fixed_param */

+ 1 - 1
fw/wmi_version.h

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