fw-api: CL 4509300 - update fw common interface files
Change-Id: Ib4044b04906e02b6acfc207d8790280b8242d9da WMI: macros for storing BDF fields in hw_bd_info array elements CRs-Fixed: 1107600
此提交包含在:
@@ -2144,6 +2144,34 @@ typedef struct _wmi_abi_version {
|
||||
#define WMI_PDEV_ID_2ND 2 /* second pdev (pdev 1) */
|
||||
#define WMI_PDEV_ID_3RD 3 /* third pdev (pdev 2) */
|
||||
|
||||
/*
|
||||
* Enum regarding which BDF elements are provided in which elements of the
|
||||
* wmi_service_ready_event_fixed_param.hw_bd_info[] array
|
||||
*/
|
||||
typedef enum {
|
||||
BDF_VERSION = 0,
|
||||
REF_DESIGN_ID = 1,
|
||||
CUSTOMER_ID = 2,
|
||||
PROJECT_ID = 3,
|
||||
BOARD_DATA_REV = 4,
|
||||
} wmi_hw_bd_info_e;
|
||||
|
||||
/*
|
||||
* Macros to get/set BDF details within the
|
||||
* wmi_service_ready_event_fixed_param.hw_bd_info[] array
|
||||
*/
|
||||
#define WMI_GET_BDF_VERSION(hw_bd_info) ((hw_bd_info)[BDF_VERSION])
|
||||
#define WMI_GET_REF_DESIGN(hw_bd_info) ((hw_bd_info)[REF_DESIGN_ID])
|
||||
#define WMI_GET_CUSTOMER_ID(hw_bd_info) ((hw_bd_info)[CUSTOMER_ID])
|
||||
#define WMI_GET_PROJECT_ID(hw_bd_info) ((hw_bd_info)[PROJECT_ID])
|
||||
#define WMI_GET_BOARD_DATA_REV(hw_bd_info) ((hw_bd_info)[BOARD_DATA_REV])
|
||||
|
||||
#define WMI_SET_BDF_VERSION(hw_bd_info, val) ((hw_bd_info)[BDF_VERSION] = (val))
|
||||
#define WMI_SET_REF_DESIGN(hw_bd_info, val) ((hw_bd_info)[REF_DESIGN_ID] = (val))
|
||||
#define WMI_SET_CUSTOMER_ID(hw_bd_info, val) ((hw_bd_info)[CUSTOMER_ID] = (val))
|
||||
#define WMI_SET_PROJECT_ID(hw_bd_info, val) ((hw_bd_info)[PROJECT_ID] = (val))
|
||||
#define WMI_SET_BOARD_DATA_REV(hw_bd_info, val) ((hw_bd_info)[BOARD_DATA_REV] = (val))
|
||||
|
||||
/**
|
||||
* The following struct holds optional payload for
|
||||
* wmi_service_ready_event_fixed_param,e.g., 11ac pass some of the
|
||||
|
@@ -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_ 534
|
||||
#define __WMI_REVISION_ 535
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
新增問題並參考
封鎖使用者