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

Change-Id: Idd1f7d0e3b3e49746f86185b91de8b8d82569ff0
WMI: decrease num chains reported in one PDEV_AOA_PHASEDELTA_EVENT msg
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2021-07-15 18:01:08 -07:00 • committed by Gerrit - the friendly Code Review server
commit cedcc6523b
2 changed files with 15 additions and 3 deletions

View file

@ -83,6 +83,7 @@ extern "C" {
#define MAX_TX_RATE_VALUES 10 /*Max Tx Rates*/
#define MAX_RSSI_VALUES 10 /*Max Rssi values*/
#define WMI_MAX_CHAINS 8
#define WMI_MAX_CHAINS_FOR_AOA_RCC 2
#define MAX_AOA_PHASEDELTA 31 /* 62 gain values */
@ -31863,6 +31864,17 @@ typedef struct {
A_UINT32 pdev_id; /* PDEV Id set by the command */
A_UINT32 freq; /* Current channel in MHz */
/*
* Chain Info
* LSB 16 bits - Max chain supported,
* MSB 16 bits - Chain pair which has phase values:
* 0x0003 - chain 0 and 1
* 0x000c - chain 2 and 3
* 0x0030 - chain 4 and 5
* 0x00c0 - chain 6 and 7
*/
A_UINT32 chainInfo;
/*
* Phase Delta values:
* Two phase delta values are packed into each A_UINT32 word
@ -31873,14 +31885,14 @@ typedef struct {
* gain 1's phase delta occupies bits 31:16 of phasedelta[chain][0],
* gain 2's phase delta occupies bits 15:0 of phasedelta[chain][1], etc.
*/
A_UINT32 phasedelta[WMI_MAX_CHAINS][MAX_AOA_PHASEDELTA];
A_UINT32 phasedelta[WMI_MAX_CHAINS_FOR_AOA_RCC][MAX_AOA_PHASEDELTA];
/*
* IBF cal values:
* Used for final AoA calculation
* [AoAPhase = ( PhaseDeltaValue + IBFcalValue ) % 1024]
*/
A_UINT32 perChainIbfCalVal[WMI_MAX_CHAINS];
A_UINT32 perChainIbfCalVal[WMI_MAX_CHAINS_FOR_AOA_RCC];
} wmi_pdev_aoa_phasedelta_evt_fixed_param;
/* WMI_HALPHY_CAL_LIST:

View file

@ -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_ 1029
#define __WMI_REVISION_ 1030
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work