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

HTT stats: correct the placement of num_bins field
Move num_bins field from after variable-length array to before.This introduces a backwards-incompatibility in the two affected TLVs, but this backwards-incompatibility is an acceptable cost for fixing the TLV printout.Also, add/remove \n from HTT stats printouts, to end up with just one \n per TLV printout

Change-Id: I5d57ea1d7f60d69b354df517ff4a771bee79e321
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2018-08-06 10:16:25 -07:00
commit cb25e2f14a

View file

@ -613,8 +613,8 @@ typedef struct {
*/
typedef struct {
htt_tlv_hdr_t tlv_hdr;
A_UINT32 tried_mpdu_cnt_hist[1]; /* HTT_TX_PDEV_TRIED_MPDU_CNT_HIST */
A_UINT32 hist_bin_size;
A_UINT32 tried_mpdu_cnt_hist[1]; /* HTT_TX_PDEV_TRIED_MPDU_CNT_HIST */
} htt_tx_pdev_stats_tried_mpdu_cnt_hist_tlv_v;
/* STATS_TYPE: HTT_DBG_EXT_STATS_PDEV_TX
@ -1384,9 +1384,9 @@ typedef struct {
* */
typedef struct {
htt_tlv_hdr_t tlv_hdr;
A_UINT32 hist_bin_size;
/* Histogram of number of mpdus on tried mpdu */
A_UINT32 tried_mpdu_cnt_hist[1]; /* HTT_TX_HWQ_TRIED_MPDU_CNT_HIST */
A_UINT32 hist_bin_size;
} htt_tx_hwq_tried_mpdu_cnt_hist_tlv_v;
#define HTT_TX_HWQ_TXOP_USED_CNT_HIST_TLV_SZ(_num_elems) (sizeof(A_UINT32) * (_num_elems))