Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8858495 authored by spuligil's avatar spuligil
Browse files

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
parent a17bd7d5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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))