Ver Fonte

qcacmn: Move the WMI_MAX_CMDS macro

The WMI_MAX_CMDS macro was defined in wmi_unified_priv.h, move it
to wmi_unified_param.h so that it can be used to set
wmi_unified_attach_params.

Change-Id: I33aaa3c1fb189c7ef660ccbc5262afd0a1ee258b
Surabhi Vishnoi há 7 anos atrás
pai
commit
11f5bd5daa
2 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 0
      wmi/inc/wmi_unified_param.h
  2. 0 1
      wmi/inc/wmi_unified_priv.h

+ 1 - 0
wmi/inc/wmi_unified_param.h

@@ -126,6 +126,7 @@
 #define WMI_HOST_PDEV_VI_PRIORITY_BIT     (1<<2)
 #define WMI_HOST_PDEV_BEACON_PRIORITY_BIT (1<<4)
 #define WMI_HOST_PDEV_MGMT_PRIORITY_BIT   (1<<5)
+#define WMI_MAX_CMDS 1024
 
 #define FIPS_ALIGN 4
 #define FIPS_ALIGNTO(__addr, __to) \

+ 0 - 1
wmi/inc/wmi_unified_priv.h

@@ -57,7 +57,6 @@
 #endif
 
 #define WMI_UNIFIED_MAX_EVENT 0x100
-#define WMI_MAX_CMDS 1024
 
 #ifdef WMI_INTERFACE_EVENT_LOGGING