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

Change-Id: I7528eaff5d06fa1775a5eb530dfaded19126fd53
WMI: add var-len data to WMI_VENDOR_* msgs, mv wmi_mac_addr def to wlan_defs.h
CRs-Fixed: 2262693
这个提交包含在:
spuligil
2023-05-24 12:01:12 -07:00
提交者 Rahul Choudhary
父节点 44e65aa7a3
当前提交 a80a6124ad
修改 4 个文件,包含 62 行新增15 行删除

查看文件

@@ -198,14 +198,6 @@ static INLINE void wmi_packed_arr_set_bits(A_UINT32 *arr, A_UINT32 entry_index,
((val & (((A_UINT32) 1 << bits_per_entry) - 1)) << start_bit_in_uint);
}
/** 2 word representation of MAC addr */
typedef struct _wmi_mac_addr {
/** upper 4 bytes of MAC address */
A_UINT32 mac_addr31to0;
/** lower 2 bytes of MAC address */
A_UINT32 mac_addr47to32;
} wmi_mac_addr;
/** macro to convert MAC address from WMI word format to char array */
#define WMI_MAC_ADDR_TO_CHAR_ARRAY(pwmi_mac_addr,c_macaddr) do { \
(c_macaddr)[0] = (((pwmi_mac_addr)->mac_addr31to0) >> 0) & 0xff; \
@@ -43552,6 +43544,13 @@ typedef struct wmi_pdev_vendor_event
* because their offsets within wmi_pdev_vendor_event_fixed_param
* would change, causing backwards incompatibilities.
*/
/*
* This fixed_param TLV may be followed by the below TLVs:
* - A_UINT32 opaque_vendor_var_len_data[]:
* Variable-length array of opaque data.
* The _fixed_param.sub_type value clarifies how to interpret the
* contents of this opaque data.
*/
} wmi_pdev_vendor_event_fixed_param;
typedef wmi_pdev_vendor_event_fixed_param wmi_vendor_pdev_event_fixed_param;
@@ -43572,6 +43571,13 @@ typedef struct wmi_vdev_vendor_event
* because their offsets within wmi_vdev_vendor_event_fixed_param
* would change, causing backwards incompatibilities.
*/
/*
* This fixed_param TLV may be followed by the below TLVs:
* - A_UINT32 opaque_vendor_var_len_data[]:
* Variable-length array of opaque data.
* The _fixed_param.sub_type value clarifies how to interpret the
* contents of this opaque data.
*/
} wmi_vdev_vendor_event_fixed_param;
typedef wmi_vdev_vendor_event_fixed_param wmi_vendor_vdev_event_fixed_param;
@@ -43594,6 +43600,13 @@ typedef struct wmi_peer_vendor_event
* because their offsets within wmi_peer_vendor_event_fixed_param
* would change, causing backwards incompatibilities.
*/
/*
* This fixed_param TLV may be followed by the below TLVs:
* - A_UINT32 opaque_vendor_var_len_data[]:
* Variable-length array of opaque data.
* The _fixed_param.sub_type value clarifies how to interpret the
* contents of this opaque data.
*/
} wmi_peer_vendor_event_fixed_param;
typedef wmi_peer_vendor_event_fixed_param wmi_vendor_peer_event_fixed_param;
@@ -43612,6 +43625,13 @@ typedef struct wmi_pdev_vendor_cmd
* because their offsets within wmi_pdev_vendor_cmd_fixed_param
* would change, causing backwards incompatibilities.
*/
/*
* This fixed_param TLV may be followed by the below TLVs:
* - A_UINT32 opaque_vendor_var_len_data[]:
* Variable-length array of opaque data.
* The _fixed_param.sub_type value clarifies how to interpret the
* contents of this opaque data.
*/
} wmi_pdev_vendor_cmd_fixed_param;
typedef wmi_pdev_vendor_cmd_fixed_param wmi_vendor_pdev_cmd_fixed_param;
@@ -43632,6 +43652,13 @@ typedef struct wmi_vdev_vendor_cmd
* because their offsets within wmi_vdev_vendor_cmd_fixed_param
* would change, causing backwards incompatibilities.
*/
/*
* This fixed_param TLV may be followed by the below TLVs:
* - A_UINT32 opaque_vendor_var_len_data[]:
* Variable-length array of opaque data.
* The _fixed_param.sub_type value clarifies how to interpret the
* contents of this opaque data.
*/
} wmi_vdev_vendor_cmd_fixed_param;
typedef wmi_vdev_vendor_cmd_fixed_param wmi_vendor_vdev_cmd_fixed_param;
@@ -43654,6 +43681,13 @@ typedef struct wmi_peer_vendor_cmd
* because their offsets within wmi_peer_vendor_cmd_fixed_param
* would change, causing backwards incompatibilities.
*/
/*
* This fixed_param TLV may be followed by the below TLVs:
* - A_UINT32 opaque_vendor_var_len_data[]:
* Variable-length array of opaque data.
* The _fixed_param.sub_type value clarifies how to interpret the
* contents of this opaque data.
*/
} wmi_peer_vendor_cmd_fixed_param;
typedef wmi_peer_vendor_cmd_fixed_param wmi_vendor_peer_cmd_fixed_param;