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

qcacld-2.0 to qcacld-3.0 propagation.

Add new TLV tx_time_per_tpc_extended which is array of A_UINT32
to support tpc_levels more than MAX_TPC_LEVELS in
wmi_radio_link_stats_event_fixed_param Migrating Timekeeper debug
log identifiers into the NaN module.

This change set also includes dbglog id change from CL 1440161.

Change-Id: I127bb10c989c0d7ee8a0f9cc9c57e2c824017165
CRs-Fixed: 865207
This commit is contained in:
Anurag Chouhan
2016-04-18 17:17:49 +05:30
committed by Gerrit - the friendly Code Review server
parent 08f66c6ad3
commit 0e13ab0b1f
4 changed files with 90 additions and 4 deletions

View File

@@ -4424,8 +4424,42 @@ typedef struct {
A_UINT32 on_time_hs20;
/** number of channels */
A_UINT32 num_channels;
/** tx time (in milliseconds) per TPC level (0.5 dBm) */
/*
* tx time (in milliseconds) per TPC level
* TPC levels require a board-specific translation to determine what
* actual power corresponds to each power level.
* Just as the host has a BDF file available, the host should also have
* a data file available that provides the
* power level --> power
* translations.
*/
A_UINT32 tx_time_per_tpc[MAX_TPC_LEVELS];
/*
* number of tx power levels, including both tx_time_per_tpc and
* ext_tx_time_per_power_level
* Each power level consumes one A_UINT32.
* If num_tx_power_levels <= MAX_TPC_LEVELs, only tx_time_per_tpc is
* used.
* If num_tx_power_levels > MAX_TPC_LEVELS, the first MAX_TPC_LEVELS
* values
* are stored in tx_time_per_tpc, and the remaining
* (num_tx_power_levels - MAX_TPC_LEVELS) values are stored in
* ext_tx_time_per_power_level.
*/
A_UINT32 num_tx_power_levels;
/*
* This TLV will be followed by a TLV containing a variable-length
* array of A_UINT32 with any additional tx time per power level data,
* if there are more than MAX_TPC_LEVELS elements of tx time per TPC to
* report. Note that at most one wmi_radio_link_stats object will be
* present in the WMI_RADIO_LINK_STATS message. Thus, even though there
* is only one ext_tx_time_per_power_level array in the
* WMI_RADIO_LINK_STATS message, it only holds the extra data for a
* single wmi_radio_link_stats object.
*
* A_UINT32
* ext_tx_time_per_power_level[num_tx_power_levels - MAX_TPC_LEVELS]
*/
} wmi_radio_link_stats;
/** Radio statistics (once started) do not stop or get reset unless wifi_clear_link_stats is invoked */