diff options
| author | spuligil <spuligil@codeaurora.org> | 2018-08-06 10:16:25 -0700 |
|---|---|---|
| committer | spuligil <spuligil@codeaurora.org> | 2018-08-06 10:16:25 -0700 |
| commit | e8858495f65cc5a65399319320238451e6442fdf (patch) | |
| tree | 3539e8c08ab82d15a1518789cc0e0a786c4ede2f | |
| parent | a17bd7d57ff739ffc1309fce18684b86763505c6 (diff) | |
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
| -rw-r--r-- | fw/htt_stats.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/htt_stats.h b/fw/htt_stats.h index 447d0f0b36ef..1da4a55e849b 100644 --- a/fw/htt_stats.h +++ b/fw/htt_stats.h @@ -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)) |
