qcacld-3.0: CL 1660720 - update fw common interface files

Add wmi_pdev_band_to_mac TLVs to wmi_pdev_set_hw_mode and
support > 32 vdevs in swba_event.

Change-Id: I29e6513fae5a2aa6318ee8d65f77c289228efb6e
CRs-Fixed: 865207
这个提交包含在:
Himanshu Agarwal
2016-10-13 16:26:03 +05:30
提交者 qcabuildsw
父节点 b5c194bcd5
当前提交 0998383790
修改 3 个文件,包含 75 行新增5 行删除

查看文件

@@ -1176,7 +1176,10 @@ typedef enum {
WMI_MGMT_TX_COMPLETION_EVENTID,
/** Event for Mgmt TX bundle completion event */
WMI_MGMT_TX_BUNDLE_COMPLETION_EVENTID,
/** vdev_map used in WMI_TBTTOFFSET_UPDATE_EVENTID supports max 32 vdevs
* Use this event if number of vdevs > 32.
*/
WMI_TBTTOFFSET_EXT_UPDATE_EVENTID,
/*ADDBA Related WMI Events */
/** Indication the completion of the prior
@@ -7187,13 +7190,17 @@ typedef struct {
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_tim_info */
/** TIM bitmap len (in bytes)*/
/** TIM bitmap len (in bytes) */
A_UINT32 tim_len;
/** TIM Partial Virtual Bitmap */
A_UINT32 tim_mcast;
A_UINT32 tim_bitmap[WMI_TIM_BITMAP_ARRAY_SIZE];
A_UINT32 tim_changed;
A_UINT32 tim_num_ps_pending;
/** Use the vdev_id only if vdev_id_valid is set */
A_UINT32 vdev_id_valid;
/** unique id identifying the VDEV */
A_UINT32 vdev_id;
} wmi_tim_info;
typedef struct {
@@ -7224,6 +7231,10 @@ typedef struct {
A_UINT32 noa_attributes;
wmi_p2p_noa_descriptor
noa_descriptors[WMI_P2P_MAX_NOA_DESCRIPTORS];
/** Use the vdev_id only if vdev_id_valid is set */
A_UINT32 vdev_id_valid;
/** unique id identifying the VDEV */
A_UINT32 vdev_id;
} wmi_p2p_noa_info;
#define WMI_UNIFIED_NOA_ATTR_MODIFIED 0x1
@@ -7288,7 +7299,12 @@ typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_host_swba_event_fixed_param */
/** bitmap identifying the VDEVs, generated by the caller */
A_UINT32 vdev_map;
/* This TLV is followed by tim_info and p2p_noa_info for each vdev in vdevmap :
/** how many vdev's info is included in this message
* If this field is zero, then the number of vdevs is specified by
* the number of bits set in the vdev_map bitmap.
*/
A_UINT32 num_vdevs;
/* This TLV is followed by tim_info and p2p_noa_info for each vdev:
* wmi_tim_info tim_info[];
* wmi_p2p_noa_info p2p_noa_info[];
*
@@ -7307,6 +7323,29 @@ typedef struct {
*/
} wmi_tbtt_offset_event_fixed_param;
typedef struct {
/* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_tbtt_offset_info */
A_UINT32 tlv_header;
/** unique id identifying the VDEV */
A_UINT32 vdev_id;
/** tbttoffset in TUs */
A_UINT32 tbttoffset;
} wmi_tbtt_offset_info;
/** Use this event if number of vdevs > 32 */
typedef struct {
/*
* TLV tag and len;
* tag equals WMITLV_TAG_STRUC_wmi_tbtt_offset_ext_event_fixed_param
*/
A_UINT32 tlv_header;
A_UINT32 num_vdevs;
/*
* The TLVs for tbttoffset will follow this TLV.
* Of size num_vdevs * wmi_tbtt_offset_info
*/
} wmi_tbtt_offset_ext_event_fixed_param;
/* Peer Specific commands and events */
typedef struct {
@@ -15317,6 +15356,19 @@ typedef struct {
A_UINT32 hw_mode_index;
} wmi_soc_set_hw_mode_cmd_fixed_param;
typedef struct {
/* TLV tag and len tag equals WMITLV_TAG_STRUC_wmi_pdev_band_to_mac */
A_UINT32 tlv_header;
/** pdev_id for identifying the MAC
* See macros starting with WMI_PDEV_ID_ for values.
*/
A_UINT32 pdev_id;
/* start frequency in MHz */
A_UINT32 start_freq;
/* end frequency in MHz */
A_UINT32 end_freq;
} wmi_pdev_band_to_mac;
typedef struct {
/* TLV tag and len; tag equals
* WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_cmd_fixed_param
@@ -15331,6 +15383,13 @@ typedef struct {
/* Hardware Mode Index */
A_UINT32 hw_mode_index;
/* Number of band to mac TLVs */
A_UINT32 num_band_to_mac;
/* Followed by TLVs of type
* num_band_to_mac * wmi_pdev_band_to_mac.
*/
} wmi_pdev_set_hw_mode_cmd_fixed_param;
/* DEPRECATED - use wmi_pdev_set_mac_config_cmd_fixed_param instead */