mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
fw-api: CL 27875409 - update fw common interface files
Change-Id: I2a34f85b9b44b281a8a3c678108f077ca4056433 CRs-Fixed: 3830439
This commit is contained in:
parent
66677cbbbe
commit
34172f2d2a
3 changed files with 29 additions and 2 deletions
|
|
@ -1458,6 +1458,7 @@ typedef enum {
|
|||
WMITLV_TAG_STRUC_wmi_scan_cache_result_event_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_scan_cache_info,
|
||||
WMITLV_TAG_STRUC_wmi_POWER_BOOST_CAPABILITIES,
|
||||
WMITLV_TAG_STRUC_wmi_RSSI_ACCURACY_IMPROVEMENT_CAPABILITIES,
|
||||
} WMITLV_TAG_ID;
|
||||
/*
|
||||
* IMPORTANT: Please add _ALL_ WMI Commands Here.
|
||||
|
|
@ -5755,7 +5756,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT_EVENTID);
|
|||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_enhanced_aoa_caps_param, aoa_caps_param, WMITLV_SIZE_VAR) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_enhanced_aoa_per_band_caps_param, aoa_per_band_caps_param, WMITLV_SIZE_VAR) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_sar_flag_tlv_param, sar_flags, WMITLV_SIZE_VAR) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_POWER_BOOST_CAPABILITIES, power_boost_capabilities, WMITLV_SIZE_VAR)
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_POWER_BOOST_CAPABILITIES, power_boost_capabilities, WMITLV_SIZE_VAR) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_RSSI_ACCURACY_IMPROVEMENT_CAPABILITIES, rssi_accuracy_improvement_capabilities, WMITLV_SIZE_VAR)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT2_EVENTID);
|
||||
|
||||
#define WMITLV_TABLE_WMI_SPECTRAL_CAPABILITIES_EVENTID(id,op,buf,len) \
|
||||
|
|
|
|||
|
|
@ -3845,6 +3845,8 @@ typedef struct {
|
|||
* A_INT32 hw_tx_power_signed[WMI_HW_TX_POWER_CAPS_MAX];
|
||||
* wmi_aux_dev_capabilities aux_dev_caps[];
|
||||
* WMI_POWER_BOOST_CAPABILITIES power_boost_capabilities[];
|
||||
* WMI_RSSI_ACCURACY_IMPROVEMENT_CAPABILITIES
|
||||
* rssi_accuracy_improvement_capabilities[];
|
||||
*/
|
||||
} wmi_service_ready_ext2_event_fixed_param;
|
||||
|
||||
|
|
@ -49477,6 +49479,29 @@ typedef struct {
|
|||
};
|
||||
} WMI_POWER_BOOST_CAPABILITIES;
|
||||
|
||||
#define WMI_RSSI_ACCURACY_IMPROVEMENT_CAPABILITIES_PHY_ID_GET(word32) WMI_GET_BITS(word32, 0, 4)
|
||||
#define WMI_RSSI_ACCURACY_IMPROVEMENT_CAPABILITIES_PHY_ID_SET(word32, value) WMI_SET_BITS(word32, 0, 4, value)
|
||||
#define WMI_RSSI_ACCURACY_IMPROVEMENT_CAPABILITIES_RSSI_ACCURACY_ENABLE_GET(word32) WMI_GET_BITS(word32, 4, 1)
|
||||
#define WMI_RSSI_ACCURACY_IMPROVEMENT_CAPABILITIES_RSSI_ACCURACY_ENABLE_SET(word32, value) WMI_SET_BITS(word32, 4, 1, value)
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_RSSI_ACCURACY_CAPABILITIES */
|
||||
union {
|
||||
struct {
|
||||
/*
|
||||
* bits 3:0 -> PHY ID
|
||||
* bit 4 -> rssi accuracy enhancement using MultiGainRSSI
|
||||
* offset correction enable flag
|
||||
* bits 31:5 -> reserved
|
||||
*/
|
||||
A_UINT32
|
||||
phy_id: 4,
|
||||
rssi_accuracy_enable: 1,
|
||||
reserved: 27;
|
||||
};
|
||||
};
|
||||
} WMI_RSSI_ACCURACY_IMPROVEMENT_CAPABILITIES;
|
||||
|
||||
|
||||
|
||||
/* ADD NEW DEFS HERE */
|
||||
|
|
|
|||
|
|
@ -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_ 1537
|
||||
#define __WMI_REVISION_ 1538
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue